Interface RestConstants


public interface RestConstants
Constant definitions used to define and consume Opencast REST services.
  • Field Details

    • SERVICE_TYPE_PROPERTY

      static final String SERVICE_TYPE_PROPERTY
      The service property indicating the type of service. This is an arbitrary ID, not necessarily a java interface.
      See Also:
    • SERVICE_PATH_PROPERTY

      @Deprecated static final String SERVICE_PATH_PROPERTY
      Deprecated.
      The service property indicating the URL path that the service is attempting to claim
      See Also:
    • SERVICE_PUBLISH_PROPERTY

      static final String SERVICE_PUBLISH_PROPERTY
      The service property indicating whether the service should be published in the service registry
      See Also:
    • SERVICE_JOBPRODUCER_PROPERTY

      static final String SERVICE_JOBPRODUCER_PROPERTY
      The service property indicating that this service should be registered in the remote service registry
      See Also:
    • HTTP_CONTEXT_ID

      static final String HTTP_CONTEXT_ID
      The ID by which this http context is known by the extended http service
      See Also:
    • SERVICES_FILTER

      static final String SERVICES_FILTER
      The OSGI service filter that returns all registered services published as REST endpoints
      See Also:
    • HTTP_ALIAS

      static final String HTTP_ALIAS
      The bundle header used to find the static resource URL alias
      See Also:
    • HTTP_CLASSPATH

      static final String HTTP_CLASSPATH
      The bundle header used to find the static resource classpath
      See Also:
    • HTTP_SPA_REDIRECT

      static final String HTTP_SPA_REDIRECT
      The bundle header used to redirect to welcome file
      See Also:
    • HTTP_WELCOME

      static final String HTTP_WELCOME
      The bundle header used to find the static resource welcome file
      See Also:
    • MAX_INACTIVE_INTERVAL

      static final int MAX_INACTIVE_INTERVAL
      The amount of time in seconds to wait for a session to be inactive before deallocating it. Applied to all sessions with the last filter in the chain.
      See Also: