@Service(value=ServiceRest.class) public class ServiceRestComponent extends PoolableResourceClient implements ServiceRest
CONFIG_CLIENT_AUTH_KEY, CONFIG_CONN_ROUTE_KEY, CONFIG_CONN_TIMEOUT, CONFIG_CONN_TOTAL_KEY, CONFIG_CONN_TTL_KEY, CONFIG_KEYSTORE_KEY, CONFIG_KEYSTORE_PASS_KEY, CONFIG_PORT_KEY, CONFIG_SELFSIGNED, CONFIG_SO_TIMEOUT, CONFIG_SSL_KEY, CONFIG_TRUSTSTORE_KEY, CONFIG_TRUSTSTORE_PASS_KEY, isSSL, log, port, ss
LOGIN_TOKEN
SERVICE_HEADER_STRING
Constructor and Description |
---|
ServiceRestComponent() |
Modifier and Type | Method and Description |
---|---|
protected void |
annotate(org.apache.http.client.methods.HttpRequestBase request,
LoginContext login)
Annotate the given request with the token of the supplied login
context.
|
URI |
uri(IpAddress target,
String path,
QueryParameter... parameters)
Creates a URI for accessing the specified resource path at the given
system.
|
activate, bindSharedSecret, client, deactivate, login, modified, unbindSharedSecret
delete, delete, delete, get, getInputStream, post, post, post, post, post, put, put, put, request, response, response, uri, uri, webContext
protected void annotate(org.apache.http.client.methods.HttpRequestBase request, LoginContext login)
ResourceClient
annotate
in class ResourceClient
request
- HTTP requestlogin
- optional login contextpublic URI uri(IpAddress target, String path, QueryParameter... parameters)
AdminRest
Copyright © 2015. All Rights Reserved.