Package io.quarkus.websockets.next
Interface HandshakeRequest
public interface HandshakeRequest
Provides some useful information about the initial handshake request.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSee Sec-WebSocket-Accept.static final Stringstatic final StringSee Sec-WebSocket-Key.static final Stringstatic final String -
Method Summary
-
Field Details
-
SEC_WEBSOCKET_KEY
See Sec-WebSocket-Key.- See Also:
-
SEC_WEBSOCKET_EXTENSIONS
- See Also:
-
SEC_WEBSOCKET_ACCEPT
See Sec-WebSocket-Accept.- See Also:
-
SEC_WEBSOCKET_PROTOCOL
- See Also:
-
SEC_WEBSOCKET_VERSION
- See Also:
-
-
Method Details
-
header
The name is case insensitive.- Parameters:
name-- Returns:
- the first header value for the given header name, or
null - See Also:
-
headers
The name is case insensitive.- Parameters:
name-- Returns:
- an immutable list of header values for the given header name, never
null - See Also:
-
headers
Returned header names are lower case.- Returns:
- an immutable map of header names to header values
-
scheme
String scheme()- Returns:
- the scheme
-
host
String host()- Returns:
- the host
-
port
int port()- Returns:
- the port
-
path
String path()- Returns:
- the path
-
query
String query()- Returns:
- the query string
-