Class AbstractWebService

All Implemented Interfaces:
CoreService, ServiceLifeCycle, WebService
Direct Known Subclasses:
DefaultWebService

public abstract class AbstractWebService extends DefaultCoreService implements WebService
  • Method Details

    • getContextPath

      @Nullable public String getContextPath()
    • getServletContext

      public jakarta.servlet.ServletContext getServletContext()
      Description copied from interface: WebService
      Returns a reference to the ServletContext in which this WebService is running.
      Specified by:
      getServletContext in interface WebService
      Returns:
      a ServletContext object, used by this WebService to interact with its servlet container
    • getDefaultServletHttpRequestHandler

      @NonNull public DefaultServletHttpRequestHandler getDefaultServletHttpRequestHandler()
    • isSessionAdaptable

      public boolean isSessionAdaptable()
      Specified by:
      isSessionAdaptable in interface WebService
    • setSessionAdaptable

      public void setSessionAdaptable(boolean sessionAdaptable)
    • getUriDecoding

      public String getUriDecoding()
    • setUriDecoding

      protected void setUriDecoding(String uriDecoding)
    • isTrailingSlashRedirect

      public boolean isTrailingSlashRedirect()
    • setTrailingSlashRedirect

      protected void setTrailingSlashRedirect(boolean trailingSlashRedirect)
    • isLegacyHeadHandling

      public boolean isLegacyHeadHandling()
    • setLegacyHeadHandling

      protected void setLegacyHeadHandling(boolean legacyHeadHandling)
    • afterContextLoaded

      protected void afterContextLoaded() throws Exception
      Description copied from class: DefaultCoreService
      This method is executed immediately after the ActivityContext is loaded.
      Overrides:
      afterContextLoaded in class DefaultCoreService
      Throws:
      Exception - if an error occurs
    • configure

      protected void configure(@NonNull AspectranConfig aspectranConfig)
      Overrides:
      configure in class DefaultCoreService