public class CapturedRequest
extends java.lang.Object
ngrok's API.| Modifier and Type | Class and Description |
|---|---|
static class |
CapturedRequest.Request
An object representing a nested Request from
ngrok's API. |
static class |
CapturedRequest.Response
An object representing a nested Response from
ngrok's API. |
| Constructor and Description |
|---|
CapturedRequest() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDuration()
Get the duration of the request.
|
java.lang.String |
getId()
Get the ID of the captured request.
|
java.lang.String |
getRemoteAddr()
Get the remote addr of the captured request.
|
CapturedRequest.Request |
getRequest()
Get the captured
CapturedRequest.Request. |
CapturedRequest.Response |
getResponse()
Get the captured
CapturedRequest.Response. |
java.lang.String |
getStart()
Get the start of the captured request.
|
java.lang.String |
getTunnelName()
Get the tunnel name of the captured request.
|
java.lang.String |
getUri()
Get the URI of the captured request.
|
public java.lang.String getUri()
public java.lang.String getId()
public java.lang.String getTunnelName()
public java.lang.String getRemoteAddr()
public java.lang.String getStart()
public int getDuration()
public CapturedRequest.Request getRequest()
CapturedRequest.Request.public CapturedRequest.Response getResponse()
CapturedRequest.Response.