public class BaseCommunicator extends java.lang.Object implements Communicator<org.apache.http.HttpResponse>
| Constructor and Description |
|---|
BaseCommunicator(RedmineOptions options) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
<R> R |
sendRequest(org.apache.http.HttpRequest request,
ContentHandler<org.apache.http.HttpResponse,R> handler)
Performs a request.
|
void |
shutdown()
Shutdowns a communicator.
|
public BaseCommunicator(RedmineOptions options)
public <R> R sendRequest(org.apache.http.HttpRequest request,
ContentHandler<org.apache.http.HttpResponse,R> handler)
throws RedmineException
CommunicatorsendRequest in interface Communicator<org.apache.http.HttpResponse>RedmineExceptionpublic void shutdown()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable