Class HttpApplicationInfo

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ListMultimap<String, String> getHeaders() Retrieve http headers as multimap.
      String getTransactionId() Returns an identifier for the underlying HTTP request.
      Optional<String> getRequestUri() Retrieve the Optional of http request-uri, empty in case of a http response message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpApplicationInfo

        HttpApplicationInfo(ListMultimap<String, String> httpHeaders, String transactionId, String requestUri)
        Creates an instance using http headers.
        Parameters:
        httpHeaders - multimap of available headers.
        transactionId - id of the request response transaction.
        requestUri - the http request-uri, null for http response messages.
    • Method Detail

      • getHeaders

         ListMultimap<String, String> getHeaders()

        Retrieve http headers as multimap.

        Each value seen for a key will be added to the list of values for said key. All keys are lower case.

        Returns:

        ListMultimap of all headers

      • getTransactionId

         String getTransactionId()

        Returns an identifier for the underlying HTTP request.

        Returns:

        the identifier, e.g. to be used to deduce relations between request and response messages.