Class RequestExecutor
- java.lang.Object
-
- net.lenni0451.commons.httpclient.executor.RequestExecutor
-
- Direct Known Subclasses:
URLConnectionExecutor
public abstract class RequestExecutor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected HttpClientclient
-
Constructor Summary
Constructors Constructor Description RequestExecutor(HttpClient client)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract HttpResponseexecute(HttpRequest request)
-
-
-
Field Detail
-
client
@Nonnull protected final HttpClient client
-
-
Constructor Detail
-
RequestExecutor
public RequestExecutor(@Nonnull HttpClient client)
-
-
Method Detail
-
execute
@Nonnull public abstract HttpResponse execute(@Nonnull HttpRequest request) throws java.io.IOException, java.lang.InterruptedException
- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
-