Interface HttpContext

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String RESERVED_PREFIX
      The prefix reserved for use by HTTP components.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getAttribute​(java.lang.String id)
      Obtains attribute with the given name.
      java.lang.Object removeAttribute​(java.lang.String id)
      Removes attribute with the given name from the context.
      void setAttribute​(java.lang.String id, java.lang.Object obj)
      Sets value of the attribute with the given name.
    • Field Detail

      • RESERVED_PREFIX

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

      • getAttribute

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

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

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