H - Type of the class that extends AbstractHeader. Used to ensure the correct type is returned by the builder methods, supporting method chaining.public abstract class AbstractHeader<H extends AbstractHeader<H>> extends SelfDescribingMarshallable implements ChannelHeader
EMPTYDISCARD| Constructor and Description |
|---|
AbstractHeader() |
| Modifier and Type | Method and Description |
|---|---|
String |
sessionName()
Retrieves the session name associated with this header.
|
H |
sessionName(String sessionName)
Sets the session name associated with this header.
|
SystemContext |
systemContext()
Retrieves the system context associated with this header.
|
H |
systemContext(SystemContext systemContext)
Sets the system context associated with this header.
|
usesSelfDescribingMessageequals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, wait$equals, $fieldInfoMap, $fieldInfos, $hashCode, $toString, className, copyTo, deepCopy, fromFile, fromFile, fromString, fromString, fromString, getField, getLongField, mergeToMap, readMarshallable, reset, setField, setLongField, streamFromFile, streamFromFile, writeMarshallablebinaryLengthLength, writeValueunexpectedFieldpublic SystemContext systemContext()
systemContext in interface ChannelHeaderpublic H systemContext(SystemContext systemContext)
systemContext in interface ChannelHeadersystemContext - the SystemContext object to set as the system context for this header.public String sessionName()
sessionName in interface ChannelHeaderpublic H sessionName(String sessionName)
sessionName in interface ChannelHeadersessionName - the String to set as the session name for this header.Copyright © 2023. All rights reserved.