Package io.jans.as.client.par
Class ParClient
- java.lang.Object
-
- io.jans.as.client.BaseClient<ParRequest,ParResponse>
-
- io.jans.as.client.par.ParClient
-
public class ParClient extends BaseClient<ParRequest,ParResponse>
- Author:
- Yuriy Zabrovarnyy
-
-
Field Summary
-
Fields inherited from class io.jans.as.client.BaseClient
clientResponse, executor, request, requestForm, response, resteasyClient, webTarget
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParResponse
exec()
String
getHttpMethod()
-
Methods inherited from class io.jans.as.client.BaseClient
addReqParam, addReqParam, applyCookies, closeConnection, getCookies, getExecutor, getHeaders, getRequest, getRequestAsString, getResponse, getResponseAsString, getUrl, initClient, prepareAuthorizatedClientRequest, setExecutor, setRequest, setResponse, setUrl
-
-
-
-
Constructor Detail
-
ParClient
public ParClient(String url)
Constructs an par client by providing a REST url where the authorize service is located.- Parameters:
url
- The REST Service location.
-
-
Method Detail
-
getHttpMethod
public String getHttpMethod()
- Specified by:
getHttpMethod
in classBaseClient<ParRequest,ParResponse>
-
exec
public ParResponse exec()
-
-