interface PemEncoded extends ByteBufHolder
| Modifier and Type | Method and Description |
|---|---|
PemEncoded |
copy()
Creates a deep copy of this
ByteBufHolder. |
PemEncoded |
duplicate()
Duplicates this
ByteBufHolder. |
boolean |
isSensitive()
Returns
true if the PEM encoded value is considered
sensitive information such as a private key. |
PemEncoded |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content. |
PemEncoded |
retain()
Increases the reference count by
1. |
PemEncoded |
retain(int increment)
Increases the reference count by the specified
increment. |
PemEncoded |
retainedDuplicate()
Duplicates this
ByteBufHolder. |
PemEncoded |
touch()
Records the current access location of this object for debugging purposes.
|
PemEncoded |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
contentrefCnt, release, releaseboolean isSensitive()
true if the PEM encoded value is considered
sensitive information such as a private key.PemEncoded copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHolderPemEncoded duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderPemEncoded retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderByteBuf.retainedDuplicate()PemEncoded replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderPemEncoded retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface ReferenceCountedPemEncoded retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface ReferenceCountedPemEncoded touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface ReferenceCountedPemEncoded touch(java.lang.Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface ReferenceCounted