Class AxisHttpRequestImpl
- java.lang.Object
-
- org.apache.axis2.transport.http.server.AxisHttpRequestImpl
-
- All Implemented Interfaces:
AxisHttpRequest
,org.apache.http.HttpMessage
public class AxisHttpRequestImpl extends Object implements AxisHttpRequest
-
-
Constructor Summary
Constructors Constructor Description AxisHttpRequestImpl(AxisHttpConnection conn, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpProcessor httpproc, org.apache.http.protocol.HttpContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHeader(String name, String value)
void
addHeader(org.apache.http.Header header)
boolean
containsHeader(String name)
org.apache.http.Header[]
getAllHeaders()
String
getContentType()
org.apache.http.Header
getFirstHeader(String name)
org.apache.http.Header[]
getHeaders(String name)
InputStream
getInputStream()
org.apache.http.Header
getLastHeader(String name)
String
getMethod()
org.apache.http.params.HttpParams
getParams()
org.apache.http.ProtocolVersion
getProtocolVersion()
String
getRequestURI()
org.apache.http.HeaderIterator
headerIterator()
org.apache.http.HeaderIterator
headerIterator(String name)
void
prepare()
void
removeHeader(org.apache.http.Header header)
void
removeHeaders(String name)
void
setHeader(String name, String value)
void
setHeader(org.apache.http.Header header)
void
setHeaders(org.apache.http.Header[] headers)
void
setParams(org.apache.http.params.HttpParams params)
-
-
-
Constructor Detail
-
AxisHttpRequestImpl
public AxisHttpRequestImpl(AxisHttpConnection conn, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpProcessor httpproc, org.apache.http.protocol.HttpContext context)
-
-
Method Detail
-
prepare
public void prepare() throws IOException, org.apache.http.HttpException
- Throws:
IOException
org.apache.http.HttpException
-
getMethod
public String getMethod()
- Specified by:
getMethod
in interfaceAxisHttpRequest
-
getRequestURI
public String getRequestURI()
- Specified by:
getRequestURI
in interfaceAxisHttpRequest
-
getProtocolVersion
public org.apache.http.ProtocolVersion getProtocolVersion()
- Specified by:
getProtocolVersion
in interfaceorg.apache.http.HttpMessage
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceAxisHttpRequest
-
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream
in interfaceAxisHttpRequest
-
addHeader
public void addHeader(org.apache.http.Header header)
- Specified by:
addHeader
in interfaceorg.apache.http.HttpMessage
-
addHeader
public void addHeader(String name, String value)
- Specified by:
addHeader
in interfaceorg.apache.http.HttpMessage
-
containsHeader
public boolean containsHeader(String name)
- Specified by:
containsHeader
in interfaceorg.apache.http.HttpMessage
-
getAllHeaders
public org.apache.http.Header[] getAllHeaders()
- Specified by:
getAllHeaders
in interfaceorg.apache.http.HttpMessage
-
getFirstHeader
public org.apache.http.Header getFirstHeader(String name)
- Specified by:
getFirstHeader
in interfaceorg.apache.http.HttpMessage
-
getHeaders
public org.apache.http.Header[] getHeaders(String name)
- Specified by:
getHeaders
in interfaceorg.apache.http.HttpMessage
-
getLastHeader
public org.apache.http.Header getLastHeader(String name)
- Specified by:
getLastHeader
in interfaceorg.apache.http.HttpMessage
-
headerIterator
public org.apache.http.HeaderIterator headerIterator()
- Specified by:
headerIterator
in interfaceorg.apache.http.HttpMessage
-
headerIterator
public org.apache.http.HeaderIterator headerIterator(String name)
- Specified by:
headerIterator
in interfaceorg.apache.http.HttpMessage
-
removeHeader
public void removeHeader(org.apache.http.Header header)
- Specified by:
removeHeader
in interfaceorg.apache.http.HttpMessage
-
removeHeaders
public void removeHeaders(String name)
- Specified by:
removeHeaders
in interfaceorg.apache.http.HttpMessage
-
setHeader
public void setHeader(org.apache.http.Header header)
- Specified by:
setHeader
in interfaceorg.apache.http.HttpMessage
-
setHeader
public void setHeader(String name, String value)
- Specified by:
setHeader
in interfaceorg.apache.http.HttpMessage
-
setHeaders
public void setHeaders(org.apache.http.Header[] headers)
- Specified by:
setHeaders
in interfaceorg.apache.http.HttpMessage
-
getParams
public org.apache.http.params.HttpParams getParams()
- Specified by:
getParams
in interfaceorg.apache.http.HttpMessage
-
setParams
public void setParams(org.apache.http.params.HttpParams params)
- Specified by:
setParams
in interfaceorg.apache.http.HttpMessage
-
-