org.outerj.xreporter.http
Class HttpConnectorImpl.ReportsHandler

java.lang.Object
  extended byorg.mortbay.http.handler.AbstractHttpHandler
      extended byorg.outerj.xreporter.http.HttpConnectorImpl.ReportsHandler
All Implemented Interfaces:
org.mortbay.http.HttpHandler, org.apache.avalon.framework.activity.Initializable, org.mortbay.util.LifeCycle, java.io.Serializable
Enclosing class:
HttpConnectorImpl

protected class HttpConnectorImpl.ReportsHandler
extends org.mortbay.http.handler.AbstractHttpHandler
implements org.apache.avalon.framework.activity.Initializable

See Also:
Serialized Form

Field Summary
protected  int[] columnsPattern
           
protected  int[] destroyPattern
           
protected  int[] namedStepPattern
           
protected  int[] orderByPattern
           
protected  int[] outputPattern
           
protected  int[] qbePattern
           
protected  int[] reportsPattern
           
protected  int[] urlPattern
           
 
Constructor Summary
protected HttpConnectorImpl.ReportsHandler()
           
 
Method Summary
 void handle(java.lang.String s, java.lang.String s1, org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response)
           
protected  void handleColumns(org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response, java.lang.String reportInstanceId)
           
protected  void handleNamedStep(org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response, java.lang.String reportInstanceId, java.lang.String stepName)
           
protected  void handleOrderBy(org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response, java.lang.String reportInstanceId)
           
protected  void handleQbe(org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response, java.lang.String reportInstanceId)
           
protected  void handleReportDestruction(org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response, java.lang.String reportInstanceId)
           
protected  void handleReportInstance(org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response, java.lang.String reportInstanceId)
           
protected  void handleReportOutput(org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response, java.lang.String reportInstanceId)
           
protected  void handleReports(org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response)
           
protected  void handleUrl(org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response, java.lang.String reportInstanceId)
           
 void initialize()
           
 
Methods inherited from class org.mortbay.http.handler.AbstractHttpHandler
getHttpContext, getName, handleTrace, initialize, isStarted, setName, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

reportsPattern

protected int[] reportsPattern

outputPattern

protected int[] outputPattern

namedStepPattern

protected int[] namedStepPattern

orderByPattern

protected int[] orderByPattern

qbePattern

protected int[] qbePattern

columnsPattern

protected int[] columnsPattern

urlPattern

protected int[] urlPattern

destroyPattern

protected int[] destroyPattern
Constructor Detail

HttpConnectorImpl.ReportsHandler

protected HttpConnectorImpl.ReportsHandler()
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Specified by:
initialize in interface org.apache.avalon.framework.activity.Initializable
Throws:
java.lang.Exception

handle

public void handle(java.lang.String s,
                   java.lang.String s1,
                   org.mortbay.http.HttpRequest request,
                   org.mortbay.http.HttpResponse response)
            throws org.mortbay.http.HttpException,
                   java.io.IOException
Specified by:
handle in interface org.mortbay.http.HttpHandler
Throws:
org.mortbay.http.HttpException
java.io.IOException

handleReportDestruction

protected void handleReportDestruction(org.mortbay.http.HttpRequest request,
                                       org.mortbay.http.HttpResponse response,
                                       java.lang.String reportInstanceId)
                                throws java.io.IOException
Throws:
java.io.IOException

handleNamedStep

protected void handleNamedStep(org.mortbay.http.HttpRequest request,
                               org.mortbay.http.HttpResponse response,
                               java.lang.String reportInstanceId,
                               java.lang.String stepName)
                        throws java.io.IOException
Throws:
java.io.IOException

handleReportInstance

protected void handleReportInstance(org.mortbay.http.HttpRequest request,
                                    org.mortbay.http.HttpResponse response,
                                    java.lang.String reportInstanceId)
                             throws java.io.IOException
Throws:
java.io.IOException

handleReportOutput

protected void handleReportOutput(org.mortbay.http.HttpRequest request,
                                  org.mortbay.http.HttpResponse response,
                                  java.lang.String reportInstanceId)
                           throws java.io.IOException
Throws:
java.io.IOException

handleOrderBy

protected void handleOrderBy(org.mortbay.http.HttpRequest request,
                             org.mortbay.http.HttpResponse response,
                             java.lang.String reportInstanceId)
                      throws java.io.IOException
Throws:
java.io.IOException

handleQbe

protected void handleQbe(org.mortbay.http.HttpRequest request,
                         org.mortbay.http.HttpResponse response,
                         java.lang.String reportInstanceId)
                  throws java.io.IOException
Throws:
java.io.IOException

handleColumns

protected void handleColumns(org.mortbay.http.HttpRequest request,
                             org.mortbay.http.HttpResponse response,
                             java.lang.String reportInstanceId)
                      throws java.io.IOException
Throws:
java.io.IOException

handleUrl

protected void handleUrl(org.mortbay.http.HttpRequest request,
                         org.mortbay.http.HttpResponse response,
                         java.lang.String reportInstanceId)
                  throws java.io.IOException
Throws:
java.io.IOException

handleReports

protected void handleReports(org.mortbay.http.HttpRequest request,
                             org.mortbay.http.HttpResponse response)
                      throws java.io.IOException
Throws:
java.io.IOException