com.sun.grizzly.websockets.frametypes
Class ClosingFrameType

java.lang.Object
  extended by com.sun.grizzly.websockets.BaseFrameType
      extended by com.sun.grizzly.websockets.frametypes.ClosingFrameType
All Implemented Interfaces:
FrameType

public class ClosingFrameType
extends BaseFrameType


Constructor Summary
ClosingFrameType()
           
 
Method Summary
 DataFrame create(boolean fin, byte[] data)
           
 void respond(WebSocket socket, DataFrame frame)
           
 
Methods inherited from class com.sun.grizzly.websockets.BaseFrameType
getBytes, setPayload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClosingFrameType

public ClosingFrameType()
Method Detail

create

public DataFrame create(boolean fin,
                        byte[] data)
Specified by:
create in interface FrameType
Overrides:
create in class BaseFrameType

respond

public void respond(WebSocket socket,
                    DataFrame frame)


Copyright © 2013 Oracle Corporation. All Rights Reserved.