Package org.eclipse.jetty.util
Interface Attachable
-
- All Known Implementing Classes:
HttpConnection,HttpConnectionOverHTTP
@Deprecated(since="2021-05-27") public interface AttachableDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Abstract mechanism to support attachment of miscellaneous objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.ObjectgetAttachment()Deprecated.voidsetAttachment(java.lang.Object attachment)Deprecated.Attaches the given object to this stream for later retrieval.
-
-
-
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
-
-