Class WebDAVApplication

java.lang.Object
javax.ws.rs.core.Application
org.exoplatform.services.jcr.webdav.WebDAVApplication

public final class WebDAVApplication extends javax.ws.rs.core.Application
Common configuration mechanism for WebDAV application. From JAX-RS specification, section 2.1
 The resources and providers that make up a JAX-RS application are configured
 via an application-supplied subclass of Application. An implementation MAY
 provide alternate mechanisms for locating resource classes and providers
 (e.g. runtime class scanning) but use of Application is the only portable
 means of configuration.
 
Version:
$Id: $
Author:
Andrey Parfonov
  • Constructor Details

    • WebDAVApplication

      public WebDAVApplication()
      This constructor will be used by third part RESTful frameworks that not use exo container directly.
      See Also:
    • WebDAVApplication

      public WebDAVApplication(WebDavService webdavService)
      This constructor will be used by exo container.
      Parameters:
      webdavService - WebDavService
  • Method Details

    • getClasses

      public Set<Class<?>> getClasses()
      Overrides:
      getClasses in class javax.ws.rs.core.Application
    • getSingletons

      public Set<Object> getSingletons()
      Overrides:
      getSingletons in class javax.ws.rs.core.Application
    • getPortalContainerName

      protected String getPortalContainerName()
      Override this if you need other container name. This method should be used to set container name when this class is not component of exo container.
      Returns:
      portal container name