@Service(value="classpathContentService") public class ClasspathResourceContentService extends Object implements IContentService<GenericContentRequestImpl,GenericContentResponseImpl>
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
| Constructor and Description |
|---|
ClasspathResourceContentService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterGetContent(GenericContentRequestImpl contentRequest,
javax.portlet.PortletRequest request,
GenericContentResponseImpl proxyResponse)
Execute any necessary logic after retrieving the content
|
void |
beforeGetContent(GenericContentRequestImpl contentRequest,
javax.portlet.PortletRequest request)
Execute any necessary logic prior to retrieving the content
|
GenericContentResponseImpl |
getContent(GenericContentRequestImpl proxyRequest,
javax.portlet.PortletRequest request)
Retrieve content for the given content request and portlet request.
|
GenericContentRequestImpl |
getRequest(javax.portlet.PortletRequest request)
Get an appropriate default content request for the current portlet
request.
|
public GenericContentRequestImpl getRequest(javax.portlet.PortletRequest request)
getRequest in interface IContentService<GenericContentRequestImpl,GenericContentResponseImpl>request - a PortletRequest objectpublic GenericContentResponseImpl getContent(GenericContentRequestImpl proxyRequest, javax.portlet.PortletRequest request)
getContent in interface IContentService<GenericContentRequestImpl,GenericContentResponseImpl>proxyRequest - a T objectrequest - a PortletRequest objectpublic void beforeGetContent(GenericContentRequestImpl contentRequest, javax.portlet.PortletRequest request)
beforeGetContent in interface IContentService<GenericContentRequestImpl,GenericContentResponseImpl>contentRequest - a T objectrequest - a PortletRequest objectpublic void afterGetContent(GenericContentRequestImpl contentRequest, javax.portlet.PortletRequest request, GenericContentResponseImpl proxyResponse)
afterGetContent in interface IContentService<GenericContentRequestImpl,GenericContentResponseImpl>contentRequest - a T objectrequest - a PortletRequest objectproxyResponse - a S objectCopyright © 2023 Apereo. All rights reserved.