org.apache.ws.commons.tcpmon.core.filter.http
Class HttpResponseFilter

java.lang.Object
  extended by org.apache.ws.commons.tcpmon.core.filter.http.HttpFilter
      extended by org.apache.ws.commons.tcpmon.core.filter.http.HttpResponseFilter
All Implemented Interfaces:
StreamFilter

public class HttpResponseFilter
extends HttpFilter

Filter that parses HTTP responses and invokes a set of HTTPResponseHandler implementations.


Constructor Summary
HttpResponseFilter(boolean decodeTransferEncoding)
           
 
Method Summary
 void addHandler(HttpResponseHandler handler)
           
protected  void completed()
           
protected  String processFirstLine(String firstLine)
           
protected  void processHeaders(Headers headers)
           
 
Methods inherited from class org.apache.ws.commons.tcpmon.core.filter.http.HttpFilter
invoke, isComplete, isReadOnly, setContentFilterFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpResponseFilter

public HttpResponseFilter(boolean decodeTransferEncoding)
Method Detail

addHandler

public void addHandler(HttpResponseHandler handler)

processFirstLine

protected String processFirstLine(String firstLine)
Specified by:
processFirstLine in class HttpFilter

processHeaders

protected void processHeaders(Headers headers)
Specified by:
processHeaders in class HttpFilter

completed

protected void completed()
Specified by:
completed in class HttpFilter


Copyright © The Apache Software Foundation. All Rights Reserved.