Class ServletAttributes

java.lang.Object
org.eclipse.jetty.server.ServletAttributes
All Implemented Interfaces:
org.eclipse.jetty.util.Attributes

public class ServletAttributes extends 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.
  • Constructor Details

    • ServletAttributes

      public ServletAttributes()
  • Method Details

    • setAsyncAttributes

      public void setAsyncAttributes(String requestURI, String contextPath, String pathInContext, ServletPathMapping servletPathMapping, String queryString)
    • removeAttribute

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

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

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

      public Set<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