org.eclipse.jetty.websocket
类 FragmentExtension

java.lang.Object
  继承者 org.eclipse.jetty.websocket.AbstractExtension
      继承者 org.eclipse.jetty.websocket.FragmentExtension
所有已实现的接口:
Extension, WebSocketGenerator, WebSocketParser.FrameHandler

public class FragmentExtension
extends AbstractExtension


构造方法摘要
FragmentExtension()
           
 
方法摘要
 void addFrame(byte flags, byte opcode, byte[] content, int offset, int length)
           
 boolean init(Map<String,String> parameters)
           
 
从类 org.eclipse.jetty.websocket.AbstractExtension 继承的方法
bind, clearFlag, close, flush, getConnection, getInitParameter, getInitParameter, getInitParameter, getName, getParameterizedName, isBufferEmpty, isFlag, onFrame, setFlag, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

FragmentExtension

public FragmentExtension()
方法详细信息

init

public boolean init(Map<String,String> parameters)
指定者:
接口 Extension 中的 init
覆盖:
AbstractExtension 中的 init

addFrame

public void addFrame(byte flags,
                     byte opcode,
                     byte[] content,
                     int offset,
                     int length)
              throws IOException
指定者:
接口 WebSocketGenerator 中的 addFrame
覆盖:
AbstractExtension 中的 addFrame
抛出:
IOException


Copyright © 2013. All Rights Reserved.