ch.qos.logback.access.tomcat
Class TomcatServerAdapter
java.lang.Object
ch.qos.logback.access.tomcat.TomcatServerAdapter
- All Implemented Interfaces:
- ServerAdapter
public class TomcatServerAdapter
- extends Object
- implements ServerAdapter
A tomcat specific implementation of the ServerAdapter
interface.
- Author:
- Sébastien Pennec
Constructor Summary |
TomcatServerAdapter(org.apache.catalina.connector.Request tomcatRequest,
org.apache.catalina.connector.Response tomcatResponse)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TomcatServerAdapter
public TomcatServerAdapter(org.apache.catalina.connector.Request tomcatRequest,
org.apache.catalina.connector.Response tomcatResponse)
getContentLength
public long getContentLength()
- Specified by:
getContentLength
in interface ServerAdapter
getStatusCode
public int getStatusCode()
- Specified by:
getStatusCode
in interface ServerAdapter
getResponseHeader
public String getResponseHeader(String key)
- Specified by:
getResponseHeader
in interface ServerAdapter
getResponseHeaderNameList
public List<String> getResponseHeaderNameList()
- Specified by:
getResponseHeaderNameList
in interface ServerAdapter
Copyright © 2005-2008 QOS.ch. All Rights Reserved.