org.apache.axis2.transport.testkit.http
Class JettyEchoEndpoint

java.lang.Object
  extended by org.apache.axis2.transport.testkit.http.JettyEndpoint
      extended by org.apache.axis2.transport.testkit.http.JettyEchoEndpoint
All Implemented Interfaces:
MessageContextValidator, InOutEndpoint

public class JettyEchoEndpoint
extends JettyEndpoint
implements InOutEndpoint, MessageContextValidator


Constructor Summary
JettyEchoEndpoint()
           
 
Method Summary
 void addEndpointErrorListener(EndpointErrorListener listener)
           
protected  void handle(java.lang.String pathParams, org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response)
           
 void removeEndpointErrorListener(EndpointErrorListener listener)
           
 void validate(org.apache.axis2.context.MessageContext msgContext, boolean isResponse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyEchoEndpoint

public JettyEchoEndpoint()
Method Detail

handle

protected void handle(java.lang.String pathParams,
                      org.mortbay.http.HttpRequest request,
                      org.mortbay.http.HttpResponse response)
               throws org.mortbay.http.HttpException,
                      java.io.IOException
Specified by:
handle in class JettyEndpoint
Throws:
org.mortbay.http.HttpException
java.io.IOException

validate

public void validate(org.apache.axis2.context.MessageContext msgContext,
                     boolean isResponse)
              throws java.lang.Exception
Specified by:
validate in interface MessageContextValidator
Throws:
java.lang.Exception

addEndpointErrorListener

public void addEndpointErrorListener(EndpointErrorListener listener)
Specified by:
addEndpointErrorListener in interface InOutEndpoint

removeEndpointErrorListener

public void removeEndpointErrorListener(EndpointErrorListener listener)
Specified by:
removeEndpointErrorListener in interface InOutEndpoint


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.