Class BasicHttpContext

    • Constructor Detail

      • BasicHttpContext

        public BasicHttpContext()
      • BasicHttpContext

        public BasicHttpContext​(HttpContext parentContext)
    • Method Detail

      • getAttribute

        public Object getAttribute​(String id)
        Description copied from interface: HttpContext
        Obtains attribute with the given name.
        Specified by:
        getAttribute in interface HttpContext
        Parameters:
        id - the attribute name.
        Returns:
        attribute value, or null if not set.
      • setAttribute

        public void setAttribute​(String id,
                                 Object obj)
        Description copied from interface: HttpContext
        Sets value of the attribute with the given name.
        Specified by:
        setAttribute in interface HttpContext
        Parameters:
        id - the attribute name.
        obj - the attribute value.
      • removeAttribute

        public Object removeAttribute​(String id)
        Description copied from interface: HttpContext
        Removes attribute with the given name from the context.
        Specified by:
        removeAttribute in interface HttpContext
        Parameters:
        id - the attribute name.
        Returns:
        attribute value, or null if not set.
      • clear

        public void clear()
        Since:
        4.2