public class ConvertingHttpRequestExecutor extends Object implements IConvertingHttpRequestExecutor
| Constructor and Description |
|---|
ConvertingHttpRequestExecutor(IHttpRequestExecutor httpRequestExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<T> T |
execute(ICanceler cancelable,
IRequest request,
IApplicableResultProducer<T> resultProducer,
IApplicableHttpResponseExceptionFactory... exceptionFactories) |
<T> T |
execute(ICanceler cancelable,
IRequest request,
IApplicableResultProducer<T> resultProducer,
IResultProducer<IOException> errorProducer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic ConvertingHttpRequestExecutor(IHttpRequestExecutor httpRequestExecutor)
public <T> T execute(ICanceler cancelable, IRequest request, IApplicableResultProducer<T> resultProducer, IApplicableHttpResponseExceptionFactory... exceptionFactories) throws InterruptedException, HttpServerException, HttpRequestException, IOException
execute in interface IConvertingHttpRequestExecutorInterruptedExceptionHttpServerExceptionHttpRequestExceptionIOExceptionpublic <T> T execute(ICanceler cancelable, IRequest request, IApplicableResultProducer<T> resultProducer, IResultProducer<IOException> errorProducer) throws InterruptedException, HttpServerException, HttpRequestException, IOException
execute in interface IConvertingHttpRequestExecutorInterruptedExceptionHttpServerExceptionHttpRequestExceptionIOExceptionpublic void close()
throws IOException
close in interface AutoCloseableclose in interface IConvertingHttpRequestExecutorIOExceptionCopyright © 2007–2018 Andreas W. Bartels. All rights reserved.