Class HttpMethod<R>
java.lang.Object
org.keycloak.authorization.client.util.HttpMethod<R>
- Author:
- Pedro Igor
-
Constructor Summary
ConstructorDescriptionHttpMethod
(Configuration configuration, ClientCredentialsProvider authenticator, org.apache.http.client.methods.RequestBuilder builder) HttpMethod
(Configuration configuration, ClientCredentialsProvider authenticator, org.apache.http.client.methods.RequestBuilder builder, Map<String, List<String>> params, Map<String, String> headers) -
Method Summary
Modifier and TypeMethodDescriptionauthorizationBearer
(String bearer) void
execute()
execute
(HttpResponseProcessor<R> responseProcessor) form()
json
(byte[] entity) protected void
preExecute
(org.apache.http.client.methods.RequestBuilder builder) response()
-
Constructor Details
-
HttpMethod
public HttpMethod(Configuration configuration, ClientCredentialsProvider authenticator, org.apache.http.client.methods.RequestBuilder builder) -
HttpMethod
public HttpMethod(Configuration configuration, ClientCredentialsProvider authenticator, org.apache.http.client.methods.RequestBuilder builder, Map<String, List<String>> params, Map<String, String> headers)
-
-
Method Details
-
execute
public void execute() -
execute
-
preExecute
protected void preExecute(org.apache.http.client.methods.RequestBuilder builder) -
authorizationBearer
-
response
-
authentication
-
param
-
params
-
json
-
form
-