Interface HttpContext

    • Field Detail

      • RESERVED_PREFIX

        static final String RESERVED_PREFIX
        The prefix reserved for use by HTTP components. "http."
        See Also:
        Constant Field Values
    • Method Detail

      • getAttribute

        Object getAttribute​(String id)
        Obtains attribute with the given name.
        Parameters:
        id - the attribute name.
        Returns:
        attribute value, or null if not set.
      • setAttribute

        void setAttribute​(String id,
                          Object obj)
        Sets value of the attribute with the given name.
        Parameters:
        id - the attribute name.
        obj - the attribute value.
      • removeAttribute

        Object removeAttribute​(String id)
        Removes attribute with the given name from the context.
        Parameters:
        id - the attribute name.
        Returns:
        attribute value, or null if not set.