Package io.quarkus.websockets.next
Interface HttpUpgradeCheck.HttpUpgradeContext
- All Known Implementing Classes:
HttpUpgradeContextImpl
- Enclosing interface:
HttpUpgradeCheck
public static interface HttpUpgradeCheck.HttpUpgradeContext
-
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.http.HttpServerRequestGets the value of a single path parameterio.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> userData()
-
Method Details
-
userData
UserData userData()- Returns:
- userData
UserData; mutable user data to associate with an upgraded connection - See Also:
-
pathParam
Gets the value of a single path parameter- Parameters:
name- the name of parameter as defined in path declaration- Returns:
- the actual value of the parameter or null if it doesn't exist
- See Also:
-
httpRequest
io.vertx.core.http.HttpServerRequest httpRequest()- Returns:
- httpRequest
HttpServerRequest; the HTTP 1.X request employing the 'Upgrade' header
-
securityIdentity
io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> securityIdentity()- Returns:
- securityIdentity
SecurityIdentity; the identity is null if the Quarkus Security extension is absent
-
endpointId
String endpointId()- Returns:
WebSocket.endpointId()
-