public class PropagateOnStatus extends Object implements PropagateResponse
Modifier and Type | Method and Description |
---|---|
static PropagateOnStatus |
on(int statusCode) |
void |
propagate(HttpResponse response)
Called to allow for optional exception propagation depending on the HttpResponse state
|
public static PropagateOnStatus on(int statusCode)
public void propagate(HttpResponse response)
PropagateResponse
propagate
in interface PropagateResponse
response
- the http responseCopyright © 2017. All rights reserved.