Package io.sentry.protocol
Class Contexts
- All Implemented Interfaces:
JsonSerializable
,Serializable
,ConcurrentMap<String,
,Object> Map<String,
Object>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,
V extends Object> Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable App
getApp()
@Nullable Browser
@Nullable Device
@Nullable Gpu
getGpu()
@Nullable OperatingSystem
@Nullable Response
@Nullable SentryRuntime
@Nullable SpanContext
getTrace()
void
serialize
(@NotNull ObjectWriter writer, @NotNull ILogger logger) void
void
setBrowser
(@NotNull Browser browser) void
void
void
setOperatingSystem
(@NotNull OperatingSystem operatingSystem) void
setResponse
(@NotNull Response response) void
setRuntime
(@NotNull SentryRuntime runtime) void
setTrace
(@Nullable SpanContext traceContext) void
withResponse
(HintUtils.SentryConsumer<Response> callback) Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
Methods inherited from class java.util.AbstractMap
clone
-
Field Details
-
REPLAY_ID
- See Also:
-
-
Constructor Details
-
Contexts
public Contexts() -
Contexts
-
-
Method Details
-
getTrace
-
setTrace
-
getApp
-
setApp
-
getBrowser
-
setBrowser
-
getDevice
-
setDevice
-
getOperatingSystem
-
setOperatingSystem
-
getRuntime
-
setRuntime
-
getGpu
-
setGpu
-
getResponse
-
withResponse
-
setResponse
-
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serialize
in interfaceJsonSerializable
- Throws:
IOException
-