Module net.anwiba.commons.http
Package net.anwiba.commons.http
Interface IConvertingHttpRequestExecutor
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
ConvertingHttpRequestExecutor
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()<T> Texecute(ICanceler cancelable, IRequest request, IApplicableResultProducer<T> resultProducer, IApplicableHttpResponseExceptionFactory... exceptionFactories) <T> Texecute(ICanceler cancelable, IRequest request, IApplicableResultProducer<T> resultProducer, IResultProducer<IOException> errorProducer) default <T> Texecute(ICanceler cancelable, IRequest request, IResultProducer<T> resultProducer, IResultProducer<IOException> errorProducer)
-
Method Details
-
execute
<T> T execute(ICanceler cancelable, IRequest request, IApplicableResultProducer<T> resultProducer, IApplicableHttpResponseExceptionFactory... exceptionFactories) throws CanceledException, HttpRequestException, HttpResponseException, IOException -
execute
<T> T execute(ICanceler cancelable, IRequest request, IApplicableResultProducer<T> resultProducer, IResultProducer<IOException> errorProducer) throws CanceledException, HttpRequestException, HttpResponseException, IOException -
execute
default <T> T execute(ICanceler cancelable, IRequest request, IResultProducer<T> resultProducer, IResultProducer<IOException> errorProducer) throws CanceledException, HttpRequestException, HttpResponseException, IOException -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-