Class ApplicationServletRegistration

    • Constructor Detail

      • ApplicationServletRegistration

        public ApplicationServletRegistration​(Wrapper wrapper,
                                              Context context)
    • Method Detail

      • getInitParameter

        public java.lang.String getInitParameter​(java.lang.String name)
        Description copied from interface: javax.servlet.Registration
        Get the value of an initialisation parameter.
        Specified by:
        getInitParameter in interface Registration
        Parameters:
        name - The initialisation parameter whose value is required
        Returns:
        The value of the named initialisation parameter
      • getInitParameters

        public java.util.Map<java.lang.String,​java.lang.String> getInitParameters()
        Description copied from interface: javax.servlet.Registration
        Get the names and values of all the initialisation parameters.
        Specified by:
        getInitParameters in interface Registration
        Returns:
        A Map of initialisation parameter names and associated values keyed by name
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Registration
      • setInitParameter

        public boolean setInitParameter​(java.lang.String name,
                                        java.lang.String value)
        Description copied from interface: javax.servlet.Registration
        Add an initialisation parameter if not already added.
        Specified by:
        setInitParameter in interface Registration
        Parameters:
        name - Name of initialisation parameter
        value - Value of initialisation parameter
        Returns:
        true if the initialisation parameter was set, false if the initialisation parameter was not set because an initialisation parameter of the same name already existed
      • setInitParameters

        public java.util.Set<java.lang.String> setInitParameters​(java.util.Map<java.lang.String,​java.lang.String> initParameters)
        Description copied from interface: javax.servlet.Registration
        Add multiple initialisation parameters. If any of the supplied initialisation parameter conflicts with an existing initialisation parameter, no updates will be performed.
        Specified by:
        setInitParameters in interface Registration
        Parameters:
        initParameters - The initialisation parameters to add
        Returns:
        The set of initialisation parameter names that conflicted with existing initialisation parameter. If there are no conflicts, this Set will be empty.
      • setAsyncSupported

        public void setAsyncSupported​(boolean asyncSupported)
        Description copied from interface: javax.servlet.Registration.Dynamic
        Mark this Servlet/Filter as supported asynchronous processing.
        Specified by:
        setAsyncSupported in interface Registration.Dynamic
        Parameters:
        asyncSupported - Should this Servlet/Filter support asynchronous processing
      • addMapping

        public java.util.Set<java.lang.String> addMapping​(java.lang.String... urlPatterns)
        Description copied from interface: javax.servlet.ServletRegistration
        TODO
        Specified by:
        addMapping in interface ServletRegistration
        Parameters:
        urlPatterns - The URL patterns that this Servlet should be mapped to
        Returns:
        TODO