Package io.jans.as.client
Class DeviceAuthzClient
- java.lang.Object
-
- io.jans.as.client.BaseClient<DeviceAuthzRequest,DeviceAuthzResponse>
-
- io.jans.as.client.DeviceAuthzClient
-
public class DeviceAuthzClient extends BaseClient<DeviceAuthzRequest,DeviceAuthzResponse>
Encapsulates functionality to make Device Authz request calls to an authorization server via REST Services.
-
-
Field Summary
-
Fields inherited from class io.jans.as.client.BaseClient
clientResponse, executor, request, requestForm, response, resteasyClient, webTarget
-
-
Constructor Summary
Constructors Constructor Description DeviceAuthzClient(String url)
Construct a device authz client by providing an URL where the REST service is located.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DeviceAuthzResponse
exec()
DeviceAuthzResponse
exec(org.jboss.resteasy.client.jaxrs.ClientHttpEngine engine)
Deprecated.Engine should be shared between clientsString
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
-
DeviceAuthzClient
public DeviceAuthzClient(String url)
Construct a device authz client by providing an URL where the REST service is located.- Parameters:
url
- The REST service location.
-
-
Method Detail
-
getHttpMethod
public String getHttpMethod()
- Specified by:
getHttpMethod
in classBaseClient<DeviceAuthzRequest,DeviceAuthzResponse>
-
exec
public DeviceAuthzResponse exec()
-
exec
@Deprecated public DeviceAuthzResponse exec(org.jboss.resteasy.client.jaxrs.ClientHttpEngine engine)
Deprecated.Engine should be shared between clients
-
-