C D E F G I J M O R S T U W X 
All Classes All Packages

C

Close - Class in rocks.xmpp.websocket.model
The implementation of the <close/> element in the urn:ietf:params:xml:ns:xmpp-framing namespace.
Close() - Constructor for class rocks.xmpp.websocket.model.Close
Creates an empty <close/>.
Close(URI) - Constructor for class rocks.xmpp.websocket.model.Close
Creates an <close/> with an "see-other-uri" attribute.
Close(Jid, Jid, String, Locale, String, URI) - Constructor for class rocks.xmpp.websocket.model.Close
Creates an <close/> element with a 'to', 'from', 'id', 'lang' and 'see-other-uri' attribute.
closeConnection() - Method in class rocks.xmpp.websocket.net.JakartaWebSocketConnection
 
closeFuture() - Method in class rocks.xmpp.websocket.net.WebSocketConnection
 
CONNECTION - Static variable in class rocks.xmpp.websocket.codec.XmppWebSocketDecoder.UserProperties
 
CONNECTION - Static variable in class rocks.xmpp.websocket.codec.XmppWebSocketEncoder.UserProperties
 

D

decode(Reader) - Method in class rocks.xmpp.websocket.codec.XmppWebSocketDecoder
 
destroy() - Method in class rocks.xmpp.websocket.codec.XmppWebSocketDecoder
 
destroy() - Method in class rocks.xmpp.websocket.codec.XmppWebSocketEncoder
 

E

encode(StreamElement, Writer) - Method in class rocks.xmpp.websocket.codec.XmppWebSocketEncoder
 

F

flush() - Method in class rocks.xmpp.websocket.net.JakartaWebSocketConnection
 

G

getClasses() - Method in class rocks.xmpp.websocket.WebSocketContext
 
getRemoteAddress() - Method in class rocks.xmpp.websocket.net.JakartaWebSocketConnection
 
getUri() - Method in class rocks.xmpp.websocket.model.Close
The "see-other-uri" attribute.

I

init(EndpointConfig) - Method in class rocks.xmpp.websocket.codec.XmppWebSocketDecoder
 
init(EndpointConfig) - Method in class rocks.xmpp.websocket.codec.XmppWebSocketEncoder
 
isSecure() - Method in class rocks.xmpp.websocket.net.WebSocketConnection
 

J

JakartaWebSocketConnection - Class in rocks.xmpp.websocket.net
Generic WebSocket connection which is based on Jakarta WebSocket API.
JakartaWebSocketConnection(Session, ConnectionConfiguration, StreamHandler, Consumer<Throwable>, CompletionStage<Void>, MessageHandler.Whole<StreamElement>) - Constructor for class rocks.xmpp.websocket.net.JakartaWebSocketConnection
Creates

M

MARSHALLER - Static variable in class rocks.xmpp.websocket.codec.XmppWebSocketEncoder.UserProperties
The property key to provide the required Marshaller.

O

ON_READ - Static variable in class rocks.xmpp.websocket.codec.XmppWebSocketDecoder.UserProperties
The property to set the read callback.
ON_WRITE - Static variable in class rocks.xmpp.websocket.codec.XmppWebSocketEncoder.UserProperties
The property to set an optional write callback.
open(SessionOpen) - Method in class rocks.xmpp.websocket.net.WebSocketConnection
 
Open - Class in rocks.xmpp.websocket.model
The implementation of the <open/> element in the urn:ietf:params:xml:ns:xmpp-framing namespace.
Open(Jid, Locale) - Constructor for class rocks.xmpp.websocket.model.Open
Creates an <open/> element with a 'to' and 'lang' attribute.
Open(Jid, Jid, String, Locale) - Constructor for class rocks.xmpp.websocket.model.Open
Creates an <open/> element with a 'to', 'from', 'id' and 'lang' attribute.
Open(Jid, Jid, String, Locale, String) - Constructor for class rocks.xmpp.websocket.model.Open
Creates an <open/> element with a 'to', 'from', 'id' and 'lang' attribute.

R

rocks.xmpp.websocket - package rocks.xmpp.websocket
 
rocks.xmpp.websocket.codec - package rocks.xmpp.websocket.codec
Provides encoder and decoder implementations for communicating XMPP over WebSockets.
rocks.xmpp.websocket.model - package rocks.xmpp.websocket.model
Provides XML schema implementations of XMPP Subprotocol for WebSocket.
rocks.xmpp.websocket.net - package rocks.xmpp.websocket.net
Provides connection-related classes for the XMPP Subprotocol for WebSocket.

S

send(StreamElement) - Method in class rocks.xmpp.websocket.net.WebSocketConnection
 
SESSION - Static variable in class rocks.xmpp.websocket.codec.XmppWebSocketDecoder.UserProperties
 
SESSION - Static variable in class rocks.xmpp.websocket.codec.XmppWebSocketEncoder.UserProperties
 

T

toString() - Method in class rocks.xmpp.websocket.model.Close
 
toString() - Method in class rocks.xmpp.websocket.model.Open
 
toString() - Method in class rocks.xmpp.websocket.net.JakartaWebSocketConnection
 

U

UNMARSHALLER - Static variable in class rocks.xmpp.websocket.codec.XmppWebSocketDecoder.UserProperties
The property key to set the unmarshaller.

W

WebSocketConnection - Class in rocks.xmpp.websocket.net
Abstract base class for WebSocket connections.
WebSocketContext - Class in rocks.xmpp.websocket
Defines the WebSocket context, i.e. it adds the Open and Close classes to the context.
WebSocketContext() - Constructor for class rocks.xmpp.websocket.WebSocketContext
 
write(StreamElement) - Method in class rocks.xmpp.websocket.net.JakartaWebSocketConnection
 

X

XML_INPUT_FACTORY - Static variable in class rocks.xmpp.websocket.codec.XmppWebSocketDecoder.UserProperties
The property key to provide an optional XMLInputFactory.
XML_OUTPUT_FACTORY - Static variable in class rocks.xmpp.websocket.codec.XmppWebSocketEncoder.UserProperties
The property key to provide an optional XMLOutputFactory.
XmppWebSocketDecoder - Class in rocks.xmpp.websocket.codec
Decodes WebSocket text messages to XMPP StreamElements.
XmppWebSocketDecoder() - Constructor for class rocks.xmpp.websocket.codec.XmppWebSocketDecoder
 
XmppWebSocketDecoder.UserProperties - Class in rocks.xmpp.websocket.codec
User properties for usage in EndpointConfig.getUserProperties().
XmppWebSocketEncoder - Class in rocks.xmpp.websocket.codec
Encodes XMPP StreamElements to WebSocket text messages.
XmppWebSocketEncoder() - Constructor for class rocks.xmpp.websocket.codec.XmppWebSocketEncoder
 
XmppWebSocketEncoder.UserProperties - Class in rocks.xmpp.websocket.codec
User properties for usage in EndpointConfig.getUserProperties().
C D E F G I J M O R S T U W X 
All Classes All Packages