Package net.anwiba.commons.http
Class ExceptionProducer
- java.lang.Object
-
- net.anwiba.commons.http.ExceptionProducer
-
- All Implemented Interfaces:
IResultProducer<java.io.IOException>
public final class ExceptionProducer extends java.lang.Object implements IResultProducer<java.io.IOException>
-
-
Constructor Summary
Constructors Constructor Description ExceptionProducer(IApplicableHttpResponseExceptionFactory... exceptionFactories)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.IOExceptionexecute(ICanceler canceler, java.lang.String url, int statusCode, java.lang.String statusMessage, java.lang.String contentType, java.lang.String contentEncoding, java.io.InputStream inputStream)
-
-
-
Constructor Detail
-
ExceptionProducer
public ExceptionProducer(IApplicableHttpResponseExceptionFactory... exceptionFactories)
-
-
Method Detail
-
execute
public java.io.IOException execute(ICanceler canceler, java.lang.String url, int statusCode, java.lang.String statusMessage, java.lang.String contentType, java.lang.String contentEncoding, java.io.InputStream inputStream) throws java.io.IOException, CanceledException
- Specified by:
executein interfaceIResultProducer<java.io.IOException>- Throws:
java.io.IOExceptionCanceledException
-
-