Class ServletAttributes

  • All Implemented Interfaces:
    org.eclipse.jetty.util.Attributes

    public class ServletAttributes
    extends java.lang.Object
    implements org.eclipse.jetty.util.Attributes
    An implementation of Attributes that supports the standard async attributes. This implementation delegates to an internal AttributesMap instance, which can optionally be wrapped with a AsyncAttributes instance. This allows async attributes to be applied underneath any other attribute wrappers.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes

        org.eclipse.jetty.util.Attributes.Wrapper
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clearAttributes()  
      java.lang.Object getAttribute​(java.lang.String name)  
      java.util.Set<java.lang.String> getAttributeNameSet()  
      void removeAttribute​(java.lang.String name)  
      void setAsyncAttributes​(java.lang.String requestURI, java.lang.String contextPath, java.lang.String pathInContext, ServletPathMapping servletPathMapping, java.lang.String queryString)  
      void setAttribute​(java.lang.String name, java.lang.Object attribute)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.eclipse.jetty.util.Attributes

        getAttributeNames
    • Constructor Detail

      • ServletAttributes

        public ServletAttributes()
    • Method Detail

      • setAsyncAttributes

        public void setAsyncAttributes​(java.lang.String requestURI,
                                       java.lang.String contextPath,
                                       java.lang.String pathInContext,
                                       ServletPathMapping servletPathMapping,
                                       java.lang.String queryString)
      • removeAttribute

        public void removeAttribute​(java.lang.String name)
        Specified by:
        removeAttribute in interface org.eclipse.jetty.util.Attributes
      • setAttribute

        public void setAttribute​(java.lang.String name,
                                 java.lang.Object attribute)
        Specified by:
        setAttribute in interface org.eclipse.jetty.util.Attributes
      • getAttribute

        public java.lang.Object getAttribute​(java.lang.String name)
        Specified by:
        getAttribute in interface org.eclipse.jetty.util.Attributes
      • getAttributeNameSet

        public java.util.Set<java.lang.String> getAttributeNameSet()
        Specified by:
        getAttributeNameSet in interface org.eclipse.jetty.util.Attributes
      • clearAttributes

        public void clearAttributes()
        Specified by:
        clearAttributes in interface org.eclipse.jetty.util.Attributes