Interface Attachable

  • All Known Implementing Classes:
    HttpConnection, HttpConnectionOverHTTP

    @Deprecated(since="2021-05-27")
    public interface Attachable
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Abstract mechanism to support attachment of miscellaneous objects.
    • Method Detail

      • getAttachment

        java.lang.Object getAttachment()
        Deprecated.
        Returns:
        the object attached to this instance
        See Also:
        setAttachment(Object)
      • setAttachment

        void setAttachment​(java.lang.Object attachment)
        Deprecated.
        Attaches the given object to this stream for later retrieval.
        Parameters:
        attachment - the object to attach to this instance