ca.ucalgary.services
Class WrappingServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
ca.ucalgary.services.WrappingServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- CGIServlet, SoapServlet
public abstract class WrappingServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
GETs are for form creation |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Post is for service submission (if the wsdl URL is provided), or the PBERecorder (any other case) |
DataRecorder |
getRecorder()
|
Transformer |
getResponseTransformer()
|
void |
init()
|
void |
setRecorder(DataRecorder r)
Registers an object that hooks into various parts of the request and
response in order to provide custom behaviours. |
void |
setResponseTransformer(Transformer t)
Stylesheet to apply to service response if it's XML. |
Methods inherited from class javax.servlet.http.HttpServlet |
service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
DATARECORDER_CONTEXTPARAM
public static final String DATARECORDER_CONTEXTPARAM
- See Also:
- Constant Field Values
SRC_PARAM
public static final String SRC_PARAM
- See Also:
- Constant Field Values
ID_PARAM
public static final String ID_PARAM
- See Also:
- Constant Field Values
SERVICE_SPEC_PARAM
public static final String SERVICE_SPEC_PARAM
- See Also:
- Constant Field Values
WrappingServlet
public WrappingServlet()
setRecorder
public void setRecorder(DataRecorder r)
- Registers an object that hooks into various parts of the request and
response in order to provide custom behaviours.
getRecorder
public DataRecorder getRecorder()
setResponseTransformer
public void setResponseTransformer(Transformer t)
- Stylesheet to apply to service response if it's XML.
getResponseTransformer
public Transformer getResponseTransformer()
init
public void init()
throws javax.servlet.ServletException
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- GETs are for form creation
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Post is for service submission (if the wsdl URL is provided), or the PBERecorder (any other case)
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010