public abstract class HttpClientPOJOAdapter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Auth |
auth |
static java.lang.String |
BODY |
static java.lang.String |
CONTENT_TYPE |
static java.lang.String |
HEADERS |
static java.lang.String |
METHOD |
static java.lang.String |
NAME |
static java.lang.String |
OAUTH2_SERVICE_NAME |
static java.lang.String |
PASSWORD |
static java.lang.String |
PATH |
static java.lang.String |
PROTOCOL_VERSION |
protected java.lang.String |
proxyServerURL |
static java.lang.String |
QUERY |
static java.lang.String |
REQUEST |
static java.lang.String |
RESPONSE |
static java.lang.String |
STATUS |
static java.lang.String |
TIMEOUT |
static java.lang.String |
USERID |
Constructor and Description |
---|
HttpClientPOJOAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
assertRequestSupported(java.util.Map<java.lang.String,java.lang.Object> request) |
java.lang.String |
checkRequestSupport(java.util.Map<java.lang.String,java.lang.Object> request) |
abstract java.util.Map<java.lang.String,java.lang.Object> |
execute(java.lang.String defaultURI,
java.util.Map<java.lang.String,java.lang.Object> request) |
Auth |
getAuth() |
abstract java.lang.String |
getClientName()
Name of the HTTP Client that this adapter uses.
|
java.util.Map<java.lang.String,java.lang.Object> |
modifyRequest(java.util.Map<java.lang.String,java.lang.Object> request) |
void |
setAuth(Auth auth) |
void |
setProxyServerURL(java.lang.String proxyServerURL) |
public static final java.lang.String BODY
public static final java.lang.String CONTENT_TYPE
public static final java.lang.String HEADERS
public static final java.lang.String METHOD
public static final java.lang.String NAME
public static final java.lang.String OAUTH2_SERVICE_NAME
public static final java.lang.String PASSWORD
public static final java.lang.String PATH
public static final java.lang.String PROTOCOL_VERSION
public static final java.lang.String QUERY
public static final java.lang.String REQUEST
public static final java.lang.String RESPONSE
public static final java.lang.String STATUS
public static final java.lang.String TIMEOUT
public static final java.lang.String USERID
protected Auth auth
protected java.lang.String proxyServerURL
public Auth getAuth()
public void setAuth(Auth auth)
auth
- the auth to setpublic abstract java.util.Map<java.lang.String,java.lang.Object> execute(java.lang.String defaultURI, java.util.Map<java.lang.String,java.lang.Object> request) throws java.lang.Exception
java.lang.Exception
public void setProxyServerURL(java.lang.String proxyServerURL)
public java.util.Map<java.lang.String,java.lang.Object> modifyRequest(java.util.Map<java.lang.String,java.lang.Object> request)
public java.lang.String checkRequestSupport(java.util.Map<java.lang.String,java.lang.Object> request)
public void assertRequestSupported(java.util.Map<java.lang.String,java.lang.Object> request) throws java.lang.Exception
java.lang.Exception
public abstract java.lang.String getClientName()
Copyright © SAS Institute. All Rights Reserved.