public class GetFirstPageAction extends ServiceableAction
| Modifier and Type | Field and Description |
|---|---|
static String |
IMAGES_DIRECTORY_PATH_REQUEST_ATTR
Request attribute from path to images' directory
|
managerEMPTY_MAP| Constructor and Description |
|---|
GetFirstPageAction() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
_decodePath(String path)
Decode the resource path
|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
serviceenableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic static final String IMAGES_DIRECTORY_PATH_REQUEST_ATTR
public GetFirstPageAction()
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exceptionprotected String _decodePath(String path) throws UnsupportedEncodingException
path - the resource pathUnsupportedEncodingException - if UTF-8 encoding is not supported