Interface RequestResponseSupport
-
- All Known Subinterfaces:
Node,TemporaryFile
public interface RequestResponseSupport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpRequestgetHttpRequest(java.lang.String key)Returns theHttpRequestto which the specified key is mapped, ornullif this map contains no mapping for the key.java.util.List<HttpRequest>getHttpRequestList(java.lang.String key)Returns the List ofHttpRequestto which the specified key is mapped, ornullif this map contains no mapping for the keyHttpRequestResponsegetHttpRequestResponse(java.lang.String key)Returns theHttpRequestResponseto which the specified key is mapped, ornullif this map contains no mapping for the key.java.util.List<HttpRequestResponse>getHttpRequestResponseList(java.lang.String key)Returns the List ofHttpRequestResponseto which the specified key is mapped, ornullif this map contains no mapping for the keyHttpResponsegetHttpResponse(java.lang.String key)Returns theHttpResponseto which the specified key is mapped, ornullif this map contains no mapping for the key.java.util.List<HttpResponse>getHttpResponseList(java.lang.String key)Returns the List ofHttpResponseto which the specified key is mapped, ornullif this map contains no mapping for the keyHttpRequestsetHttpRequest(java.lang.String key, HttpRequest value)Associates the specifiedHttpRequestwith the specified key in this map (optional operation).java.util.List<HttpRequest>setHttpRequestList(java.lang.String key, java.util.List<HttpRequest> value)Associates the specified List ofHttpRequestwith the specified key in this map.HttpRequestResponsesetHttpRequestResponse(java.lang.String key, HttpRequestResponse value)Associates the specifiedHttpRequestResponsewith the specified key in this map (optional operation).java.util.List<HttpRequestResponse>setHttpRequestResponseList(java.lang.String key, java.util.List<HttpRequestResponse> value)Associates the specified List ofHttpRequestResponsewith the specified key in this map.HttpResponsesetHttpResponse(java.lang.String key, HttpResponse value)Associates the specifiedHttpResponsewith the specified key in this map (optional operation).java.util.List<HttpResponse>setHttpResponseList(java.lang.String key, java.util.List<HttpResponse> value)Associates the specified List ofHttpResponsewith the specified key in this map.
-
-
-
Method Detail
-
getHttpRequest
HttpRequest getHttpRequest(java.lang.String key)
Returns theHttpRequestto which the specified key is mapped, ornullif this map contains no mapping for the key.- Parameters:
key- the key whose associated value is to be returned- Returns:
- the value to which the specified key is mapped, or
nullif this map contains no mapping for the key
-
setHttpRequest
HttpRequest setHttpRequest(java.lang.String key, HttpRequest value)
Associates the specifiedHttpRequestwith the specified key in this map (optional operation). If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
key- key with which the specified value is to be associatedvalue- value to be associated with the specified key. If this value isnullthen any value with the specified name will be removed.- Returns:
HttpRequestrepresenting the stored data
-
getHttpRequestList
java.util.List<HttpRequest> getHttpRequestList(java.lang.String key)
Returns the List ofHttpRequestto which the specified key is mapped, ornullif this map contains no mapping for the key- Parameters:
key- the key whose associated value is to be returned- Returns:
- the value to which the specified key is mapped, or new empty list if this map contains no mapping for the key
-
setHttpRequestList
java.util.List<HttpRequest> setHttpRequestList(java.lang.String key, java.util.List<HttpRequest> value)
Associates the specified List ofHttpRequestwith the specified key in this map. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
key- the key with which the specified value is to be associatedvalue- the value to be associated with the specified key.- Returns:
- A read-only
ListofHttpRequestrepresenting the stored data
-
getHttpResponse
HttpResponse getHttpResponse(java.lang.String key)
Returns theHttpResponseto which the specified key is mapped, ornullif this map contains no mapping for the key.- Parameters:
key- the key whose associated value is to be returned- Returns:
- the value to which the specified key is mapped, or
nullif this map contains no mapping for the key
-
setHttpResponse
HttpResponse setHttpResponse(java.lang.String key, HttpResponse value)
Associates the specifiedHttpResponsewith the specified key in this map (optional operation). If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
key- key with which the specified value is to be associatedvalue- value to be associated with the specified key. If this value isnullthen any value with the specified name will be removed.- Returns:
HttpResponserepresenting the stored data
-
getHttpResponseList
java.util.List<HttpResponse> getHttpResponseList(java.lang.String key)
Returns the List ofHttpResponseto which the specified key is mapped, ornullif this map contains no mapping for the key- Parameters:
key- the key whose associated value is to be returned- Returns:
- the value to which the specified key is mapped, or new empty list if this map contains no mapping for the key
-
setHttpResponseList
java.util.List<HttpResponse> setHttpResponseList(java.lang.String key, java.util.List<HttpResponse> value)
Associates the specified List ofHttpResponsewith the specified key in this map. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
key- the key with which the specified value is to be associatedvalue- the value to be associated with the specified key.- Returns:
- A read-only
ListofHttpResponserepresenting the stored data
-
getHttpRequestResponse
HttpRequestResponse getHttpRequestResponse(java.lang.String key)
Returns theHttpRequestResponseto which the specified key is mapped, ornullif this map contains no mapping for the key.- Parameters:
key- the key whose associated value is to be returned- Returns:
- the value to which the specified key is mapped, or
nullif this map contains no mapping for the key
-
setHttpRequestResponse
HttpRequestResponse setHttpRequestResponse(java.lang.String key, HttpRequestResponse value)
Associates the specifiedHttpRequestResponsewith the specified key in this map (optional operation). If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
key- key with which the specified value is to be associatedvalue- value to be associated with the specified key. If this value isnullthen any value with the specified name will be removed.- Returns:
HttpRequestResponserepresenting the stored data
-
getHttpRequestResponseList
java.util.List<HttpRequestResponse> getHttpRequestResponseList(java.lang.String key)
Returns the List ofHttpRequestResponseto which the specified key is mapped, ornullif this map contains no mapping for the key- Parameters:
key- the key whose associated value is to be returned- Returns:
- the value to which the specified key is mapped, or new empty list if this map contains no mapping for the key
-
setHttpRequestResponseList
java.util.List<HttpRequestResponse> setHttpRequestResponseList(java.lang.String key, java.util.List<HttpRequestResponse> value)
Associates the specified List ofHttpRequestResponsewith the specified key in this map. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
key- the key with which the specified value is to be associatedvalue- the value to be associated with the specified key.- Returns:
- A read-only
ListofHttpRequestResponserepresenting the stored data
-
-