- All Implemented Interfaces:
- HttpResponseMapper
public class HttpResponseMapperImpl
extends Object
implements HttpResponseMapper
Determines the status of nodes based on their HTTP response codes.
The algorithm is as follows.
If any HTTP responses were 2XX, then disconnect non-2XX responses. This is because 2XX may have changed a node's flow.
If no 2XX responses were received, then the node's flow has not changed. Instead of disconnecting everything, we only disconnect the nodes with internal errors, i.e., 5XX responses.