Package org.gluu.oxauth.client
Class ClientInfoClient
- java.lang.Object
-
- org.gluu.oxauth.client.BaseClient<ClientInfoRequest,ClientInfoResponse>
-
- org.gluu.oxauth.client.ClientInfoClient
-
public class ClientInfoClient extends BaseClient<ClientInfoRequest,ClientInfoResponse>
Encapsulates functionality to make client info request calls to an authorization server via REST Services.- Version:
- December 26, 2016
- Author:
- Javier Rojas Blum
-
-
Field Summary
-
Fields inherited from class org.gluu.oxauth.client.BaseClient
clientRequest, clientResponse, executor, request, response
-
-
Constructor Summary
Constructors Constructor Description ClientInfoClient(java.lang.String url)Constructs an Client Info client by providing a REST url where the service is located.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ClientInfoResponseexec()ClientInfoResponseexec(org.jboss.resteasy.client.ClientExecutor p_executor)Deprecated.ClientInfoResponseexecClientInfo(java.lang.String accessToken)Executes the call to the REST Service and processes the response.java.lang.StringgetHttpMethod()-
Methods inherited from class org.gluu.oxauth.client.BaseClient
addReqParam, addReqParam, closeConnection, getCookies, getExecutor, getHeaders, getRequest, getRequestAsString, getResponse, getResponseAsString, getUrl, initClientRequest, putAllFormParameters, setExecutor, setRequest, setResponse, setUrl
-
-
-
-
Method Detail
-
getHttpMethod
public java.lang.String getHttpMethod()
- Specified by:
getHttpMethodin classBaseClient<ClientInfoRequest,ClientInfoResponse>
-
execClientInfo
public ClientInfoResponse execClientInfo(java.lang.String accessToken)
Executes the call to the REST Service and processes the response.- Parameters:
accessToken- The access token obtained from the oxAuth authorization request.- Returns:
- The service response.
-
exec
public ClientInfoResponse exec()
-
exec
@Deprecated public ClientInfoResponse exec(org.jboss.resteasy.client.ClientExecutor p_executor)
Deprecated.
-
-