Top Description Fields Methods
io.undertow.websockets.core

public Interface WebSocketMessages

Known Direct Implementers
io.undertow.websockets.core.WebSocketMessages_$bundle
Annotations
@MessageBundle
projectCode:UT
Imports
org.jboss.logging.Messages, org.jboss.logging.annotations.Cause, .Message, .MessageBundle, java.io.IOException, .UnsupportedEncodingException, java.util.Collection, java.util.zip.DataFormatException

start at 20000
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
public static final WebSocketMessages

Method Summary

Modifier and TypeMethod and Description
public IOException
public IOException
public WebSocketFrameCorruptedException
public WebSocketFrameCorruptedException
public WebSocketFrameCorruptedException
public UnsupportedOperationException
public WebSocketFrameCorruptedException
public WebSocketFrameCorruptedException
public WebSocketInvalidCloseCodeException
public IllegalArgumentException
invalidPayloadLengthForPing(long payloadLength)

public UnsupportedEncodingException
public String
public String
messageToBig(long maxMessageSize)

public WebSocketFrameCorruptedException
public IOException
public IOException
public WebSocketFrameCorruptedException
public WebSocketFrameCorruptedException
public IOException
public WebSocketFrameCorruptedException
public IllegalStateException
public IllegalArgumentException
public IllegalStateException
unsupportedOpCode(int opCode)

public WebSocketHandshakeException
unsupportedProtocol(String requestedSubprotocols, Collection<String> subprotocols)

public IOException

Field Detail

MESSAGESback to summary
public static final WebSocketMessages MESSAGES

Method Detail

badCompressedPayloadback to summary
public IOException badCompressedPayload(final DataFormatException cause)
Annotations
@Message:Compressed message payload is corrupted
id:2044
channelClosedback to summary
public IOException channelClosed()
Annotations
@Message:Channel is closed
id:2002
continuationFrameOutsideFragmentedback to summary
public WebSocketFrameCorruptedException continuationFrameOutsideFragmented()
Annotations
@Message:Received continuation data frame outside fragmented message
id:2010
controlFrameWithPayloadLen1back to summary
public WebSocketFrameCorruptedException controlFrameWithPayloadLen1()
Annotations
@Message:Received close control frame with payload len 1
id:2008
extensionsNotAllowedback to summary
public WebSocketFrameCorruptedException extensionsNotAllowed(int rsv)
Annotations
@Message:Extensions not allowed but received rsv of %s
id:2015
extensionsNotSupportedback to summary
public UnsupportedOperationException extensionsNotSupported()
Annotations
@Message:Extensions not supported
id:2023
fragmentedControlFrameback to summary
public WebSocketFrameCorruptedException fragmentedControlFrame()
Annotations
@Message:Fragmented control frame
id:2005
frameNotMaskedback to summary
public WebSocketFrameCorruptedException frameNotMasked()
Annotations
@Message:Web socket frame was not masked
id:2034
invalidCloseFrameStatusCodeback to summary
public WebSocketInvalidCloseCodeException invalidCloseFrameStatusCode(int statusCode)
Annotations
@Message:Invalid close frame status code: %s
id:2026
invalidPayloadLengthForPingback to summary
public IllegalArgumentException invalidPayloadLengthForPing(long payloadLength)
Annotations
@Message:Invalid payload for PING (payload length must be <= 125, was %s)
id:2019
invalidTextFrameEncodingback to summary
public UnsupportedEncodingException invalidTextFrameEncoding()
Annotations
@Message:Text frame contains non UTF-8 data
id:2003
messageCloseWebSocketback to summary
public String messageCloseWebSocket()
Annotations
@Message:Closing WebSocket, peer went away.
id:2046
messageToBigback to summary
public String messageToBig(long maxMessageSize)
Annotations
@Message:Message exceeded max message size of %s
id:2040
nonContinuationFrameInsideFragmentedback to summary
public WebSocketFrameCorruptedException nonContinuationFrameInsideFragmented()
Annotations
@Message:Received non-continuation data frame while inside fragmented message
id:2011
noWebSocketConnectionHeaderback to summary
public IOException noWebSocketConnectionHeader()
Annotations
@Message:The response did not contain a \'Connection: upgrade\' header
id:2036
noWebSocketUpgradeHeaderback to summary
public IOException noWebSocketUpgradeHeader()
Annotations
@Message:The response did not contain an \'Upgrade: websocket\' header
id:2035
reservedOpCodeInControlFrameback to summary
public WebSocketFrameCorruptedException reservedOpCodeInControlFrame(int opCode)
Annotations
@Message:Control frame using reserved opcode = %s
id:2007
reservedOpCodeInDataFrameback to summary
public WebSocketFrameCorruptedException reservedOpCodeInDataFrame(int opCode)
Annotations
@Message:Data frame using reserved opcode = %s
id:2009
streamIsBrokenback to summary
public IOException streamIsBroken()
Annotations
@Message:Could not send data, as the underlying web socket connection has been broken
id:2027
toBigControlFrameback to summary
public WebSocketFrameCorruptedException toBigControlFrame()
Annotations
@Message:Control frame with payload length > 125 octets
id:2006
unableToSendOnNewChannelback to summary
public IllegalStateException unableToSendOnNewChannel()
Annotations
@Message:Unable to send on newly created channel!
id:2045
unsupportedFrameTypeback to summary
public IllegalArgumentException unsupportedFrameType(WebSocketFrameType type)
Annotations
@Message:WebSocketFrameType %s is not supported by this WebSocketChannel"
id:2014
unsupportedOpCodeback to summary
public IllegalStateException unsupportedOpCode(int opCode)
Annotations
@Message:Cannot decode web socket frame with opcode: %s
id:2013
unsupportedProtocolback to summary
public WebSocketHandshakeException unsupportedProtocol(String requestedSubprotocols, Collection<String> subprotocols)
Annotations
@Message:Could not find supported protocol in request list %s. Supported protocols are %s
id:2016
webSocketAcceptKeyMismatchback to summary
public IOException webSocketAcceptKeyMismatch(String dKey, String acceptKey)
Annotations
@Message:Sec-WebSocket-Accept mismatch, expecting %s, received %s
id:2037