public class GrizzlyHttpServerRequest extends Object implements cloud.piranha.api.HttpServerRequest
| Constructor and Description |
|---|
GrizzlyHttpServerRequest(org.glassfish.grizzly.http.server.Request request)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHeader(String name)
Get the header.
|
Iterator<String> |
getHeaderNames()
Get the header names.
|
InputStream |
getInputStream()
Get the input stream.
|
String |
getLocalAddress()
Get the local address.
|
String |
getLocalHostname()
Get the local hostname.
|
int |
getLocalPort()
Get the local port.
|
String |
getMethod()
Get the method.
|
String |
getQueryParameter(String name)
Get the query parameter.
|
String |
getQueryString()
Get the query string.
|
String |
getRemoteAddress()
Get the remote address.
|
String |
getRemoteHostname()
Get the remote hostname.
|
int |
getRemotePort()
Get the remote port.
|
String |
getRequestTarget()
Get the request target.
|
public GrizzlyHttpServerRequest(org.glassfish.grizzly.http.server.Request request)
request - the Grizzly request.public String getHeader(String name)
getHeader in interface cloud.piranha.api.HttpServerRequestname - the name.public Iterator<String> getHeaderNames()
getHeaderNames in interface cloud.piranha.api.HttpServerRequestpublic InputStream getInputStream()
getInputStream in interface cloud.piranha.api.HttpServerRequestpublic String getLocalAddress()
getLocalAddress in interface cloud.piranha.api.HttpServerRequestpublic String getLocalHostname()
getLocalHostname in interface cloud.piranha.api.HttpServerRequestpublic int getLocalPort()
getLocalPort in interface cloud.piranha.api.HttpServerRequestpublic String getMethod()
getMethod in interface cloud.piranha.api.HttpServerRequestpublic String getQueryParameter(String name)
getQueryParameter in interface cloud.piranha.api.HttpServerRequestname - the name.public String getQueryString()
getQueryString in interface cloud.piranha.api.HttpServerRequestpublic String getRemoteAddress()
getRemoteAddress in interface cloud.piranha.api.HttpServerRequestpublic String getRemoteHostname()
getRemoteHostname in interface cloud.piranha.api.HttpServerRequestpublic int getRemotePort()
getRemotePort in interface cloud.piranha.api.HttpServerRequestpublic String getRequestTarget()
getRequestTarget in interface cloud.piranha.api.HttpServerRequestCopyright © 2020. All rights reserved.