-
-
Notifications
You must be signed in to change notification settings - Fork 468
Expand file tree
/
Copy pathsentry-spring.api
More file actions
334 lines (277 loc) · 17.9 KB
/
sentry-spring.api
File metadata and controls
334 lines (277 loc) · 17.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
public final class io/sentry/spring/BuildConfig {
public static final field SENTRY_SPRING_SDK_NAME Ljava/lang/String;
public static final field VERSION_NAME Ljava/lang/String;
}
public final class io/sentry/spring/ContextTagsEventProcessor : io/sentry/EventProcessor {
public fun <init> (Lio/sentry/SentryOptions;)V
public fun getOrder ()Ljava/lang/Long;
public fun process (Lio/sentry/SentryEvent;Lio/sentry/Hint;)Lio/sentry/SentryEvent;
}
public abstract interface annotation class io/sentry/spring/EnableSentry : java/lang/annotation/Annotation {
public abstract fun dsn ()Ljava/lang/String;
public abstract fun exceptionResolverOrder ()I
public abstract fun maxRequestBodySize ()Lio/sentry/SentryOptions$RequestSize;
public abstract fun sendDefaultPii ()Z
}
public final class io/sentry/spring/HttpServletRequestSentryUserProvider : io/sentry/spring/SentryUserProvider {
public fun <init> (Lio/sentry/SentryOptions;)V
public fun provideUser ()Lio/sentry/protocol/User;
}
public class io/sentry/spring/SentryExceptionResolver : org/springframework/core/Ordered, org/springframework/web/servlet/HandlerExceptionResolver {
public static final field MECHANISM_TYPE Ljava/lang/String;
public fun <init> (Lio/sentry/IScopes;Lio/sentry/spring/tracing/TransactionNameProvider;I)V
protected fun createEvent (Ljavax/servlet/http/HttpServletRequest;Ljava/lang/Exception;)Lio/sentry/SentryEvent;
protected fun createHint (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lio/sentry/Hint;
public fun getOrder ()I
public fun resolveException (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/Object;Ljava/lang/Exception;)Lorg/springframework/web/servlet/ModelAndView;
}
public class io/sentry/spring/SentryHubRegistrar : org/springframework/context/annotation/ImportBeanDefinitionRegistrar {
public fun <init> ()V
public fun registerBeanDefinitions (Lorg/springframework/core/type/AnnotationMetadata;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
}
public class io/sentry/spring/SentryInitBeanPostProcessor : org/springframework/beans/factory/DisposableBean, org/springframework/beans/factory/config/BeanPostProcessor, org/springframework/context/ApplicationContextAware {
public fun <init> ()V
public fun destroy ()V
public fun postProcessAfterInitialization (Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
public fun setApplicationContext (Lorg/springframework/context/ApplicationContext;)V
}
public class io/sentry/spring/SentryRequestHttpServletRequestProcessor : io/sentry/EventProcessor {
public fun <init> (Lio/sentry/spring/tracing/TransactionNameProvider;Ljavax/servlet/http/HttpServletRequest;)V
public fun getOrder ()Ljava/lang/Long;
public fun process (Lio/sentry/SentryEvent;Lio/sentry/Hint;)Lio/sentry/SentryEvent;
}
public class io/sentry/spring/SentryRequestResolver {
protected static final field staticLock Lio/sentry/util/AutoClosableReentrantLock;
public fun <init> (Lio/sentry/IScopes;)V
public fun resolveSentryRequest (Ljavax/servlet/http/HttpServletRequest;)Lio/sentry/protocol/Request;
}
public class io/sentry/spring/SentrySpringFilter : org/springframework/web/filter/OncePerRequestFilter {
public fun <init> ()V
public fun <init> (Lio/sentry/IScopes;)V
public fun <init> (Lio/sentry/IScopes;Lio/sentry/spring/SentryRequestResolver;Lio/sentry/spring/tracing/TransactionNameProvider;)V
protected fun doFilterInternal (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V
}
public class io/sentry/spring/SentrySpringServletContainerInitializer : javax/servlet/ServletContainerInitializer {
public fun <init> ()V
public fun onStartup (Ljava/util/Set;Ljavax/servlet/ServletContext;)V
}
public final class io/sentry/spring/SentryTaskDecorator : org/springframework/core/task/TaskDecorator {
public fun <init> ()V
public fun decorate (Ljava/lang/Runnable;)Ljava/lang/Runnable;
}
public class io/sentry/spring/SentryUserFilter : org/springframework/web/filter/OncePerRequestFilter {
public fun <init> (Lio/sentry/IScopes;Ljava/util/List;)V
protected fun doFilterInternal (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V
public fun getSentryUserProviders ()Ljava/util/List;
}
public abstract interface class io/sentry/spring/SentryUserProvider {
public abstract fun provideUser ()Lio/sentry/protocol/User;
}
public class io/sentry/spring/SentryWebConfiguration {
public fun <init> ()V
public fun httpServletRequestSentryUserProvider (Lio/sentry/SentryOptions;)Lio/sentry/spring/HttpServletRequestSentryUserProvider;
}
public final class io/sentry/spring/SpringProfilesEventProcessor : io/sentry/EventProcessor {
public fun <init> (Lorg/springframework/core/env/Environment;)V
public fun process (Lio/sentry/SentryEvent;Lio/sentry/Hint;)Lio/sentry/SentryEvent;
public fun process (Lio/sentry/SentryReplayEvent;Lio/sentry/Hint;)Lio/sentry/SentryReplayEvent;
public fun process (Lio/sentry/protocol/SentryTransaction;Lio/sentry/Hint;)Lio/sentry/protocol/SentryTransaction;
}
public final class io/sentry/spring/SpringSecuritySentryUserProvider : io/sentry/spring/SentryUserProvider {
public fun <init> (Lio/sentry/SentryOptions;)V
public fun provideUser ()Lio/sentry/protocol/User;
}
public abstract interface annotation class io/sentry/spring/checkin/SentryCheckIn : java/lang/annotation/Annotation {
public abstract fun heartbeat ()Z
public abstract fun monitorSlug ()Ljava/lang/String;
public abstract fun value ()Ljava/lang/String;
}
public class io/sentry/spring/checkin/SentryCheckInAdvice : org/aopalliance/intercept/MethodInterceptor, org/springframework/context/EmbeddedValueResolverAware {
public fun <init> ()V
public fun <init> (Lio/sentry/IScopes;)V
public fun invoke (Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;
public fun setEmbeddedValueResolver (Lorg/springframework/util/StringValueResolver;)V
}
public class io/sentry/spring/checkin/SentryCheckInAdviceConfiguration {
public fun <init> ()V
public fun sentryCheckInAdvice ()Lorg/aopalliance/aop/Advice;
public fun sentryCheckInAdvisor (Lorg/springframework/aop/Pointcut;Lorg/aopalliance/aop/Advice;)Lorg/springframework/aop/Advisor;
}
public class io/sentry/spring/checkin/SentryCheckInPointcutConfiguration {
public fun <init> ()V
public fun sentryCheckInPointcut ()Lorg/springframework/aop/Pointcut;
}
public class io/sentry/spring/checkin/SentryQuartzConfiguration {
public fun <init> ()V
public fun schedulerFactoryBeanCustomizer ()Lorg/springframework/boot/autoconfigure/quartz/SchedulerFactoryBeanCustomizer;
}
public final class io/sentry/spring/checkin/SentrySchedulerFactoryBeanCustomizer : org/springframework/boot/autoconfigure/quartz/SchedulerFactoryBeanCustomizer {
public fun <init> ()V
public fun customize (Lorg/springframework/scheduling/quartz/SchedulerFactoryBean;)V
}
public abstract interface annotation class io/sentry/spring/exception/SentryCaptureExceptionParameter : java/lang/annotation/Annotation {
}
public class io/sentry/spring/exception/SentryCaptureExceptionParameterAdvice : org/aopalliance/intercept/MethodInterceptor {
public fun <init> ()V
public fun <init> (Lio/sentry/IScopes;)V
public fun invoke (Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;
}
public class io/sentry/spring/exception/SentryCaptureExceptionParameterConfiguration {
public fun <init> ()V
}
public class io/sentry/spring/exception/SentryCaptureExceptionParameterPointcutConfiguration {
public fun <init> ()V
public fun sentryCaptureExceptionParameterPointcut ()Lorg/springframework/aop/Pointcut;
}
public class io/sentry/spring/exception/SentryExceptionParameterAdviceConfiguration {
public fun <init> ()V
public fun sentryCaptureExceptionParameterAdvice ()Lorg/aopalliance/aop/Advice;
public fun sentryCaptureExceptionParameterAdvisor (Lorg/springframework/aop/Pointcut;Lorg/aopalliance/aop/Advice;)Lorg/springframework/aop/Advisor;
}
public final class io/sentry/spring/graphql/SentryBatchLoaderRegistry : org/springframework/graphql/execution/BatchLoaderRegistry {
public fun forName (Ljava/lang/String;)Lorg/springframework/graphql/execution/BatchLoaderRegistry$RegistrationSpec;
public fun forTypePair (Ljava/lang/Class;Ljava/lang/Class;)Lorg/springframework/graphql/execution/BatchLoaderRegistry$RegistrationSpec;
public fun registerDataLoaders (Lorg/dataloader/DataLoaderRegistry;Lgraphql/GraphQLContext;)V
}
public final class io/sentry/spring/graphql/SentryBatchLoaderRegistry$SentryRegistrationSpec : org/springframework/graphql/execution/BatchLoaderRegistry$RegistrationSpec {
public fun <init> (Lorg/springframework/graphql/execution/BatchLoaderRegistry$RegistrationSpec;Ljava/lang/Class;Ljava/lang/Class;)V
public fun <init> (Lorg/springframework/graphql/execution/BatchLoaderRegistry$RegistrationSpec;Ljava/lang/String;)V
public fun registerBatchLoader (Ljava/util/function/BiFunction;)V
public fun registerMappedBatchLoader (Ljava/util/function/BiFunction;)V
public fun withName (Ljava/lang/String;)Lorg/springframework/graphql/execution/BatchLoaderRegistry$RegistrationSpec;
public fun withOptions (Ljava/util/function/Consumer;)Lorg/springframework/graphql/execution/BatchLoaderRegistry$RegistrationSpec;
public fun withOptions (Lorg/dataloader/DataLoaderOptions;)Lorg/springframework/graphql/execution/BatchLoaderRegistry$RegistrationSpec;
}
public final class io/sentry/spring/graphql/SentryDataFetcherExceptionResolverAdapter : org/springframework/graphql/execution/DataFetcherExceptionResolverAdapter {
public fun <init> ()V
public fun isThreadLocalContextAware ()Z
}
public final class io/sentry/spring/graphql/SentryDgsSubscriptionHandler : io/sentry/graphql/SentrySubscriptionHandler {
public fun <init> ()V
public fun onSubscriptionResult (Ljava/lang/Object;Lio/sentry/IScopes;Lio/sentry/graphql/ExceptionReporter;Lgraphql/execution/instrumentation/parameters/InstrumentationFieldFetchParameters;)Ljava/lang/Object;
}
public final class io/sentry/spring/graphql/SentryGraphqlBeanPostProcessor : org/springframework/beans/factory/config/BeanPostProcessor, org/springframework/core/PriorityOrdered {
public fun <init> ()V
public fun getOrder ()I
public fun postProcessAfterInitialization (Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
}
public class io/sentry/spring/graphql/SentryGraphqlConfiguration {
public fun <init> ()V
public fun exceptionResolverAdapter ()Lio/sentry/spring/graphql/SentryDataFetcherExceptionResolverAdapter;
public fun graphqlBeanPostProcessor ()Lio/sentry/spring/graphql/SentryGraphqlBeanPostProcessor;
public fun sentryInstrumentationWebMvc (Lorg/springframework/beans/factory/ObjectProvider;)Lio/sentry/graphql/SentryInstrumentation;
public fun sentryInstrumentationWebflux (Lorg/springframework/beans/factory/ObjectProvider;)Lio/sentry/graphql/SentryInstrumentation;
}
public final class io/sentry/spring/graphql/SentrySpringSubscriptionHandler : io/sentry/graphql/SentrySubscriptionHandler {
public fun <init> ()V
public fun onSubscriptionResult (Ljava/lang/Object;Lio/sentry/IScopes;Lio/sentry/graphql/ExceptionReporter;Lgraphql/execution/instrumentation/parameters/InstrumentationFieldFetchParameters;)Ljava/lang/Object;
}
public class io/sentry/spring/opentelemetry/SentryOpenTelemetryAgentWithoutAutoInitConfiguration {
public fun <init> ()V
public fun sentryOpenTelemetryOptionsConfiguration ()Lio/sentry/Sentry$OptionsConfiguration;
}
public class io/sentry/spring/opentelemetry/SentryOpenTelemetryNoAgentConfiguration {
public fun <init> ()V
public static fun openTelemetrySpanFactory (Lio/opentelemetry/api/OpenTelemetry;)Lio/sentry/ISpanFactory;
public fun sentryOpenTelemetryOptionsConfiguration ()Lio/sentry/Sentry$OptionsConfiguration;
}
public final class io/sentry/spring/tracing/CombinedTransactionNameProvider : io/sentry/spring/tracing/TransactionNameProvider {
public fun <init> (Ljava/util/List;)V
public fun provideTransactionName (Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String;
public fun provideTransactionNameAndSource (Ljavax/servlet/http/HttpServletRequest;)Lio/sentry/spring/tracing/TransactionNameWithSource;
public fun provideTransactionSource ()Lio/sentry/protocol/TransactionNameSource;
}
public class io/sentry/spring/tracing/SentryAdviceConfiguration {
public fun <init> ()V
public fun sentrySpanAdvice ()Lorg/aopalliance/aop/Advice;
public fun sentrySpanAdvisor (Lorg/springframework/aop/Pointcut;Lorg/aopalliance/aop/Advice;)Lorg/springframework/aop/Advisor;
public fun sentryTransactionAdvice ()Lorg/aopalliance/aop/Advice;
public fun sentryTransactionAdvisor (Lorg/springframework/aop/Pointcut;Lorg/aopalliance/aop/Advice;)Lorg/springframework/aop/Advisor;
}
public abstract interface annotation class io/sentry/spring/tracing/SentrySpan : java/lang/annotation/Annotation {
public abstract fun description ()Ljava/lang/String;
public abstract fun operation ()Ljava/lang/String;
public abstract fun value ()Ljava/lang/String;
}
public class io/sentry/spring/tracing/SentrySpanAdvice : org/aopalliance/intercept/MethodInterceptor {
public fun <init> ()V
public fun <init> (Lio/sentry/IScopes;)V
public fun invoke (Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;
}
public class io/sentry/spring/tracing/SentrySpanClientHttpRequestInterceptor : org/springframework/http/client/ClientHttpRequestInterceptor {
public fun <init> (Lio/sentry/IScopes;)V
public fun intercept (Lorg/springframework/http/HttpRequest;[BLorg/springframework/http/client/ClientHttpRequestExecution;)Lorg/springframework/http/client/ClientHttpResponse;
}
public class io/sentry/spring/tracing/SentrySpanClientWebRequestFilter : org/springframework/web/reactive/function/client/ExchangeFilterFunction {
public fun <init> (Lio/sentry/IScopes;)V
public fun filter (Lorg/springframework/web/reactive/function/client/ClientRequest;Lorg/springframework/web/reactive/function/client/ExchangeFunction;)Lreactor/core/publisher/Mono;
}
public class io/sentry/spring/tracing/SentrySpanPointcutConfiguration {
public fun <init> ()V
public fun sentrySpanPointcut ()Lorg/springframework/aop/Pointcut;
}
public class io/sentry/spring/tracing/SentryTracingConfiguration {
public fun <init> ()V
}
public class io/sentry/spring/tracing/SentryTracingFilter : org/springframework/web/filter/OncePerRequestFilter {
public fun <init> ()V
public fun <init> (Lio/sentry/IScopes;)V
public fun <init> (Lio/sentry/IScopes;Lio/sentry/spring/tracing/TransactionNameProvider;)V
public fun <init> (Lio/sentry/IScopes;Lio/sentry/spring/tracing/TransactionNameProvider;Z)V
protected fun doFilterInternal (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/FilterChain;)V
protected fun shouldNotFilterAsyncDispatch ()Z
}
public abstract interface annotation class io/sentry/spring/tracing/SentryTransaction : java/lang/annotation/Annotation {
public abstract fun name ()Ljava/lang/String;
public abstract fun operation ()Ljava/lang/String;
public abstract fun value ()Ljava/lang/String;
}
public class io/sentry/spring/tracing/SentryTransactionAdvice : org/aopalliance/intercept/MethodInterceptor {
public fun <init> ()V
public fun <init> (Lio/sentry/IScopes;)V
public fun invoke (Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;
}
public class io/sentry/spring/tracing/SentryTransactionPointcutConfiguration {
public fun <init> ()V
public fun sentryTransactionPointcut ()Lorg/springframework/aop/Pointcut;
}
public final class io/sentry/spring/tracing/SpringMvcTransactionNameProvider : io/sentry/spring/tracing/TransactionNameProvider {
public fun <init> ()V
public fun provideTransactionName (Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String;
public fun provideTransactionSource ()Lio/sentry/protocol/TransactionNameSource;
}
public final class io/sentry/spring/tracing/SpringServletTransactionNameProvider : io/sentry/spring/tracing/TransactionNameProvider {
public fun <init> ()V
public fun provideTransactionName (Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String;
public fun provideTransactionSource ()Lio/sentry/protocol/TransactionNameSource;
}
public abstract interface class io/sentry/spring/tracing/TransactionNameProvider {
public abstract fun provideTransactionName (Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String;
public fun provideTransactionNameAndSource (Ljavax/servlet/http/HttpServletRequest;)Lio/sentry/spring/tracing/TransactionNameWithSource;
public fun provideTransactionSource ()Lio/sentry/protocol/TransactionNameSource;
}
public final class io/sentry/spring/tracing/TransactionNameWithSource {
public fun <init> (Ljava/lang/String;Lio/sentry/protocol/TransactionNameSource;)V
public fun getTransactionName ()Ljava/lang/String;
public fun getTransactionNameSource ()Lio/sentry/protocol/TransactionNameSource;
}
public class io/sentry/spring/webflux/SentryRequestResolver {
public fun <init> (Lio/sentry/IScopes;)V
public fun resolveSentryRequest (Lorg/springframework/http/server/reactive/ServerHttpRequest;)Lio/sentry/protocol/Request;
}
public final class io/sentry/spring/webflux/SentryScheduleHook : java/util/function/Function {
public fun <init> ()V
public synthetic fun apply (Ljava/lang/Object;)Ljava/lang/Object;
public fun apply (Ljava/lang/Runnable;)Ljava/lang/Runnable;
}
public final class io/sentry/spring/webflux/SentryWebExceptionHandler : org/springframework/web/server/WebExceptionHandler {
public static final field MECHANISM_TYPE Ljava/lang/String;
public fun <init> (Lio/sentry/IScopes;)V
public fun handle (Lorg/springframework/web/server/ServerWebExchange;Ljava/lang/Throwable;)Lreactor/core/publisher/Mono;
}
public final class io/sentry/spring/webflux/SentryWebFilter : org/springframework/web/server/WebFilter {
public static final field SENTRY_HUB_KEY Ljava/lang/String;
public static final field SENTRY_SCOPES_KEY Ljava/lang/String;
public fun <init> (Lio/sentry/IScopes;)V
public fun filter (Lorg/springframework/web/server/ServerWebExchange;Lorg/springframework/web/server/WebFilterChain;)Lreactor/core/publisher/Mono;
}