-
public interface HttpRequestInfoRepresents information about an HTTP request.
-
-
Method Summary
Modifier and Type Method Description abstract LongcontentLength()Retrieves the content length of the HTTP request. abstract StringgetUrl()The URL associated with the HTTP request. abstract Map<String, List<String>>getHeaders()Represents the HTTP headers associated with the request. abstract StringgetContentType()The MIME type of the payload associated with the HTTP request or response, represented as a string. abstract StringgetMethod()Represents the HTTP method associated with the request. -
-
Method Detail
-
contentLength
abstract Long contentLength()
Retrieves the content length of the HTTP request.
-
getHeaders
abstract Map<String, List<String>> getHeaders()
Represents the HTTP headers associated with the request.
-
getContentType
abstract String getContentType()
The MIME type of the payload associated with the HTTP request or response, represented as a string. Can be null if the content type is unspecified.
-
-
-
-