Class ServerUpgradeRequestDelegate
java.lang.Object
org.eclipse.jetty.server.Request.Wrapper
org.eclipse.jetty.websocket.server.internal.ServerUpgradeRequestDelegate
- All Implemented Interfaces:
Content.Source
,Request
,Attributes
,ServerUpgradeRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
Attributes.Layer, Attributes.Lazy, Attributes.Mapped, Attributes.Synthetic
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.Request
Request.AttributesWrapper, Request.AuthenticationState, Request.Handler, Request.ServeAs, Request.Wrapper
-
Field Summary
Fields inherited from interface org.eclipse.jetty.util.Attributes
NULL
Fields inherited from interface org.eclipse.jetty.server.Request
COOKIE_ATTRIBUTE, DEFAULT_LOCALES, LOG
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.jetty.server.Request.Wrapper
addFailureListener, addHttpStreamWrapper, addIdleTimeoutListener, asAttributeMap, clearAttributes, consumeAvailable, demand, fail, getAttribute, getAttributeNameSet, getBeginNanoTime, getComponents, getConnectionMetaData, getContext, getHeaders, getHeadersNanoTime, getHttpURI, getId, getLength, getMethod, getSession, getTrailers, getTunnelSupport, isSecure, push, read, removeAttribute, setAttribute, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.Attributes
asAttributeMap, clearAttributes, equals, getAttribute, getAttributeNameSet, hashCode, removeAttribute, setAttribute
Methods inherited from interface org.eclipse.jetty.io.Content.Source
fail, fail, getLength, rewind
Methods inherited from interface org.eclipse.jetty.server.Request
addFailureListener, addHttpStreamWrapper, addIdleTimeoutListener, consumeAvailable, demand, getBeginNanoTime, getComponents, getConnectionMetaData, getContext, getHeaders, getHeadersNanoTime, getHttpURI, getId, getMethod, getSession, getTrailers, getTunnelSupport, isSecure, push, read
-
Constructor Details
-
ServerUpgradeRequestDelegate
-
-
Method Details
-
getWrapped
- Overrides:
getWrapped
in classRequest.Wrapper
-
getExtensions
- Specified by:
getExtensions
in interfaceServerUpgradeRequest
- Returns:
- the list of extensions provided by the client
-
getSubProtocols
- Specified by:
getSubProtocols
in interfaceServerUpgradeRequest
- Returns:
- the list of sub-protocols provided by the client
-
hasSubProtocol
- Specified by:
hasSubProtocol
in interfaceServerUpgradeRequest
- Parameters:
subProtocol
- the sub-protocol to search- Returns:
- whether this request contains the given sub-protocol
-