Package de.sstoehr.harreader.model
Klasse HarRequest
java.lang.Object
de.sstoehr.harreader.model.HarRequest
Information about a performed request.
- Siehe auch:
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleangetUrl()inthashCode()voidsetAdditionalField(String key, Object value) voidsetBodySize(Long bodySize) voidsetComment(String comment) voidsetCookies(List<HarCookie> cookies) voidsetHeaders(List<HarHeader> headers) voidsetHeadersSize(Long headersSize) voidsetHttpVersion(String httpVersion) voidsetMethod(HttpMethod method) voidsetPostData(HarPostData postData) voidsetQueryString(List<HarQueryParam> queryString) void
-
Felddetails
-
DEFAULT_SIZE
-
-
Konstruktordetails
-
HarRequest
public HarRequest()
-
-
Methodendetails
-
getMethod
- Gibt zurück:
- Request method, null if not present.
-
setMethod
-
getUrl
- Gibt zurück:
- Absolute URL of the request (fragments are not included), null if not present.
-
setUrl
-
getHttpVersion
- Gibt zurück:
- Request HTTP Version, null if not present.
-
setHttpVersion
-
getCookies
- Gibt zurück:
- List of cookie objects.
-
setCookies
-
getHeaders
- Gibt zurück:
- List of header objects.
-
setHeaders
-
getQueryString
- Gibt zurück:
- List of query parameter objects.
-
setQueryString
-
getPostData
- Gibt zurück:
- Posted data info.
-
setPostData
-
getHeadersSize
- Gibt zurück:
- Total number of bytes from the start of the HTTP request message until (and including) the double
CRLF before the body.
DEFAULT_SIZEif the info is not available.
-
setHeadersSize
-
getBodySize
- Gibt zurück:
- Size of the request body (POST data payload) in bytes.
DEFAULT_SIZEif the info is not available.
-
setBodySize
-
getComment
- Gibt zurück:
- Comment provided by the user or application, null if not present.
-
setComment
-
getAdditional
- Gibt zurück:
- Map with additional keys, which are not officially supported by the HAR specification
-
setAdditionalField
-
equals
-
hashCode
public int hashCode()
-