Interface HttpNetworkProtocolRequestEvent

    • Method Detail

      • getDate

        java.lang.String getDate()
        Common HTTP metadata: return the date entry from the header.
        Returns:
        The date value
      • getHost

        java.lang.String getHost()
        Common HTTP metadata: return the host entry from the header.
        Returns:
        The host value
      • getHTTPOrigin

        java.lang.String getHTTPOrigin()
        Common HTTP metadata: return the origin entry from the header.
        Returns:
        The origin value
      • getReferer

        java.lang.String getReferer()
        Common HTTP metadata: return the referer entry from the header. (Please note the word "referer" vs "referrer")
        Returns:
        The referer value
      • getUserAgent

        java.lang.String getUserAgent()
        Common HTTP metadata: return the user-agent entry from the header.
        Returns:
        The user-agent value
      • getMethod

        java.lang.String getMethod()
        Get the http verb/method used from the incoming request.
        Returns:
        The method value (POST, GET, PUT, etc)
      • getURL

        java.lang.String getURL()
        Get the URL associated with the incoming request
        Returns:
        The incoming URL request
      • getRemoteIPAddress

        java.lang.String getRemoteIPAddress()
        Retrieve the IP address of the client that sent the request.
        Returns:
        The remote IP address
      • getLocalIPAddress

        java.lang.String getLocalIPAddress()
        Retrieve the IP address of the interface on which the request was received.
        Returns:
        The local IP address