Klasse HarContent

java.lang.Object
de.sstoehr.harreader.model.HarContent

public class HarContent extends Object
Information about the response's content.
Siehe auch:
  • Konstruktordetails

    • HarContent

      public HarContent()
  • Methodendetails

    • getSize

      public Long getSize()
      Gibt zurück:
      Length of returned content in bytes, null if not present.
    • setSize

      public void setSize(Long size)
    • getCompression

      public Long getCompression()
      Gibt zurück:
      Number of bytes saved by compression, null if not present.
    • setCompression

      public void setCompression(Long compression)
    • getMimeType

      public String getMimeType()
      Gibt zurück:
      MIME-Type of response, null if not present. May include the charset.
    • setMimeType

      public void setMimeType(String mimeType)
    • getText

      public String 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

      public void setText(String text)
    • getEncoding

      public String getEncoding()
      Gibt zurück:
      Encoding used for encoding response body, null if not present.
      Siehe auch:
    • setEncoding

      public void setEncoding(String encoding)
    • getComment

      public String getComment()
      Gibt zurück:
      Comment provided by the user or application, null if not present.
    • setComment

      public void setComment(String comment)
    • getAdditional

      public Map<String,Object> getAdditional()
      Gibt zurück:
      Map with additional keys, which are not officially supported by the HAR specification
    • setAdditionalField

      public void setAdditionalField(String key, Object value)
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object