org.wso2.wsas.transport.jetty
Class Axis2RestHandler

java.lang.Object
  extended byorg.mortbay.component.AbstractLifeCycle
      extended byorg.mortbay.jetty.handler.AbstractHandler
          extended byorg.wso2.wsas.transport.jetty.Axis2Handler
              extended byorg.wso2.wsas.transport.jetty.Axis2RestHandler
All Implemented Interfaces:
org.mortbay.jetty.Handler, org.mortbay.component.LifeCycle

public class Axis2RestHandler
extends Axis2Handler


Field Summary
 
Fields inherited from class org.wso2.wsas.transport.jetty.Axis2Handler
configurationContext, log
 
Fields inherited from class org.mortbay.jetty.handler.AbstractHandler
_string
 
Fields inherited from interface org.mortbay.jetty.Handler
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST
 
Constructor Summary
Axis2RestHandler(org.apache.axis2.context.ConfigurationContext configurationContext)
           
 
Method Summary
protected  boolean processGetRequest(org.apache.axis2.context.MessageContext msgContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  boolean processPostRequest(org.apache.axis2.context.MessageContext msgContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.wso2.wsas.transport.jetty.Axis2Handler
getHeaders, getTransportHeaders, handle
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandler
doStart, doStop, getServer, setServer, toString
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mortbay.component.LifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 

Constructor Detail

Axis2RestHandler

public Axis2RestHandler(org.apache.axis2.context.ConfigurationContext configurationContext)
Method Detail

processPostRequest

protected boolean processPostRequest(org.apache.axis2.context.MessageContext msgContext,
                                     javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response)
                              throws org.apache.axis2.AxisFault
Specified by:
processPostRequest in class Axis2Handler
Throws:
org.apache.axis2.AxisFault

processGetRequest

protected boolean processGetRequest(org.apache.axis2.context.MessageContext msgContext,
                                    javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response)
                             throws org.apache.axis2.AxisFault
Specified by:
processGetRequest in class Axis2Handler
Throws:
org.apache.axis2.AxisFault