Class UpgradeRequestAdapter
java.lang.Object
org.eclipse.jetty.ee10.websocket.jakarta.common.UpgradeRequestAdapter
- All Implemented Interfaces:
UpgradeRequest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionFor obtainingPathParam
values from the Request context path.ForSession.getUserPrincipal()
-
Constructor Details
-
UpgradeRequestAdapter
public UpgradeRequestAdapter() -
UpgradeRequestAdapter
-
-
Method Details
-
getUserPrincipal
Description copied from interface:UpgradeRequest
ForSession.getUserPrincipal()
- Specified by:
getUserPrincipal
in interfaceUpgradeRequest
- Returns:
- the User
Principal
present during the Upgrade Request
-
getRequestURI
- Specified by:
getRequestURI
in interfaceUpgradeRequest
- Returns:
- the full URI of this request.
-
getPathInContext
Description copied from interface:UpgradeRequest
For obtainingPathParam
values from the Request context path.- Specified by:
getPathInContext
in interfaceUpgradeRequest
- Returns:
- the path in Context.
-