Class ServletHolder.Registration

java.lang.Object
Holder<jakarta.servlet.Servlet>.HolderRegistration
org.eclipse.jetty.ee10.servlet.ServletHolder.Registration
All Implemented Interfaces:
jakarta.servlet.Registration, jakarta.servlet.Registration.Dynamic, jakarta.servlet.ServletRegistration, jakarta.servlet.ServletRegistration.Dynamic
Enclosing class:
ServletHolder

public class ServletHolder.Registration extends Holder<jakarta.servlet.Servlet>.HolderRegistration implements jakarta.servlet.ServletRegistration.Dynamic
  • Field Details

    • _multipartConfigElement

      protected jakarta.servlet.MultipartConfigElement _multipartConfigElement
  • Constructor Details

    • Registration

      public Registration()
  • Method Details

    • addMapping

      public Set<String> addMapping(String... urlPatterns)
      Specified by:
      addMapping in interface jakarta.servlet.ServletRegistration
    • getMappings

      public Collection<String> getMappings()
      Specified by:
      getMappings in interface jakarta.servlet.ServletRegistration
    • getRunAsRole

      public String getRunAsRole()
      Specified by:
      getRunAsRole in interface jakarta.servlet.ServletRegistration
    • setLoadOnStartup

      public void setLoadOnStartup(int loadOnStartup)
      Specified by:
      setLoadOnStartup in interface jakarta.servlet.ServletRegistration.Dynamic
    • getInitOrder

      public int getInitOrder()
    • setMultipartConfig

      public void setMultipartConfig(jakarta.servlet.MultipartConfigElement element)
      Specified by:
      setMultipartConfig in interface jakarta.servlet.ServletRegistration.Dynamic
    • getMultipartConfigElement

      public jakarta.servlet.MultipartConfigElement getMultipartConfigElement()
    • setRunAsRole

      public void setRunAsRole(String role)
      Specified by:
      setRunAsRole in interface jakarta.servlet.ServletRegistration.Dynamic
    • setServletSecurity

      public Set<String> setServletSecurity(jakarta.servlet.ServletSecurityElement securityElement)
      Specified by:
      setServletSecurity in interface jakarta.servlet.ServletRegistration.Dynamic