javax.net.websocket.extensions
Interface Frame.Control.Close

All Superinterfaces:
Frame, Frame.Control
Enclosing interface:
Frame.Control

public static interface Frame.Control.Close
extends Frame.Control

A web socket Close frame.


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.net.websocket.extensions.Frame.Control
Frame.Control.Close, Frame.Control.Ping, Frame.Control.Pong
 
Nested classes/interfaces inherited from interface javax.net.websocket.extensions.Frame
Frame.Control, Frame.Data
 
Method Summary
 CloseReason.Code getCloseCode()
          The close code for this close.
 String getReasonPhrase()
          The reason phrase for this close.
 

Method Detail

getReasonPhrase

String getReasonPhrase()
The reason phrase for this close.


getCloseCode

CloseReason.Code getCloseCode()
The close code for this close.



Copyright © 2012. All Rights Reserved.