@UnstableApi public final class DefaultHttp2UnknownFrame extends DefaultByteBufHolder implements Http2UnknownFrame
| 构造器和说明 | 
|---|
| DefaultHttp2UnknownFrame(byte frameType,
                        Http2Flags flags) | 
| DefaultHttp2UnknownFrame(byte frameType,
                        Http2Flags flags,
                        ByteBuf data) | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| DefaultHttp2UnknownFrame | copy()Creates a deep copy of this  ByteBufHolder. | 
| DefaultHttp2UnknownFrame | duplicate()Duplicates this  ByteBufHolder. | 
| boolean | equals(java.lang.Object o)This implementation of the  equalsoperation is restricted to
 work only with instances of the same class. | 
| Http2Flags | flags() | 
| byte | frameType() | 
| int | hashCode() | 
| java.lang.String | name()Returns the name of the HTTP/2 frame e.g. | 
| DefaultHttp2UnknownFrame | replace(ByteBuf content)Returns a new  ByteBufHolderwhich contains the specifiedcontent. | 
| DefaultHttp2UnknownFrame | retain()Increases the reference count by  1. | 
| DefaultHttp2UnknownFrame | retain(int increment)Increases the reference count by the specified  increment. | 
| DefaultHttp2UnknownFrame | retainedDuplicate()Duplicates this  ByteBufHolder. | 
| Http2FrameStream | stream()Returns the  Http2FrameStreamobject for this frame, ornullif the frame has yet to be associated
 with a stream. | 
| DefaultHttp2UnknownFrame | stream(Http2FrameStream stream)Set the  Http2FrameStreamobject for this frame. | 
| java.lang.String | toString() | 
| DefaultHttp2UnknownFrame | touch()Records the current access location of this object for debugging purposes. | 
| DefaultHttp2UnknownFrame | touch(java.lang.Object hint)Records the current access location of this object with an additional arbitrary information for debugging
 purposes. | 
content, contentToString, refCnt, release, releasecontentrefCnt, release, releasepublic DefaultHttp2UnknownFrame(byte frameType,
                                Http2Flags flags)
public DefaultHttp2UnknownFrame(byte frameType,
                                Http2Flags flags,
                                ByteBuf data)
public Http2FrameStream stream()
Http2StreamFrameHttp2FrameStream object for this frame, or null if the frame has yet to be associated
 with a stream.stream 在接口中 Http2StreamFramestream 在接口中 Http2UnknownFramepublic DefaultHttp2UnknownFrame stream(Http2FrameStream stream)
Http2StreamFrameHttp2FrameStream object for this frame.stream 在接口中 Http2StreamFramestream 在接口中 Http2UnknownFramepublic byte frameType()
frameType 在接口中 Http2UnknownFramepublic Http2Flags flags()
flags 在接口中 Http2UnknownFramepublic java.lang.String name()
Http2Framename 在接口中 Http2Framepublic DefaultHttp2UnknownFrame copy()
DefaultByteBufHolderByteBufHolder.
 
 This method calls replace(content().copy()) by default.
copy 在接口中 ByteBufHoldercopy 在接口中 Http2UnknownFramecopy 在类中 DefaultByteBufHolderpublic DefaultHttp2UnknownFrame duplicate()
DefaultByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().
 
 This method calls replace(content().duplicate()) by default.
duplicate 在接口中 ByteBufHolderduplicate 在接口中 Http2UnknownFrameduplicate 在类中 DefaultByteBufHolderpublic DefaultHttp2UnknownFrame retainedDuplicate()
DefaultByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().
 
 This method calls replace(content().retainedDuplicate()) by default.
retainedDuplicate 在接口中 ByteBufHolderretainedDuplicate 在接口中 Http2UnknownFrameretainedDuplicate 在类中 DefaultByteBufHolderByteBuf.retainedDuplicate()public DefaultHttp2UnknownFrame replace(ByteBuf content)
DefaultByteBufHolderByteBufHolder which contains the specified content.
 
 Override this method to return a new instance of this object whose content is set to the specified
 content. The default implementation of DefaultByteBufHolder.copy(), DefaultByteBufHolder.duplicate() and
 DefaultByteBufHolder.retainedDuplicate() invokes this method to create a copy.
replace 在接口中 ByteBufHolderreplace 在接口中 Http2UnknownFramereplace 在类中 DefaultByteBufHolderpublic DefaultHttp2UnknownFrame retain()
ReferenceCounted1.retain 在接口中 ByteBufHolderretain 在接口中 Http2UnknownFrameretain 在接口中 ReferenceCountedretain 在类中 DefaultByteBufHolderpublic DefaultHttp2UnknownFrame retain(int increment)
ReferenceCountedincrement.retain 在接口中 ByteBufHolderretain 在接口中 Http2UnknownFrameretain 在接口中 ReferenceCountedretain 在类中 DefaultByteBufHolderpublic java.lang.String toString()
toString 在类中 DefaultByteBufHolderpublic DefaultHttp2UnknownFrame touch()
ReferenceCountedResourceLeakDetector.  This method is a shortcut to touch(null).touch 在接口中 ByteBufHoldertouch 在接口中 Http2UnknownFrametouch 在接口中 ReferenceCountedtouch 在类中 DefaultByteBufHolderpublic DefaultHttp2UnknownFrame touch(java.lang.Object hint)
ReferenceCountedResourceLeakDetector.touch 在接口中 ByteBufHoldertouch 在接口中 Http2UnknownFrametouch 在接口中 ReferenceCountedtouch 在类中 DefaultByteBufHolderpublic boolean equals(java.lang.Object o)
DefaultByteBufHolderequals operation is restricted to
 work only with instances of the same class. The reason for that is that
 Netty library already has a number of classes that extend DefaultByteBufHolder and
 override equals method with an additional comparison logic and we
 need the symmetric property of the equals operation to be preserved.equals 在类中 DefaultByteBufHoldero - the reference object with which to compare.true if this object is the same as the obj
          argument; false otherwise.public int hashCode()
hashCode 在类中 DefaultByteBufHolder