org.qtunes.web
Class WebConnectionWrapper
java.lang.Object
   org.qtunes.web.WebConnectionWrapper
org.qtunes.web.WebConnectionWrapper
- All Implemented Interfaces: 
- WebConnection
- public class WebConnectionWrapper 
- extends java.lang.Object- implements WebConnection
An WebConnection that wraps another.
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
con
protected WebConnection con
WebConnectionWrapper
public WebConnectionWrapper(WebConnection con)
getRemoteAddress
public java.net.InetSocketAddress getRemoteAddress()
- 
- Specified by:
- getRemoteAddressin interface- WebConnection
 
- 
 
getRequestURI
public java.net.URI getRequestURI()
- 
- Specified by:
- getRequestURIin interface- WebConnection
 
- 
 
getResponseCode
public int getResponseCode()
- 
- Specified by:
- getResponseCodein interface- WebConnection
 
- 
 
close
public void close()
           throws java.io.IOException
- 
- Specified by:
- closein interface- WebConnection
 
- 
- Throws:
- java.io.IOException
 
sendResponseHeaders
public void sendResponseHeaders(int status,
                                int length)
                         throws java.io.IOException
- 
- Specified by:
- sendResponseHeadersin interface- WebConnection
 
- 
- Throws:
- java.io.IOException
 
getOutputStream
public java.io.OutputStream getOutputStream()
- 
- Specified by:
- getOutputStreamin interface- WebConnection
 
- 
 
getInputStream
public java.io.InputStream getInputStream()
- 
- Specified by:
- getInputStreamin interface- WebConnection
 
- 
 
getMethod
public java.lang.String getMethod()
- 
- Specified by:
- getMethodin interface- WebConnection
 
- 
 
getRequestHeader
public java.lang.String getRequestHeader(java.lang.String key)
- 
- Specified by:
- getRequestHeaderin interface- WebConnection
 
- 
 
getRequestHeaders
public java.util.List<java.lang.String> getRequestHeaders(java.lang.String key)
- 
- Specified by:
- getRequestHeadersin interface- WebConnection
 
- 
 
getRequestHeaderNames
public java.util.Collection<java.lang.String> getRequestHeaderNames()
- 
- Specified by:
- getRequestHeaderNamesin interface- WebConnection
 
- 
 
setResponseHeader
public void setResponseHeader(java.lang.String key,
                              java.lang.String value)
- 
- Specified by:
- setResponseHeaderin interface- WebConnection
 
- 
 
addResponseHeader
public void addResponseHeader(java.lang.String key,
                              java.lang.String value)
- 
- Specified by:
- addResponseHeaderin interface- WebConnection
 
- 
 
setResponseHeader
public void setResponseHeader(java.lang.String key,
                              java.util.Date value)
- 
- Specified by:
- setResponseHeaderin interface- WebConnection
 
- 
 
getParameter
public java.lang.String getParameter(java.lang.String key)
- 
- Specified by:
- getParameterin interface- WebConnection
 
- 
 
getParameterValues
public java.util.List<java.lang.String> getParameterValues(java.lang.String key)
- 
- Specified by:
- getParameterValuesin interface- WebConnection
 
- 
 
getParameters
public java.util.Map<java.lang.String,java.lang.Object> getParameters()
- 
- Specified by:
- getParametersin interface- WebConnection
 
- 
 
getWebService
public WebService getWebService()
- 
- Specified by:
- getWebServicein interface- WebConnection
 
-