Interface Attachable

  • All Known Implementing Classes:
    HttpConnection, HttpConnectionOverHTTP

    @Deprecated
    public interface Attachable
    Deprecated.
    This api is not supported anymore. Please do not use it.
    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