Interface ServletAdapterFactory

All Superinterfaces:
AdapterFactory

public interface ServletAdapterFactory extends AdapterFactory
Specialized factory for creating Servlet adapters. Implementing classes can get access to the CdsRuntime by implementing CdsRuntimeAware.
  • Method Details

    • getBasePath

      String getBasePath()
      Returns:
      the common base path of the servlet
    • getMappings

      String[] getMappings()
      Returns an array of all paths this servlet should be mapped to. Recursive paths are given as /**. In the standard servlet API these are usually given only as /*.
      Returns:
      an array of all path mappings
    • getServletPath

      UrlResourcePath getServletPath()
      Returns the Stream of UrlResourcePaths that are exposed by the servlet.
      Returns:
      The UrlResourcePaths