Class JettyEchoEndpoint
- java.lang.Object
-
- org.apache.axis2.transport.testkit.http.JettyEndpoint
-
- org.apache.axis2.transport.testkit.http.JettyEchoEndpoint
-
- All Implemented Interfaces:
MessageContextValidator
,InOutEndpoint
public class JettyEchoEndpoint extends JettyEndpoint implements InOutEndpoint, MessageContextValidator
-
-
Constructor Summary
Constructors Constructor Description JettyEchoEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEndpointErrorListener(EndpointErrorListener listener)
protected void
handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
removeEndpointErrorListener(EndpointErrorListener listener)
void
validate(MessageContext msgContext, boolean isResponse)
-
-
-
Method Detail
-
handle
protected void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Specified by:
handle
in classJettyEndpoint
- Throws:
javax.servlet.ServletException
IOException
-
validate
public void validate(MessageContext msgContext, boolean isResponse) throws Exception
- Specified by:
validate
in interfaceMessageContextValidator
- Throws:
Exception
-
addEndpointErrorListener
public void addEndpointErrorListener(EndpointErrorListener listener)
- Specified by:
addEndpointErrorListener
in interfaceInOutEndpoint
-
removeEndpointErrorListener
public void removeEndpointErrorListener(EndpointErrorListener listener)
- Specified by:
removeEndpointErrorListener
in interfaceInOutEndpoint
-
-