Class CapturedRequest.Request

  • Enclosing class:
    CapturedRequest

    public static class CapturedRequest.Request
    extends java.lang.Object
    An object representing a nested Request from ngrok's API.
    • Constructor Summary

      Constructors 
      Constructor Description
      Request()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
      Get the map of request headers.
      java.lang.String getMethod()
      Get the method of the request.
      java.lang.String getProto()
      Get the proto of the request.
      java.lang.String getRaw()
      Get the raw request.
      java.lang.String getUri()
      Get the URI of the request.
      • Methods inherited from class java.lang.Object

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

      • Request

        public Request()
    • Method Detail

      • getMethod

        public java.lang.String getMethod()
        Get the method of the request.
      • getProto

        public java.lang.String getProto()
        Get the proto of the request.
      • getHeaders

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
        Get the map of request headers.
      • getUri

        public java.lang.String getUri()
        Get the URI of the request.
      • getRaw

        public java.lang.String getRaw()
        Get the raw request.