org.jasig.portlet.proxy.service.web
Class HttpContentServiceImpl

java.lang.Object
  extended by org.jasig.portlet.proxy.service.web.HttpContentServiceImpl
All Implemented Interfaces:
IContentService<HttpContentRequestImpl,GenericContentResponseImpl>

@Service(value="httpContentService")
public class HttpContentServiceImpl
extends Object
implements IContentService<HttpContentRequestImpl,GenericContentResponseImpl>

Author:
Jen Bourey, jennifer.bourey@gmail.com

Field Summary
static String FORM_METHOD_PARAM
           
static String IS_FORM_PARAM
           
protected static String PREINTERCEPTOR_LIST_KEY
           
static String PROXY_PORTLET_PARAM_PREFIX
           
static String URL_PARAM
           
 
Constructor Summary
HttpContentServiceImpl()
           
 
Method Summary
 GenericContentResponseImpl getContent(HttpContentRequestImpl proxyRequest, javax.portlet.PortletRequest request)
           
protected  org.apache.http.client.methods.HttpUriRequest getHttpRequest(HttpContentRequestImpl proxyRequest, javax.portlet.PortletRequest request)
           
 HttpContentRequestImpl getRequest(javax.portlet.PortletRequest request)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setHttpClientService(IHttpClientService httpClientService)
           
 void setReplayedRequestHeaders(List<String> replayedRequestHeaders)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROXY_PORTLET_PARAM_PREFIX

public static final String PROXY_PORTLET_PARAM_PREFIX
See Also:
Constant Field Values

URL_PARAM

public static final String URL_PARAM

IS_FORM_PARAM

public static final String IS_FORM_PARAM

FORM_METHOD_PARAM

public static final String FORM_METHOD_PARAM

PREINTERCEPTOR_LIST_KEY

protected static final String PREINTERCEPTOR_LIST_KEY
See Also:
Constant Field Values
Constructor Detail

HttpContentServiceImpl

public HttpContentServiceImpl()
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)

setHttpClientService

public void setHttpClientService(IHttpClientService httpClientService)

setReplayedRequestHeaders

public void setReplayedRequestHeaders(List<String> replayedRequestHeaders)

getRequest

public HttpContentRequestImpl getRequest(javax.portlet.PortletRequest request)
Specified by:
getRequest in interface IContentService<HttpContentRequestImpl,GenericContentResponseImpl>

getContent

public GenericContentResponseImpl getContent(HttpContentRequestImpl proxyRequest,
                                             javax.portlet.PortletRequest request)
Specified by:
getContent in interface IContentService<HttpContentRequestImpl,GenericContentResponseImpl>

getHttpRequest

protected org.apache.http.client.methods.HttpUriRequest getHttpRequest(HttpContentRequestImpl proxyRequest,
                                                                       javax.portlet.PortletRequest request)


Copyright © 2012 Jasig. All Rights Reserved.