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 Details

    • REQUEST_LONG_POLL_TIMEOUT

      static final String 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

      static final String REQUEST_LONG_POLL_TIMEOUT_DESCRIPTION
      An API-wide specification for the header specified by REQUEST_LONG_POLL_TIMEOUT.
      See Also:
    • PROFILE_ID

      static final String PROFILE_ID
      Specifies the profile ID to use when authing the request.
      See Also:
    • GLOBAL_SECRET

      static final String GLOBAL_SECRET
      Specifies the Session ID used by Elements required to send any request.
      See Also:
    • SESSION_SECRET

      static final String SESSION_SECRET
      Specifies the Session ID used by social engine. The Session ID corresponds to SessionCreation and is used for authentication.
      See Also:
    • SOCIALENGINE_SESSION_SECRET

      @Deprecated static final String SOCIALENGINE_SESSION_SECRET
      Deprecated.
      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

      static final String FACEBOOK_OAUTH_TOKEN
      Specifies the user's Facebook OAuth token used to interact with the Facebook API.
      See Also:
    • BEARER

      static final String BEARER
      Preferred auth method, bearer.
      See Also:
    • USER_AGENT

      static final String USER_AGENT
      See Also:
    • ORIGIN

      static final String ORIGIN
      See Also:
    • AC_ALLOW_ORIGIN

      static final String AC_ALLOW_ORIGIN
      See Also:
    • AC_ALLOW_HEADERS

      static final String AC_ALLOW_HEADERS
      See Also:
    • AC_ALLOW_HEADERS_VALUE

      static final String AC_ALLOW_HEADERS_VALUE
      See Also:
    • AC_ALLOW_CREDENTIALS

      static final String AC_ALLOW_CREDENTIALS
      See Also:
    • AC_ALLOW_CREDENTIALS_VALUE

      static final String AC_ALLOW_CREDENTIALS_VALUE
      See Also:
    • AC_ALLOW_ALLOW_METHODS

      static final String AC_ALLOW_ALLOW_METHODS
      See Also:
    • AC_ALLOW_ALLOW_METHODS_VALUE

      static final String AC_ALLOW_ALLOW_METHODS_VALUE
      See Also:
    • ALL_CORS_ALLOW_HEADERS

      static final Set<String> ALL_CORS_ALLOW_HEADERS
      Indicates all CORS headers that Elements will manage automatically.
    • WWW_AUTHENTICATE

      static final String WWW_AUTHENTICATE
      Constant for the WWW-Authenticate header.
      See Also: