public class GetQueryParametersAction extends ServiceableAction
Modifier and Type | Class and Description |
---|---|
private static class |
GetQueryParametersAction.InternalEncoder
Helper defining methods used to partially encode the query string of
internal (cocoon) wrapped requests.
|
Modifier and Type | Field and Description |
---|---|
private CurrentUserProvider |
_currentUserProvide |
private JSONUtils |
_jsonUtils
The Json utils
|
private AmetysObjectResolver |
_resolver |
private static String |
_XSLT_BASE_LOCATION |
manager
EMPTY_MAP
Constructor and Description |
---|
GetQueryParametersAction() |
Modifier and Type | Method and Description |
---|---|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
protected String |
getXsltLocation(SourceResolver resolver,
String xslt)
Get the XSLT location.
|
void |
service(ServiceManager smanager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private static final String _XSLT_BASE_LOCATION
private AmetysObjectResolver _resolver
private JSONUtils _jsonUtils
private CurrentUserProvider _currentUserProvide
public GetQueryParametersAction()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
protected String getXsltLocation(SourceResolver resolver, String xslt) throws IOException
resolver
- the source resolver.xslt
- the requested xslt.IOException
- if an error occurs resolving the XSLT.