Class ServletHolder.Registration

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

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

    • _multipartConfig

      protected javax.servlet.MultipartConfigElement _multipartConfig
  • Constructor Details

    • Registration

      public Registration()
  • Method Details

    • addMapping

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

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

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

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

      public int getInitOrder()
    • setMultipartConfig

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

      public javax.servlet.MultipartConfigElement getMultipartConfig()
    • setRunAsRole

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

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