public class ProxyRequestContext extends Object
| Constructor and Description |
|---|
ProxyRequestContext(String resourceKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes() |
com.google.common.collect.Multimap<String,String> |
getHeaders() |
org.springframework.http.HttpMethod |
getHttpMethod()
Defaults to
HttpMethod.GET if not set explicitly. |
String |
getPassword() |
String |
getResourceKey() |
String |
getUri() |
String |
getUsername() |
int |
hashCode() |
ProxyRequestContext |
setAttributes(Map<String,String> attributes) |
ProxyRequestContext |
setHeaders(com.google.common.collect.Multimap<String,String> headers) |
ProxyRequestContext |
setHttpMethod(org.springframework.http.HttpMethod httpMethod) |
ProxyRequestContext |
setPassword(String password) |
ProxyRequestContext |
setUri(String uri) |
ProxyRequestContext |
setUsername(String username) |
String |
toString() |
public ProxyRequestContext(String resourceKey)
resourceKey - requiredpublic String getResourceKey()
public org.springframework.http.HttpMethod getHttpMethod()
HttpMethod.GET if not set explicitly.public ProxyRequestContext setHttpMethod(org.springframework.http.HttpMethod httpMethod)
httpMethod - the httpMethod to setpublic String getUri()
public ProxyRequestContext setUri(String uri)
uri - the full URI (including scheme, host, port, path)public String getUsername()
public ProxyRequestContext setUsername(String username)
username - the username to setpublic String getPassword()
public ProxyRequestContext setPassword(String password)
password - the password to setpublic ProxyRequestContext setAttributes(Map<String,String> attributes)
attributes - the attributes to setpublic com.google.common.collect.Multimap<String,String> getHeaders()
public ProxyRequestContext setHeaders(com.google.common.collect.Multimap<String,String> headers)
headers - the headers to setCopyright © 2015. All rights reserved.