Package org.openstack4j.core.transport
Interface PropagateResponse
-
- All Known Implementing Classes:
PropagateOnStatus
public interface PropagateResponseAllows for propagation depending on the state of a response. If applied to an HttpExecution the execution will call thepropagate(HttpResponse)method. The method will either throw a ClientResponseException variant or do nothing letting the execution code handle like normal- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpropagate(HttpResponse response)Called to allow for optional exception propagation depending on the HttpResponse state
-
-
-
Method Detail
-
propagate
void propagate(HttpResponse response)
Called to allow for optional exception propagation depending on the HttpResponse state- Parameters:
response- the http response- Throws:
ClientResponseException- variant if execution deemed a failure
-
-