@Controller @RequestMapping(value="VIEW") public class ProxyPortletController extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CHARACTER_ENCODING_DEFAULT
Constant
CHARACTER_ENCODING_DEFAULT="UTF-8" |
protected static String |
CONTENT_SERVICE_KEY
Constant
CONTENT_SERVICE_KEY="contentService" |
protected static String |
FILTER_LIST_KEY
Constant
FILTER_LIST_KEY="filters" |
protected org.slf4j.Logger |
log |
static String |
PREF_CHARACTER_ENCODING
Constant
PREF_CHARACTER_ENCODING="sourcePageCharacterEncoding" |
| Constructor and Description |
|---|
ProxyPortletController() |
| Modifier and Type | Method and Description |
|---|---|
void |
proxyResourceTarget(String url,
javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
proxyResourceTarget.
|
void |
proxyTarget(String url,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
proxyTarget.
|
void |
searchRequest(javax.portlet.EventRequest request,
javax.portlet.EventResponse response)
searchRequest.
|
void |
setKnownHtmlContentTypes(List<String> contentTypes)
Setter for the field
knownHtmlContentTypes. |
void |
showContent(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
showContent.
|
public static final String PREF_CHARACTER_ENCODING
PREF_CHARACTER_ENCODING="sourcePageCharacterEncoding"public static final String CHARACTER_ENCODING_DEFAULT
CHARACTER_ENCODING_DEFAULT="UTF-8"protected static final String CONTENT_SERVICE_KEY
CONTENT_SERVICE_KEY="contentService"protected static final String FILTER_LIST_KEY
FILTER_LIST_KEY="filters"protected final org.slf4j.Logger log
public void setKnownHtmlContentTypes(List<String> contentTypes)
Setter for the field knownHtmlContentTypes.
contentTypes - a List object@RenderMapping
public void showContent(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
showContent.
request - a RenderRequest objectresponse - a RenderResponse object@ActionMapping
public void proxyTarget(@RequestParam(value="proxy.url")
String url,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws IOException
proxyTarget.
url - a String objectrequest - a ActionRequest objectresponse - a ActionResponse objectIOException - if any.@ResourceMapping
public void proxyResourceTarget(@RequestParam(value="proxy.url")
String url,
javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
proxyResourceTarget.
url - a String objectrequest - a ResourceRequest objectresponse - a ResourceResponse object@EventMapping(value="{https://source.jasig.org/schemas/uportal/search}SearchRequest")
public void searchRequest(javax.portlet.EventRequest request,
javax.portlet.EventResponse response)
searchRequest.
request - a EventRequest objectresponse - a EventResponse objectCopyright © 2023 Apereo. All rights reserved.