SFRMRequestAdaptor

public abstract class SFRMRequestAdaptor extends HttpRequestAdaptor

This is the sfrm customizied HTTP Request Adaptor.

Author:Twinsen

See also: hk.hku.cecid.piazza.commons.servlet.http.HttpRequestAdaptor

Methods

processFail

public String processFail(HttpServletRequest request, HttpServletResponse response, Exception cause)

It process a HTTP request from the piazza corvus framework when there is exception thrown from underlying handler.

Parameters:
  • request – The HTTP Request
  • response – The HTTP Response
  • cause – The exception cause to fail.

processRequest

public String processRequest(HttpServletRequest request, HttpServletResponse response)

It process a HTTP request from the piazza corvus framework.

Parameters:
  • request – The HTTP Request
  • response – The HTTP Response
Throws:

See also: hk.hku.cecid.piazza.commons.servlet.http.HttpRequestListener.processRequest(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)

processRequest

public abstract void processRequest(SFRMRequest request, SFRMResponse response)
Parameters:
  • request
  • response
Throws: