Package net.anwiba.commons.http
Interface IHttpRequestExecutor
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable
- All Known Implementing Classes:
CachingHttpRequestExecutor,HttpRequestExecutor
public interface IHttpRequestExecutor extends java.io.Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()IResponseexecute(ICanceler cancelable, IRequest request)
-
-
-
Method Detail
-
execute
IResponse execute(ICanceler cancelable, IRequest request) throws CanceledException, java.io.IOException
- Throws:
CanceledExceptionjava.io.IOException
-
close
void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-