Interface Servlet

All Superinterfaces:
Describable, DescriptionGroup

public interface Servlet extends DescriptionGroup
  • Method Details

    • getServletName

      String getServletName()
      Returns:
      <servlet-name>
    • getServletClass

      String getServletClass()
      Returns:
      <servlet-class>, or null if unspecified
    • getJSPFile

      String getJSPFile()
      Returns:
      <jsp-file>, or null if unspecified
    • getInitParams

      List<ParamValue> getInitParams()
      Returns:
      <init-param> as a read-only list
    • isSetLoadOnStartup

      boolean isSetLoadOnStartup()
      Returns:
      true if <load-on-startup> is specified
      See Also:
    • isNullLoadOnStartup

      boolean isNullLoadOnStartup()
      Returns:
      true if <load-on-startup> is specified and was null
      See Also:
    • getLoadOnStartup

      int getLoadOnStartup()
      Returns:
      <load-on-startup> if specified and not null
      See Also:
    • isSetEnabled

      boolean isSetEnabled()
      Returns:
      true if <enabled> is specified
      See Also:
    • isEnabled

      boolean isEnabled()
      Returns:
      <enabled> if specified
      See Also:
    • isSetAsyncSupported

      boolean isSetAsyncSupported()
      Returns:
      true if <async-supported> is specified
      See Also:
    • isAsyncSupported

      boolean isAsyncSupported()
      Returns:
      <async-supported> if specified
      See Also:
    • getRunAs

      RunAs getRunAs()
      Returns:
      <run-as>, or null if unspecified
    • getSecurityRoleRefs

      List<SecurityRoleRef> getSecurityRoleRefs()
      Returns:
      <security-role-ref> as a read-only list
    • getMultipartConfig

      MultipartConfig getMultipartConfig()
      Returns:
      <multipart-config>, or null if unspecified