|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork2.ActionSupport eu.clarin.cmdi.mdservice.action.GenericProxyAction eu.clarin.cmdi.mdservice.action.MDRepoProxyAction
public class MDRepoProxyAction
Main Struts 2 controller responds to requests (collections, model, recordset) by dispatching the requests to appropriate internal methods and filling the inputStream with the result
Field Summary | |
---|---|
private java.lang.String |
proxy_key
|
private static long |
serialVersionUID
|
private static java.util.HashMap<java.lang.String,java.lang.String> |
urls
|
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork2.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
MDRepoProxyAction()
|
Method Summary | |
---|---|
java.lang.String |
getProxyKey()
primitive identification of the target-proxy base for finding the right base_url in the props subclass has to override with its specific proxykey |
java.net.URL |
getTargetRequest()
uses base_url + url_pattern (parametrized by actionkey) to form a url |
Methods inherited from class eu.clarin.cmdi.mdservice.action.GenericProxyAction |
---|
execute, getActionkey, getBaseURL, getCollection, getFormat, getFullFormat, getMaxdepth, getQ, getRequestKey, getResultStream, getUserMsg, prepare, setActionkey, setCollection, setFormat, setMaxdepth, setQ, setUserMsg |
Methods inherited from class com.opensymphony.xwork2.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private java.lang.String proxy_key
private static final java.util.HashMap<java.lang.String,java.lang.String> urls
Constructor Detail |
---|
public MDRepoProxyAction()
Method Detail |
---|
public java.lang.String getProxyKey()
GenericProxyAction
getProxyKey
in class GenericProxyAction
public java.net.URL getTargetRequest() throws java.lang.Exception
getTargetRequest
in class GenericProxyAction
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |