Interface Attachable
- All Known Implementing Classes:
HTTP2Stream, HTTP3Stream, HTTP3StreamClient, HttpConnection
public interface Attachable
Abstract mechanism to support attachment of miscellaneous objects.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetAttachment(Object attachment) Attaches the given object for later retrieval.
-
Method Details
-
getAttachment
Object getAttachment()- Returns:
- the object attached to this instance
- See Also:
-
setAttachment
Attaches the given object for later retrieval.- Parameters:
attachment- the object to attach
-