public static interface NetworkEventReporter.InspectorRequest extends NetworkEventReporter.InspectorHeaders
Host, User-Agent, Content-Type,
etc may not be part of this request but should be injected if necessary. Some stacks offer
inspection of the raw request about to be sent to the server which is preferable.| Modifier and Type | Method and Description |
|---|---|
byte[] |
body()
Provide the body if part of an entity-enclosing request (like "POST" or "PUT").
|
java.lang.String |
friendlyName()
Arbitrary debug-friendly name of the request.
|
java.lang.Integer |
friendlyNameExtra()
Provide an extra integer to decorate the
friendlyName(). |
java.lang.String |
id()
Unique identifier for this request.
|
java.lang.String |
method()
HTTP method ("GET", "POST", "DELETE", etc).
|
java.lang.String |
url() |
firstHeaderValue, headerCount, headerName, headerValuejava.lang.String id()
NetworkEventReporter.httpExchangeFailed(java.lang.String, java.lang.String) or NetworkEventReporter#loadingFinished
are invoked.java.lang.String friendlyName()
java.lang.Integer friendlyNameExtra()
friendlyName(). This shows up next to
it in the WebKit Inspector UI and can be used to indicate things like request priority.java.lang.String url()
java.lang.String method()
byte[] body()
throws java.io.IOException
java.io.IOException