Class JakartaClientUpgradeRequest
java.lang.Object
org.eclipse.jetty.websocket.core.client.CoreClientUpgradeRequest
org.eclipse.jetty.ee10.websocket.jakarta.client.internal.JakartaClientUpgradeRequest
- All Implemented Interfaces:
EventListener
,HttpUpgrader.Factory
,Response.CompleteListener
,Response.ResponseListener
,UpgradeRequest
-
Constructor Summary
ConstructorDescriptionJakartaClientUpgradeRequest
(JakartaWebSocketClientContainer clientContainer, WebSocketCoreClient coreClient, URI requestURI, Object websocketPojo) -
Method Summary
Modifier and TypeMethodDescriptionFor obtainingPathParam
values from the Request context path.ForSession.getUserPrincipal()
Methods inherited from class org.eclipse.jetty.websocket.core.client.CoreClientUpgradeRequest
addExtensions, addExtensions, addListener, customize, from, getCookies, getExtensions, getHeaders, getMethod, getSubProtocols, getURI, getVersion, handleException, headers, listener, newHttpUpgrader, onComplete, requestComplete, send, sendAsync, setConfiguration, setExtensions, setSubProtocols, setSubProtocols, timeout, upgrade
-
Constructor Details
-
JakartaClientUpgradeRequest
public JakartaClientUpgradeRequest(JakartaWebSocketClientContainer clientContainer, WebSocketCoreClient coreClient, URI requestURI, Object websocketPojo)
-
-
Method Details
-
getFrameHandler
- Specified by:
getFrameHandler
in classCoreClientUpgradeRequest
-
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.
-