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
|
manager
EMPTY_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) |
service
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public 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
Exception
protected String _decodePath(String path) throws UnsupportedEncodingException
path
- the resource pathUnsupportedEncodingException
- if UTF-8 encoding is not supported