public class AsnServiceAction
extends org.apache.struts.action.Action
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASN_PURL_BASE |
static java.lang.String |
GET_STANDARD_VERB
The GetStandards request verb
|
static java.lang.String |
LIST_STANDARDS_VERB |
static java.lang.String |
SERVICE_INFO
The ServiceInfo request verb
|
Constructor and Description |
---|
AsnServiceAction() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.struts.action.ActionForward |
doGetStandard(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AsnServiceForm asnForm,
org.apache.struts.action.ActionMapping mapping)
Handles a GetStandards request.
|
protected org.apache.struts.action.ActionForward |
doListStandards(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AsnServiceForm asnForm,
org.apache.struts.action.ActionMapping mapping)
Handles a ListStandards request.
|
protected org.apache.struts.action.ActionForward |
doServiceInfo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AsnServiceForm asnForm,
org.apache.struts.action.ActionMapping mapping)
Handles a request to get a the service information.
|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes the DDS web service request by forwarding to the appropriate
corresponding JSP page for rendering.
|
protected static java.lang.String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log
files and output to standout:
|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
public static final java.lang.String SERVICE_INFO
public static final java.lang.String GET_STANDARD_VERB
public static final java.lang.String LIST_STANDARDS_VERB
public static final java.lang.String ASN_PURL_BASE
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
execute
in class org.apache.struts.action.Action
mapping
- The ActionMapping used to select this instancerequest
- The HTTP request we are processingresponse
- The HTTP response we are creatingform
- The ActionForm for the given pagejava.lang.Exception
- If error.protected org.apache.struts.action.ActionForward doServiceInfo(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AsnServiceForm asnForm, org.apache.struts.action.ActionMapping mapping) throws java.lang.Exception
Error Exception Conditions:
badArgument - The request includes illegal arguments.
request
- The HTTP requestresponse
- The HTTP responsemapping
- ActionMapping usedasnForm
- NOT YET DOCUMENTEDjava.lang.Exception
- If error.protected org.apache.struts.action.ActionForward doGetStandard(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AsnServiceForm asnForm, org.apache.struts.action.ActionMapping mapping) throws java.lang.Exception
request
- The HTTP requestresponse
- The HTTP responseasnForm
- The beanmapping
- ActionMapping usedjava.lang.Exception
- If error.protected org.apache.struts.action.ActionForward doListStandards(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AsnServiceForm asnForm, org.apache.struts.action.ActionMapping mapping) throws java.lang.Exception
request
- The HTTP requestresponse
- The HTTP responseasnForm
- The beanmapping
- ActionMapping usedjava.lang.Exception
- If error.protected static final java.lang.String getDateStamp()