Package org.fishwife.jrugged.httpclient

Interface Summary
ResponseFailureAssessor A ResponseFailureAssessor is used by the FailureExposingHttpClient to determine whether a given response should be considered a "failure" or not.
 

Class Summary
AbstractHttpClientDecorator General decorator class for an HttpClient; implementors for decorators need only implement a single abstract method.
DefaultResponseFailureAssessor A ResponseFailureAssessor that treats all 4XX and 5XX status codes as failures.
FailureExposingHttpClient This is a decorator for an HttpClient that will raise runtime exceptions for 4XX or 5XX responses, so that they can be used to signal failures to JRugged ServiceWrapper instances.
FailureHandlingHttpClient  
PerHostServiceWrappedHttpClient  
ServiceWrappedHttpClient Facade class for assembling an HttpClient that will feed request executions through a ServiceWrapper, while exposing 4XX and 5XX responses as exceptions so that the ServiceWrapper can experience them as failures, but unwrapping those exceptions before getting up to the original caller.
ServiceWrappedHttpClientDecorator Decorator that runs HttpClient request executions through a ServiceWrapper.
 

Exception Summary
UnsuccessfulResponseException Used to wrap 4XX or 5XX responses from an HTTP server in exceptions so that ServiceWrapper instances can experience them as failures.
 



Copyright © 2013. All Rights Reserved.