public class HttpContentServiceImpl extends Object implements IContentService<HttpContentRequestImpl,GenericContentResponseImpl>
| Modifier and Type | Field and Description |
|---|---|
static String |
FORM_METHOD_PARAM |
static String |
IS_FORM_PARAM |
static String |
PREINTERCEPTOR_LIST_KEY |
static String |
PROXY_PORTLET_PARAM_PREFIX |
static String |
URL_PARAM |
| Constructor and Description |
|---|
HttpContentServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterGetContent(HttpContentRequestImpl proxyRequest,
javax.portlet.PortletRequest request,
GenericContentResponseImpl proxyResponse)
Execute any necessary logic after retrieving the content
|
void |
beforeGetContent(HttpContentRequestImpl proxyRequest,
javax.portlet.PortletRequest request)
Execute any necessary logic prior to retrieving the content
|
GenericContentResponseImpl |
getContent(HttpContentRequestImpl proxyRequest,
javax.portlet.PortletRequest request)
Retrieve content for the given content request and portlet request.
|
GenericContentResponseImpl |
getContent(HttpContentRequestImpl proxyRequest,
javax.portlet.PortletRequest request,
boolean runWrapperMethods) |
protected org.apache.http.client.methods.HttpUriRequest |
getHttpRequest(HttpContentRequestImpl proxyRequest,
javax.portlet.PortletRequest request) |
HttpContentRequestImpl |
getRequest(javax.portlet.PortletRequest request)
Get an appropriate default content request for the current portlet
request.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setHttpClientService(IHttpClientService httpClientService) |
void |
setReplayedRequestHeaders(List<String> replayedRequestHeaders) |
public static final String PROXY_PORTLET_PARAM_PREFIX
public static final String URL_PARAM
public static final String IS_FORM_PARAM
public static final String FORM_METHOD_PARAM
public static final String PREINTERCEPTOR_LIST_KEY
@Autowired(required=true) public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
@Autowired(required=true) public void setHttpClientService(IHttpClientService httpClientService)
public void setReplayedRequestHeaders(List<String> replayedRequestHeaders)
public HttpContentRequestImpl getRequest(javax.portlet.PortletRequest request)
IContentServicegetRequest in interface IContentService<HttpContentRequestImpl,GenericContentResponseImpl>public void beforeGetContent(HttpContentRequestImpl proxyRequest, javax.portlet.PortletRequest request)
IContentServicebeforeGetContent in interface IContentService<HttpContentRequestImpl,GenericContentResponseImpl>public GenericContentResponseImpl getContent(HttpContentRequestImpl proxyRequest, javax.portlet.PortletRequest request)
IContentServicegetContent in interface IContentService<HttpContentRequestImpl,GenericContentResponseImpl>public GenericContentResponseImpl getContent(HttpContentRequestImpl proxyRequest, javax.portlet.PortletRequest request, boolean runWrapperMethods)
public void afterGetContent(HttpContentRequestImpl proxyRequest, javax.portlet.PortletRequest request, GenericContentResponseImpl proxyResponse)
IContentServiceafterGetContent in interface IContentService<HttpContentRequestImpl,GenericContentResponseImpl>protected org.apache.http.client.methods.HttpUriRequest getHttpRequest(HttpContentRequestImpl proxyRequest, javax.portlet.PortletRequest request)
Copyright © 2013 Jasig. All Rights Reserved.