public interface WebSocketRequest
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection()
Get
Connection. |
String |
getFirstHeaderValue(String name)
Get the first header value from the
List of header values corresponding to the name. |
String |
getHeader(String name)
Return the header values corresponding to the name.
|
Map<String,List<String>> |
getHeaders()
Get request headers.
|
Map<String,List<String>> |
getParameterMap()
Return the request parameters associated with the request.
|
String |
getQueryString()
Get query string.
|
String |
getRequestPath()
Get request path.
|
URI |
getRequestURI()
Get request URI.
|
boolean |
isSecure()
Get information about connection secure state.
|
void |
putSingleHeader(String headerName,
String headerValue)
Put single header value into headers map.
|
void |
setRequestPath(String requestPath)
Set request path.
|
Map<String,List<String>> getHeaders()
String getHeader(String name)
name - header name.List of header values iff found, null otherwise.String getFirstHeaderValue(String name)
List of header values corresponding to the name.name - header name.String value iff it exists, null otherwise.void putSingleHeader(String headerName, String headerValue)
headerName - header name.headerValue - header value.String getRequestPath()
void setRequestPath(String requestPath)
requestPath - request path to be set.URI getRequestURI()
String getQueryString()
Connection getConnection()
Connection.boolean isSecure()
true if connection is secure, false otherwise.Copyright © 2012-2013. All Rights Reserved.