|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.Action org.dlese.dpc.services.asn.action.AsnServiceAction
public class AsnServiceAction
An Action that handles Web service requests.
Field Summary | |
---|---|
static String |
ASN_PURL_BASE
|
static String |
GET_STANDARD_VERB
The GetStandards request verb |
static String |
LIST_STANDARDS_VERB
|
static String |
SERVICE_INFO
The ServiceInfo request verb |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
AsnServiceAction()
|
Method Summary | |
---|---|
protected org.apache.struts.action.ActionForward |
doGetStandard(HttpServletRequest request,
HttpServletResponse response,
AsnServiceForm asnForm,
org.apache.struts.action.ActionMapping mapping)
Handles a GetStandards request. |
protected org.apache.struts.action.ActionForward |
doListStandards(HttpServletRequest request,
HttpServletResponse response,
AsnServiceForm asnForm,
org.apache.struts.action.ActionMapping mapping)
Handles a ListStandards request. |
protected org.apache.struts.action.ActionForward |
doServiceInfo(HttpServletRequest request,
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,
HttpServletRequest request,
HttpServletResponse response)
Processes the DDS web service request by forwarding to the appropriate corresponding JSP page for rendering. |
protected static String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout: |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SERVICE_INFO
public static final String GET_STANDARD_VERB
public static final String LIST_STANDARDS_VERB
public static final String ASN_PURL_BASE
Constructor Detail |
---|
public AsnServiceAction()
Method Detail |
---|
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, HttpServletRequest request, HttpServletResponse response) throws 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 page
Exception
- If error.protected org.apache.struts.action.ActionForward doServiceInfo(HttpServletRequest request, HttpServletResponse response, AsnServiceForm asnForm, org.apache.struts.action.ActionMapping mapping) throws Exception
Error Exception Conditions:
badArgument - The request includes illegal arguments.
request
- The HTTP requestresponse
- The HTTP responsemapping
- ActionMapping usedasnForm
- NOT YET DOCUMENTED
Exception
- If error.protected org.apache.struts.action.ActionForward doGetStandard(HttpServletRequest request, HttpServletResponse response, AsnServiceForm asnForm, org.apache.struts.action.ActionMapping mapping) throws Exception
request
- The HTTP requestresponse
- The HTTP responseasnForm
- The beanmapping
- ActionMapping used
Exception
- If error.protected org.apache.struts.action.ActionForward doListStandards(HttpServletRequest request, HttpServletResponse response, AsnServiceForm asnForm, org.apache.struts.action.ActionMapping mapping) throws Exception
request
- The HTTP requestresponse
- The HTTP responseasnForm
- The beanmapping
- ActionMapping used
Exception
- If error.protected static final String getDateStamp()
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |