public class WebSocketRequest extends Object
| Constructor and Description |
|---|
WebSocketRequest() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
String |
getFirstHeaderValue(String name)
Gets the first header value from the
List of header values corresponding to the name. |
String |
getHeader(String name)
Returns the header values corresponding to the name.
|
Map<String,String> |
getHeaders() |
String |
getQueryString() |
String |
getRequestPath() |
String |
getRequestURI() |
boolean |
isSecure() |
void |
setRequestPath(String requestPath) |
public String getHeader(String name)
name - header name.List of header values iff found, null otherwise.public String getFirstHeaderValue(String name)
List of header values corresponding to the name.
TODO - remove?name - header name.String value iff it exists, null otherwise.public String getRequestPath()
public void setRequestPath(String requestPath)
requestPath - TODOpublic String getRequestURI()
public String getQueryString()
public Connection getConnection()
public boolean isSecure()
Copyright © 2012-2013. All Rights Reserved.