public abstract static class Constants.RestConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ITEM_AUTH
"AUTH" is the "map item" (under section
SECTION_SAFS_REST ) defining a file holding the authorization/authentication information.The file can be relative to the project root directory; or it can be an absolute path. Examples: [SAFS_REST] #The file <projectRoot>\config\auth2.xml will be used as authorization/authentication information. AUTH=config\auth2.xml [SAFS_REST] #The file C:\Users\xxx\simpleAuth.xml will be used as authorization/authentication information. AUTH=C:\Users\xxx\simpleAuth.xml |
static java.lang.String |
ITEM_PROXY
"PROXY" is the "map item" (under section
SECTION_SAFS_REST ) defining a proxy server for Internet connection.Examples: [SAFS_REST] #proxy.host.name:port will be used as proxy server for Internet connection. PROXY=proxy.host.name:port |
static java.lang.String |
PROPERTY_AUTH
"safs.rest.auth" is the JVM property defining a file holding the authorization/authentication information.
The file can be relative to the project root directory; or it can be an absolute path. Examples: -Dsafs.rest.auth=config\auth2.xml The file <projectRoot>\config\auth2.xml will be used as authorization/authentication information. -Dsafs.rest.auth=C:\Users\xxx\simpleAuth.xml The file C:\Users\xxx\simpleAuth.xml will be used as authorization/authentication information. |
static java.lang.String |
PROPERTY_PROXY
"safs.rest.proxy" is the JVM property defining a proxy server for Internet connection.
Examples: -Dsafs.rest.proxy=proxy.host.name:port proxy.host.name:port will be used as proxy server for Internet connection. |
static java.lang.String |
SECTION_SAFS_REST
"SAFS_REST" is the section where the REST related information will be defined.
|
Constructor and Description |
---|
RestConstants() |
public static final java.lang.String SECTION_SAFS_REST
public static final java.lang.String ITEM_AUTH
SECTION_SAFS_REST
) defining a file holding the authorization/authentication information.public static final java.lang.String PROPERTY_AUTH
public static final java.lang.String ITEM_PROXY
SECTION_SAFS_REST
) defining a proxy server for Internet connection.public static final java.lang.String PROPERTY_PROXY
Copyright © SAS Institute. All Rights Reserved.