Interface Headers
public interface Headers
A place to store the non-standard HTTP header (and related) constants.
Created by patricktwohig on 6/26/17.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe Access-Control-Allow-Methods header name.static final StringThe value for the Access-Control-Allow-Methods header.static final StringThe Access-Control-Allow-Credentials header name.static final StringThe value for the Access-Control-Allow-Credentials header.static final StringThe Access-Control-Allow-Headers header name.static final StringThe value for the Access-Control-Allow-Headers header.static final StringThe Access-Control-Allow-Origin header name.Indicates all CORS headers that Elements will manage automatically.static final StringPreferred auth method, bearer.static final StringSpecifies the user's Facebook OAuth token used to interact with the Facebook API.static final StringSpecifies the Session ID used by Elements required to send any request.static final StringThe Origin HTTP header name.static final StringSpecifies the profile ID to use when authing the request.static final StringUsed to trigger a Long-Polling type of requests.static final StringAn API-wide specification for the header specified byREQUEST_LONG_POLL_TIMEOUT.static final StringSpecifies the Session ID used by social engine.static final StringDeprecated.static final StringThe User-Agent HTTP header name.static final StringConstant for the WWW-Authenticate header.
-
Field Details
-
REQUEST_LONG_POLL_TIMEOUT
Used to trigger a Long-Polling type of requests. This requests that the server wait on a response until certain conditions trigger a response. The server will make its best effort attempt to wait until either the response is ready or the timeout hits. However, the serer may elect to terminate the request sooner than specified. A value of 0 indicates that the server should determine timeout, but hold the requests for as long as reasonably possible.- See Also:
-
REQUEST_LONG_POLL_TIMEOUT_DESCRIPTION
An API-wide specification for the header specified byREQUEST_LONG_POLL_TIMEOUT.- See Also:
-
PROFILE_ID
Specifies the profile ID to use when authing the request.- See Also:
-
GLOBAL_SECRET
Specifies the Session ID used by Elements required to send any request.- See Also:
-
SESSION_SECRET
Specifies the Session ID used by social engine. The Session ID corresponds toSessionCreationand is used for authentication.- See Also:
-
SOCIALENGINE_SESSION_SECRET
Deprecated.useSESSION_SECRETHeader constant for deprecated header name. This will still work transparently, but will not match the documentation. Used for backwards compatibility only.- See Also:
-
FACEBOOK_OAUTH_TOKEN
Specifies the user's Facebook OAuth token used to interact with the Facebook API.- See Also:
-
BEARER
Preferred auth method, bearer.- See Also:
-
USER_AGENT
The User-Agent HTTP header name.- See Also:
-
ORIGIN
The Origin HTTP header name.- See Also:
-
AC_ALLOW_ORIGIN
The Access-Control-Allow-Origin header name.- See Also:
-
AC_ALLOW_HEADERS
The Access-Control-Allow-Headers header name.- See Also:
-
AC_ALLOW_HEADERS_VALUE
The value for the Access-Control-Allow-Headers header.- See Also:
-
AC_ALLOW_CREDENTIALS
The Access-Control-Allow-Credentials header name.- See Also:
-
AC_ALLOW_CREDENTIALS_VALUE
The value for the Access-Control-Allow-Credentials header.- See Also:
-
AC_ALLOW_ALLOW_METHODS
The Access-Control-Allow-Methods header name.- See Also:
-
AC_ALLOW_ALLOW_METHODS_VALUE
The value for the Access-Control-Allow-Methods header.- See Also:
-
ALL_CORS_ALLOW_HEADERS
Indicates all CORS headers that Elements will manage automatically. -
WWW_AUTHENTICATE
Constant for the WWW-Authenticate header.- See Also:
-
SESSION_SECRET