Package io.sentry.protocol
Class Response
java.lang.Object
io.sentry.protocol.Response
- All Implemented Interfaces:
JsonSerializable
,JsonUnknown
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Long
@Nullable String
@Nullable Object
getData()
@Nullable Integer
void
serialize
(@NotNull ObjectWriter writer, @NotNull ILogger logger) void
setBodySize
(@Nullable Long bodySize) void
setCookies
(@Nullable String cookies) void
void
setHeaders
(@Nullable Map<String, String> headers) void
setStatusCode
(@Nullable Integer statusCode) void
setUnknown
(@Nullable Map<String, Object> unknown)
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
Response
public Response() -
Response
-
-
Method Details
-
getCookies
-
setCookies
-
getHeaders
-
setHeaders
-
getUnknown
- Specified by:
getUnknown
in interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknown
in interfaceJsonUnknown
-
getStatusCode
-
setStatusCode
-
getBodySize
-
setBodySize
-
getData
-
setData
-
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serialize
in interfaceJsonSerializable
- Throws:
IOException
-