Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
dev.rafex.ether.websocket.core.WebSocketSession Interface Reference
Inheritance diagram for dev.rafex.ether.websocket.core.WebSocketSession:
Collaboration diagram for dev.rafex.ether.websocket.core.WebSocketSession:

Public Member Functions

Object attribute (String name)
void attribute (String name, Object value)
CompletionStage< Void > close (WebSocketCloseStatus status)
String headerFirst (String name)
Map< String, List< String > > headers ()
String id ()
boolean isOpen ()
String path ()
String pathParam (String name)
Map< String, String > pathParams ()
List< String > queryAll (String name)
String queryFirst (String name)
Map< String, List< String > > queryParams ()
CompletionStage< Void > sendBinary (ByteBuffer data)
CompletionStage< Void > sendText (String text)
String subprotocol ()

Detailed Description

Definition at line 34 of file WebSocketSession.java.

Member Function Documentation

◆ attribute() [1/2]

Object dev.rafex.ether.websocket.core.WebSocketSession.attribute ( String name)

◆ attribute() [2/2]

void dev.rafex.ether.websocket.core.WebSocketSession.attribute ( String name,
Object value )

◆ close()

CompletionStage< Void > dev.rafex.ether.websocket.core.WebSocketSession.close ( WebSocketCloseStatus status)

Implemented in dev.rafex.ether.websocket.jetty12.JettyWebSocketSession.

References dev.rafex.ether.websocket.core.WebSocketCloseStatus().

Here is the call graph for this function:

◆ headerFirst()

String dev.rafex.ether.websocket.core.WebSocketSession.headerFirst ( String name)

◆ headers()

Map< String, List< String > > dev.rafex.ether.websocket.core.WebSocketSession.headers ( )

◆ id()

String dev.rafex.ether.websocket.core.WebSocketSession.id ( )

◆ isOpen()

boolean dev.rafex.ether.websocket.core.WebSocketSession.isOpen ( )

◆ path()

String dev.rafex.ether.websocket.core.WebSocketSession.path ( )

◆ pathParam()

String dev.rafex.ether.websocket.core.WebSocketSession.pathParam ( String name)

◆ pathParams()

Map< String, String > dev.rafex.ether.websocket.core.WebSocketSession.pathParams ( )

◆ queryAll()

List< String > dev.rafex.ether.websocket.core.WebSocketSession.queryAll ( String name)

◆ queryFirst()

String dev.rafex.ether.websocket.core.WebSocketSession.queryFirst ( String name)

◆ queryParams()

Map< String, List< String > > dev.rafex.ether.websocket.core.WebSocketSession.queryParams ( )

◆ sendBinary()

CompletionStage< Void > dev.rafex.ether.websocket.core.WebSocketSession.sendBinary ( ByteBuffer data)

◆ sendText()

CompletionStage< Void > dev.rafex.ether.websocket.core.WebSocketSession.sendText ( String text)

◆ subprotocol()

String dev.rafex.ether.websocket.core.WebSocketSession.subprotocol ( )

The documentation for this interface was generated from the following file:
  • ether-websocket-core/ether-websocket-core/src/main/java/dev/rafex/ether/websocket/core/WebSocketSession.java