@Service public class MultiRequestHttpClientServiceImpl extends Object implements IHttpClientService
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLIENT_SESSION_KEY |
protected static String |
SHARED_SESSION_KEY |
| Constructor and Description |
|---|
MultiRequestHttpClientServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.impl.client.AbstractHttpClient |
createHttpClient(javax.portlet.PortletRequest request)
Create a new HTTP Client for the provided portlet request.
|
org.apache.http.impl.client.AbstractHttpClient |
getHttpClient(javax.portlet.PortletRequest request) |
void |
setPoolingClientConnectionManager(org.apache.http.impl.conn.PoolingClientConnectionManager connectionManager) |
protected static final String CLIENT_SESSION_KEY
protected static final String SHARED_SESSION_KEY
@Autowired(required=true) public void setPoolingClientConnectionManager(org.apache.http.impl.conn.PoolingClientConnectionManager connectionManager)
public org.apache.http.impl.client.AbstractHttpClient getHttpClient(javax.portlet.PortletRequest request)
getHttpClient in interface IHttpClientServiceprotected org.apache.http.impl.client.AbstractHttpClient createHttpClient(javax.portlet.PortletRequest request)
request - Copyright © 2013 Jasig. All Rights Reserved.