Class ServletAttributes

  • All Implemented Interfaces:

    public class ServletAttributes
    extends java.lang.Object
    implements 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 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 Attributes
      • setAttribute

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

        public java.lang.Object getAttribute​(java.lang.String name)
        Specified by:
        getAttribute in interface Attributes