Class Response

java.lang.Object
io.sentry.protocol.Response
All Implemented Interfaces:
JsonSerializable, JsonUnknown

public final class Response extends Object implements JsonUnknown, JsonSerializable
  • Field Details

  • Constructor Details

    • Response

      public Response()
    • Response

      public Response(@NotNull @NotNull Response response)
  • Method Details

    • getCookies

      @Nullable public @Nullable String getCookies()
    • setCookies

      public void setCookies(@Nullable @Nullable String cookies)
    • getHeaders

      @Nullable public @Nullable Map<String,String> getHeaders()
    • setHeaders

      public void setHeaders(@Nullable @Nullable Map<String,String> headers)
    • getUnknown

      @Nullable public @Nullable Map<String,Object> getUnknown()
      Specified by:
      getUnknown in interface JsonUnknown
    • setUnknown

      public void setUnknown(@Nullable @Nullable Map<String,Object> unknown)
      Specified by:
      setUnknown in interface JsonUnknown
    • getStatusCode

      @Nullable public @Nullable Integer getStatusCode()
    • setStatusCode

      public void setStatusCode(@Nullable @Nullable Integer statusCode)
    • getBodySize

      @Nullable public @Nullable Long getBodySize()
    • setBodySize

      public void setBodySize(@Nullable @Nullable Long bodySize)
    • getData

      @Nullable public @Nullable Object getData()
    • setData

      public void setData(@Nullable @Nullable Object data)
    • serialize

      public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException
      Specified by:
      serialize in interface JsonSerializable
      Throws:
      IOException