|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.ServletRequestWrapper javax.servlet.http.HttpServletRequestWrapper weblogic.websocket.WSHandshakeRequest
@Deprecated public class WSHandshakeRequest
Defines an object to provide the WebSocket opening handshake request information to
a WebSocketListener
. The container creates a
WSHandshakeRequest
object and passes it as an argument to the
accept
method of a WebSocket listener.
Except for providing HTTP request information, including the parameter name and
values, cookies, etc, WSHandshakeRequest
provides additional
WebSocket Protocol specific data, such as the WebSocket version, WebSocket
subprotocols, etc.
Field Summary |
---|
Fields inherited from interface javax.servlet.http.HttpServletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary | |
---|---|
WSHandshakeRequest(WebSocketContext context,
HttpServletRequest request)
Deprecated. Constructs a new instance of WSHandshakeRequest. |
Method Summary | |
---|---|
String[] |
getExtensions()
Deprecated. Returns extensions in the handshake request. |
String |
getOrigin()
Deprecated. Returns "Origin" header in the handshake request. |
String |
getResourcePath()
Deprecated. Returns the resource path of the WebSocket. |
String[] |
getSubProtocols()
Deprecated. Returns subprotocols in the handshake request. |
int |
getVersion()
Deprecated. Returns the WebSocket version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSHandshakeRequest(WebSocketContext context, HttpServletRequest request)
context
- instance of WebSocketContext
request
- instance of HttpServletRequest
HandshakeException
Method Detail |
---|
public String getOrigin()
public String getResourcePath()
public String[] getSubProtocols()
public String[] getExtensions()
public int getVersion()
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |