public class GrizzlyHttpRequestAdapter extends Object implements HttpRequest
Constructor and Description |
---|
GrizzlyHttpRequestAdapter(org.glassfish.grizzly.filterchain.FilterChainContext filterChainContext,
org.glassfish.grizzly.http.HttpContent httpContent) |
Modifier and Type | Method and Description |
---|---|
HttpEntity |
getEntity() |
Collection<String> |
getHeaderNames() |
String |
getHeaderValue(String headerName) |
Collection<String> |
getHeaderValues(String headerName) |
InputStreamHttpEntity |
getInputStreamEntity() |
String |
getMethod() |
String |
getPath() |
HttpProtocol |
getProtocol() |
String |
getUri() |
public GrizzlyHttpRequestAdapter(org.glassfish.grizzly.filterchain.FilterChainContext filterChainContext, org.glassfish.grizzly.http.HttpContent httpContent)
public HttpProtocol getProtocol()
getProtocol
in interface HttpRequest
public String getPath()
getPath
in interface HttpRequest
public String getMethod()
getMethod
in interface HttpRequest
public Collection<String> getHeaderNames()
getHeaderNames
in interface HttpMessage
public String getHeaderValue(String headerName)
getHeaderValue
in interface HttpMessage
headerName
- name of the headerpublic Collection<String> getHeaderValues(String headerName)
getHeaderValues
in interface HttpMessage
headerName
- name of the headerpublic HttpEntity getEntity()
getEntity
in interface HttpMessage
EmptyHttpEntity
is returnedpublic String getUri()
getUri
in interface HttpRequest
public InputStreamHttpEntity getInputStreamEntity()
getInputStreamEntity
in interface HttpRequest
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.