Class ThrowingResponseHandler
- java.lang.Object
-
- net.lenni0451.commons.httpclient.handler.ThrowingResponseHandler
-
- All Implemented Interfaces:
HttpResponseHandler<HttpResponse>
public class ThrowingResponseHandler extends java.lang.Object implements HttpResponseHandler<HttpResponse>
-
-
Constructor Summary
Constructors Constructor Description ThrowingResponseHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpResponsehandle(HttpResponse response)Handle the response and return the result.
-
-
-
Method Detail
-
handle
public HttpResponse handle(@Nonnull HttpResponse response) throws java.io.IOException
Description copied from interface:HttpResponseHandlerHandle the response and return the result.- Specified by:
handlein interfaceHttpResponseHandler<HttpResponse>- Parameters:
response- The response to handle- Returns:
- The result
- Throws:
java.io.IOException- If an I/O error occurs
-
-