Package net.anwiba.commons.http
Class HttpRequestExecutor
- java.lang.Object
-
- net.anwiba.commons.http.HttpRequestExecutor
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,IHttpRequestExecutor
public class HttpRequestExecutor extends java.lang.Object implements IHttpRequestExecutor
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()IResponseexecute(ICanceler canceler, IRequest request)
-
-
-
Method Detail
-
execute
public IResponse execute(ICanceler canceler, IRequest request) throws CanceledException, java.io.IOException
- Specified by:
executein interfaceIHttpRequestExecutor- Throws:
CanceledExceptionjava.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfaceIHttpRequestExecutor- Throws:
java.io.IOException
-
-