Package de.sstoehr.harreader.model
Klasse HarContent
java.lang.Object
de.sstoehr.harreader.model.HarContent
Information about the response's content.
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleangetSize()getText()inthashCode()voidsetAdditionalField(String key, Object value) voidsetComment(String comment) voidsetCompression(Long compression) voidsetEncoding(String encoding) voidsetMimeType(String mimeType) voidvoid
-
Konstruktordetails
-
HarContent
public HarContent()
-
-
Methodendetails
-
getSize
- Gibt zurück:
- Length of returned content in bytes, null if not present.
-
setSize
-
getCompression
- Gibt zurück:
- Number of bytes saved by compression, null if not present.
-
setCompression
-
getMimeType
- Gibt zurück:
- MIME-Type of response, null if not present. May include the charset.
-
setMimeType
-
getText
- Gibt zurück:
- Response body loaded from server or cache, null if not present.
Binary content may be encoded using encoding specified by
getEncoding().
-
setText
-
getEncoding
- Gibt zurück:
- Encoding used for encoding response body, null if not present.
- Siehe auch:
-
setEncoding
-
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()
-