Class RedmineApiKeyAuthenticator<K>
- java.lang.Object
-
- com.taskadapter.redmineapi.internal.comm.redmine.RedmineApiKeyAuthenticator<K>
-
- All Implemented Interfaces:
Communicator<K>
public class RedmineApiKeyAuthenticator<K> extends java.lang.Object implements Communicator<K>
-
-
Constructor Summary
Constructors Constructor Description RedmineApiKeyAuthenticator(Communicator<K> peer, java.lang.String apiKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
sendRequest(org.apache.http.HttpRequest request, ContentHandler<K,R> handler)
Performs a request.
-
-
-
Constructor Detail
-
RedmineApiKeyAuthenticator
public RedmineApiKeyAuthenticator(Communicator<K> peer, java.lang.String apiKey)
-
-
Method Detail
-
sendRequest
public <R> R sendRequest(org.apache.http.HttpRequest request, ContentHandler<K,R> handler) throws RedmineException
Description copied from interface:Communicator
Performs a request.- Specified by:
sendRequest
in interfaceCommunicator<K>
- Returns:
- the response body.
- Throws:
RedmineException
-
-