public class DefaultHttpRequest extends BaseHttpMessage implements HttpRequest
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() |
ParameterMap |
getQueryParams() |
String |
getUri() |
getHeaderValueIgnoreCase, getHeaderValuesIgnoreCase
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHeaderValueIgnoreCase, getHeaderValuesIgnoreCase
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 ParameterMap getQueryParams()
public InputStreamHttpEntity getInputStreamEntity()
getInputStreamEntity
in interface HttpRequest
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.