Package io.sentry.protocol
Class Contexts
- All Implemented Interfaces:
JsonSerializable,Serializable,ConcurrentMap<String,,Object> Map<String,Object>
- See Also:
-
Nested Class Summary
Nested ClassesNested 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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable AppgetApp()@Nullable Browser@Nullable Device@Nullable GpugetGpu()@Nullable OperatingSystem@Nullable Response@Nullable SentryRuntime@Nullable SpanContextgetTrace()voidserialize(@NotNull ObjectWriter writer, @NotNull ILogger logger) voidvoidsetBrowser(@NotNull Browser browser) voidvoidvoidsetOperatingSystem(@NotNull OperatingSystem operatingSystem) voidsetResponse(@NotNull Response response) voidsetRuntime(@NotNull SentryRuntime runtime) voidsetTrace(@Nullable SpanContext traceContext) voidwithResponse(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, valuesMethods 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:
serializein interfaceJsonSerializable- Throws:
IOException
-