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 String
static final String
static final String
static final String
static final String
static final String
static final String
Indicates all CORS headers that Elements will manage automatically.static final String
Preferred auth method, bearer.static final String
Specifies the user's Facebook OAuth token used to interact with the Facebook API.static final String
Specifies the Session ID used by Elements required to send any request.static final String
static final String
Specifies the profile ID to use when authing the request.static final String
Used to trigger a Long-Polling type of requests.static final String
An API-wide specification for the header specified byREQUEST_LONG_POLL_TIMEOUT
.static final String
Specifies the Session ID used by social engine.static final String
Deprecated.static final String
static final String
Constant 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 toSessionCreation
and is used for authentication.- See Also:
-
SOCIALENGINE_SESSION_SECRET
Deprecated.useSESSION_SECRET
Header 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
- See Also:
-
ORIGIN
- See Also:
-
AC_ALLOW_ORIGIN
- See Also:
-
AC_ALLOW_HEADERS
- See Also:
-
AC_ALLOW_HEADERS_VALUE
- See Also:
-
AC_ALLOW_CREDENTIALS
- See Also:
-
AC_ALLOW_CREDENTIALS_VALUE
- See Also:
-
AC_ALLOW_ALLOW_METHODS
- See Also:
-
AC_ALLOW_ALLOW_METHODS_VALUE
- 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