Interface RequestResponseSupport

  • All Known Subinterfaces:
    Node, TemporaryFile

    public interface RequestResponseSupport
    • Method Detail

      • getHttpRequest

        HttpRequest getHttpRequest​(java.lang.String key)
        Returns the HttpRequest to which the specified key is mapped, or null if 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 null if this map contains no mapping for the key
      • setHttpRequest

        HttpRequest setHttpRequest​(java.lang.String key,
                                   HttpRequest value)
        Associates the specified HttpRequest with 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 associated
        value - value to be associated with the specified key. If this value is null then any value with the specified name will be removed.
        Returns:
        HttpRequest representing the stored data
      • getHttpRequestList

        java.util.List<HttpRequest> getHttpRequestList​(java.lang.String key)
        Returns the List of HttpRequest to which the specified key is mapped, or null if 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 of HttpRequest with 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 associated
        value - the value to be associated with the specified key.
        Returns:
        A read-only List of HttpRequest representing the stored data
      • getHttpResponse

        HttpResponse getHttpResponse​(java.lang.String key)
        Returns the HttpResponse to which the specified key is mapped, or null if 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 null if this map contains no mapping for the key
      • setHttpResponse

        HttpResponse setHttpResponse​(java.lang.String key,
                                     HttpResponse value)
        Associates the specified HttpResponse with 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 associated
        value - value to be associated with the specified key. If this value is null then any value with the specified name will be removed.
        Returns:
        HttpResponse representing the stored data
      • getHttpResponseList

        java.util.List<HttpResponse> getHttpResponseList​(java.lang.String key)
        Returns the List of HttpResponse to which the specified key is mapped, or null if 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 of HttpResponse with 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 associated
        value - the value to be associated with the specified key.
        Returns:
        A read-only List of HttpResponse representing the stored data
      • getHttpRequestResponse

        HttpRequestResponse getHttpRequestResponse​(java.lang.String key)
        Returns the HttpRequestResponse to which the specified key is mapped, or null if 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 null if this map contains no mapping for the key
      • setHttpRequestResponse

        HttpRequestResponse setHttpRequestResponse​(java.lang.String key,
                                                   HttpRequestResponse value)
        Associates the specified HttpRequestResponse with 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 associated
        value - value to be associated with the specified key. If this value is null then any value with the specified name will be removed.
        Returns:
        HttpRequestResponse representing the stored data
      • getHttpRequestResponseList

        java.util.List<HttpRequestResponse> getHttpRequestResponseList​(java.lang.String key)
        Returns the List of HttpRequestResponse to which the specified key is mapped, or null if 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 of HttpRequestResponse with 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 associated
        value - the value to be associated with the specified key.
        Returns:
        A read-only List of HttpRequestResponse representing the stored data