org.apache.axis2.transport.http.server
Class AxisHttpRequestImpl

java.lang.Object
  extended by org.apache.axis2.transport.http.server.AxisHttpRequestImpl
All Implemented Interfaces:
AxisHttpRequest, org.apache.http.HttpMessage

public class AxisHttpRequestImpl
extends java.lang.Object
implements AxisHttpRequest


Constructor Summary
AxisHttpRequestImpl(AxisHttpConnection conn, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpProcessor httpproc, org.apache.http.protocol.HttpContext context)
           
 
Method Summary
 void addHeader(org.apache.http.Header header)
           
 void addHeader(java.lang.String name, java.lang.String value)
           
 boolean containsHeader(java.lang.String name)
           
 org.apache.http.Header[] getAllHeaders()
           
 java.lang.String getContentType()
           
 org.apache.http.Header getFirstHeader(java.lang.String name)
           
 org.apache.http.Header[] getHeaders(java.lang.String name)
           
 java.io.InputStream getInputStream()
           
 org.apache.http.Header getLastHeader(java.lang.String name)
           
 java.lang.String getMethod()
           
 org.apache.http.params.HttpParams getParams()
           
 org.apache.http.ProtocolVersion getProtocolVersion()
           
 java.lang.String getRequestURI()
           
 org.apache.http.HeaderIterator headerIterator()
           
 org.apache.http.HeaderIterator headerIterator(java.lang.String name)
           
 void prepare()
           
 void removeHeader(org.apache.http.Header header)
           
 void removeHeaders(java.lang.String name)
           
 void setHeader(org.apache.http.Header header)
           
 void setHeader(java.lang.String name, java.lang.String value)
           
 void setHeaders(org.apache.http.Header[] headers)
           
 void setParams(org.apache.http.params.HttpParams params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 java.io.IOException,
                    org.apache.http.HttpException
Throws:
java.io.IOException
org.apache.http.HttpException

getMethod

public java.lang.String getMethod()
Specified by:
getMethod in interface AxisHttpRequest

getRequestURI

public java.lang.String getRequestURI()
Specified by:
getRequestURI in interface AxisHttpRequest

getProtocolVersion

public org.apache.http.ProtocolVersion getProtocolVersion()
Specified by:
getProtocolVersion in interface org.apache.http.HttpMessage

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface AxisHttpRequest

getInputStream

public java.io.InputStream getInputStream()
Specified by:
getInputStream in interface AxisHttpRequest

addHeader

public void addHeader(org.apache.http.Header header)
Specified by:
addHeader in interface org.apache.http.HttpMessage

addHeader

public void addHeader(java.lang.String name,
                      java.lang.String value)
Specified by:
addHeader in interface org.apache.http.HttpMessage

containsHeader

public boolean containsHeader(java.lang.String name)
Specified by:
containsHeader in interface org.apache.http.HttpMessage

getAllHeaders

public org.apache.http.Header[] getAllHeaders()
Specified by:
getAllHeaders in interface org.apache.http.HttpMessage

getFirstHeader

public org.apache.http.Header getFirstHeader(java.lang.String name)
Specified by:
getFirstHeader in interface org.apache.http.HttpMessage

getHeaders

public org.apache.http.Header[] getHeaders(java.lang.String name)
Specified by:
getHeaders in interface org.apache.http.HttpMessage

getLastHeader

public org.apache.http.Header getLastHeader(java.lang.String name)
Specified by:
getLastHeader in interface org.apache.http.HttpMessage

headerIterator

public org.apache.http.HeaderIterator headerIterator()
Specified by:
headerIterator in interface org.apache.http.HttpMessage

headerIterator

public org.apache.http.HeaderIterator headerIterator(java.lang.String name)
Specified by:
headerIterator in interface org.apache.http.HttpMessage

removeHeader

public void removeHeader(org.apache.http.Header header)
Specified by:
removeHeader in interface org.apache.http.HttpMessage

removeHeaders

public void removeHeaders(java.lang.String name)
Specified by:
removeHeaders in interface org.apache.http.HttpMessage

setHeader

public void setHeader(org.apache.http.Header header)
Specified by:
setHeader in interface org.apache.http.HttpMessage

setHeader

public void setHeader(java.lang.String name,
                      java.lang.String value)
Specified by:
setHeader in interface org.apache.http.HttpMessage

setHeaders

public void setHeaders(org.apache.http.Header[] headers)
Specified by:
setHeaders in interface org.apache.http.HttpMessage

getParams

public org.apache.http.params.HttpParams getParams()
Specified by:
getParams in interface org.apache.http.HttpMessage

setParams

public void setParams(org.apache.http.params.HttpParams params)
Specified by:
setParams in interface org.apache.http.HttpMessage


Copyright © 2007 Apache Web Services Project. All Rights Reserved.