public class ContinuationWebSocketFrame extends WebSocketFrame
| Constructor and Description | 
|---|
ContinuationWebSocketFrame() 
            
              创建一个新的空继续框架。 
               |  
          
ContinuationWebSocketFrame(boolean finalFragment, int rsv, ByteBuf binaryData) 
            
              用指定的二进制数据创建一个新的延续帧 
               |  
          
ContinuationWebSocketFrame(boolean finalFragment, int rsv, java.lang.String text) 
            
              用指定的文本数据创建一个新的连续帧 
               |  
          
ContinuationWebSocketFrame(ByteBuf binaryData) 
            
              用指定的二进制数据创建一个新的延续帧。 
               |  
          
| Modifier and Type | Method and Description | 
|---|---|
ContinuationWebSocketFrame |  
           copy() 
             
             创建此  ByteBufHolder的深层副本。 
             |  
          
ContinuationWebSocketFrame |  
           duplicate() 
             
             重复此  ByteBufHolder 。 
             |  
          
ContinuationWebSocketFrame |  
           replace(ByteBuf content) 
             
             返回一个新  ByteBufHolder包含指定content 。 
             |  
          
ContinuationWebSocketFrame |  
           retain() 
            
              将引用计数增加 
               1 。 
             |  
          
ContinuationWebSocketFrame |  
           retain(int increment) 
            
              将参考计数增加指定的 
               increment 。 
             |  
          
ContinuationWebSocketFrame |  
           retainedDuplicate() 
             
             重复此  ByteBufHolder 。 
             |  
          
java.lang.String |  
           text() 
            
              返回此帧中的文本数据 
               |  
          
ContinuationWebSocketFrame |  
           touch() 
            
              记录此对象的当前访问位置以进行调试。 
               |  
          
ContinuationWebSocketFrame |  
           touch(java.lang.Object hint) 
            
              记录此对象的当前访问位置,并附加一些用于调试的任意信息。 
               |  
          
isFinalFragment, rsv, toStringcontent, contentToString, equals, hashCode, refCnt, release, releasepublic ContinuationWebSocketFrame()
public ContinuationWebSocketFrame(ByteBuf binaryData)
binaryData - 框架的内容。 
           public ContinuationWebSocketFrame(boolean finalFragment,
                                  int rsv,
                                  ByteBuf binaryData) 
          finalFragment - 指示此帧是否为最终片段的标志 
           rsv - 用于协议扩展的保留位 
           binaryData - 框架的内容。 
           public ContinuationWebSocketFrame(boolean finalFragment,
                                  int rsv,
                                  java.lang.String text) 
          finalFragment - 指示此帧是否为最终片段的标志 
           rsv - 用于协议扩展的保留位 
           text - 帧的文本内容。 
           public java.lang.String text()
public ContinuationWebSocketFrame copy()
DefaultByteBufHolder 
          ByteBufHolder的深层副本。 
            此方法默认调用replace(content().copy()) 。 
copy在界面 
            ByteBufHolder 
           copy在课程 
            WebSocketFrame 
           public ContinuationWebSocketFrame duplicate()
DefaultByteBufHolder 
          duplicate在界面 
            ByteBufHolder 
           duplicate在课堂 
            WebSocketFrame 
           public ContinuationWebSocketFrame retainedDuplicate()
DefaultByteBufHolder 
          ByteBufHolder 。 
           与ByteBufHolder.duplicate()不同,此方法返回保留的副本。 
            此方法默认调用replace(content().retainedDuplicate()) 。 
retainedDuplicate在界面 
            ByteBufHolder 
           retainedDuplicate在类 
            WebSocketFrame 
           ByteBuf.retainedDuplicate() 
           public ContinuationWebSocketFrame replace(ByteBuf content)
DefaultByteBufHolder 
          ByteBufHolder包含指定content 。 
            重写此方法以返回其内容设置为指定content的此对象的新实例。 的默认实现DefaultByteBufHolder.copy() , DefaultByteBufHolder.duplicate()和DefaultByteBufHolder.retainedDuplicate()调用此方法来创建一个副本。 
replace在界面 
            ByteBufHolder 
           replace在课程 
            WebSocketFrame 
           public ContinuationWebSocketFrame retain()
ReferenceCounted 
          1 。 
          retain在界面 
            ByteBufHolder 
           retain在界面 
            ReferenceCounted 
           retain在课堂上 
            WebSocketFrame 
           public ContinuationWebSocketFrame retain(int increment)
ReferenceCounted 
          increment 。 
          retain在界面 
            ByteBufHolder 
           retain在界面 
            ReferenceCounted 
           retain在课堂上 
            WebSocketFrame 
           public ContinuationWebSocketFrame touch()
ReferenceCounted 
          touch接口 
            ByteBufHolder 
           touch接口 
            ReferenceCounted 
           touch在课堂 
            WebSocketFrame 
           public ContinuationWebSocketFrame touch(java.lang.Object hint)
ReferenceCounted 
          ResourceLeakDetector提供给您。 
          touch ,界面 
            ByteBufHolder 
           touch在界面 
            ReferenceCounted 
           touch在课堂上 
            WebSocketFrame 
           Copyright © 2008–2018 The Netty Project. All rights reserved.