Class JavaxClientUpgradeRequest
java.lang.Object
org.eclipse.jetty.client.HttpRequest
org.eclipse.jetty.websocket.core.client.CoreClientUpgradeRequest
org.eclipse.jetty.websocket.javax.client.internal.JavaxClientUpgradeRequest
- All Implemented Interfaces:
EventListener
,Request
,Response.CompleteListener
,Response.ResponseListener
,HttpUpgrader.Factory
,UpgradeRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.client.api.Request
Request.BeginListener, Request.CommitListener, Request.Content, Request.ContentListener, Request.FailureListener, Request.HeadersListener, Request.Listener, Request.QueuedListener, Request.RequestListener, Request.SuccessListener
-
Field Summary
Fields inherited from class org.eclipse.jetty.websocket.core.client.CoreClientUpgradeRequest
futureCoreSession
-
Constructor Summary
ConstructorDescriptionJavaxClientUpgradeRequest
(JavaxWebSocketClientContainer 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, getExtensions, getSubProtocols, handleException, newHttpUpgrader, onComplete, requestComplete, send, sendAsync, setConfiguration, setExtensions, setSubProtocols, setSubProtocols, upgrade
Methods inherited from class org.eclipse.jetty.client.HttpRequest
abort, accept, addHeader, agent, attribute, body, content, content, cookie, file, file, followRedirects, getAbortCause, getAgent, getAttributes, getBody, getConnection, getContent, getConversation, getCookies, getHeaders, getHost, getIdleTimeout, getMethod, getParams, getPath, getPort, getPushListener, getQuery, getRequestListeners, getResponseListeners, getScheme, getTag, getTimeout, getTrailers, getUpgradeProtocol, getURI, getVersion, header, header, headers, host, idleTimeout, isFollowRedirects, isVersionExplicit, listener, method, method, onComplete, onRequestBegin, onRequestCommit, onRequestContent, onRequestFailure, onRequestHeaders, onRequestQueued, onRequestSuccess, onResponseBegin, onResponseContent, onResponseContentAsync, onResponseContentDemanded, onResponseFailure, onResponseHeader, onResponseHeaders, onResponseSuccess, param, path, port, pushListener, scheme, send, tag, timeout, toString, trailers, upgradeProtocol, version
-
Constructor Details
-
JavaxClientUpgradeRequest
public JavaxClientUpgradeRequest(JavaxWebSocketClientContainer 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.
-