Class RequestFilterTest.MyServerFilter
java.lang.Object
io.micronaut.http.server.tck.tests.filter.RequestFilterTest.MyServerFilter
- Enclosing class:
- RequestFilterTest
@ServerFilter
@Singleton
@Requires(property="spec.name",
value="RequestFilterTest")
public static class RequestFilterTest.MyServerFilter
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
requestFilterBinding
(String contentType, byte[] bytes, FilterContinuation<HttpResponse<?>> continuation) void
requestFilterContinuationBlocking
(HttpRequest<?> request, FilterContinuation<HttpResponse<?>> continuation) requestFilterContinuationReactivePublisher
(HttpRequest<?> request, FilterContinuation<Publisher<HttpResponse<?>>> continuation) void
requestFilterContinuationUpdateRequest
(FilterContinuation<HttpResponse<?>> continuation) Optional<HttpResponse<?>>
void
void
requestFilterImmediateRequestParameter
(HttpRequest<?> request) HttpResponse<?>
reactor.core.publisher.Mono<HttpResponse<?>>
reactor.core.publisher.Mono<HttpRequest<Object>>
void
requestFilterRouteMatch
(MutableHttpRequest<?> request, RouteMatch<?> routeMatch) HttpResponse<?>
requestFilterRouteMatchNonNull
(MutableHttpRequest<?> request, RouteMatch<?> routeMatch) HttpResponse<?>
requestFilterRouteMatchNullable
(MutableHttpRequest<?> request, @Nullable RouteMatch<?> routeMatch)
-
Constructor Details
-
MyServerFilter
public MyServerFilter()
-
-
Method Details
-
requestFilterImmediateRequestParameter
@RequestFilter("/request-filter/immediate-request-parameter") public void requestFilterImmediateRequestParameter(HttpRequest<?> request) -
requestFilterBinding
@RequestFilter("/request-filter/binding") public void requestFilterBinding(@Header String contentType, @Body byte[] bytes, FilterContinuation<HttpResponse<?>> continuation) -
requestFilterImmediateMutableRequestParameter
@RequestFilter("/request-filter/immediate-mutable-request-parameter") public void requestFilterImmediateMutableRequestParameter(MutableHttpRequest<?> request) -
requestFilterReplaceRequest
@RequestFilter("/request-filter/replace-request") public HttpRequest<Object> requestFilterReplaceRequest() -
requestFilterReplaceMutableRequest
@RequestFilter("/request-filter/replace-mutable-request") public MutableHttpRequest<Object> requestFilterReplaceMutableRequest() -
requestFilterReplaceRequestNull
@RequestFilter("/request-filter/replace-request-null") @Nullable public @Nullable HttpRequest<Object> requestFilterReplaceRequestNull() -
requestFilterReplaceRequestEmpty
@RequestFilter("/request-filter/replace-request-empty") public Optional<HttpRequest<Object>> requestFilterReplaceRequestEmpty() -
requestFilterReplaceRequestPublisher
@RequestFilter("/request-filter/replace-request-publisher") public Publisher<HttpRequest<Object>> requestFilterReplaceRequestPublisher() -
requestFilterReplaceRequestMono
@RequestFilter("/request-filter/replace-request-mono") public reactor.core.publisher.Mono<HttpRequest<Object>> requestFilterReplaceRequestMono() -
requestFilterReplaceRequestCompletable
@RequestFilter("/request-filter/replace-request-completable") public CompletableFuture<HttpRequest<Object>> requestFilterReplaceRequestCompletable() -
requestFilterReplaceRequestCompletion
@RequestFilter("/request-filter/replace-request-completion") public CompletionStage<HttpRequest<Object>> requestFilterReplaceRequestCompletion() -
requestFilterContinuationBlocking
@RequestFilter("/request-filter/continuation-blocking") @ExecuteOn("blocking") public void requestFilterContinuationBlocking(HttpRequest<?> request, FilterContinuation<HttpResponse<?>> continuation) -
requestFilterContinuationReactivePublisher
@RequestFilter("/request-filter/continuation-reactive-publisher") public Publisher<HttpResponse<?>> requestFilterContinuationReactivePublisher(HttpRequest<?> request, FilterContinuation<Publisher<HttpResponse<?>>> continuation) -
requestFilterContinuationUpdateRequest
@RequestFilter("/request-filter/continuation-update-request") @ExecuteOn("blocking") public void requestFilterContinuationUpdateRequest(FilterContinuation<HttpResponse<?>> continuation) -
requestFilterImmediateResponse
@RequestFilter("/request-filter/immediate-response") public HttpResponse<?> requestFilterImmediateResponse() -
requestFilterNullResponse
@RequestFilter("/request-filter/null-response") @Nullable public @Nullable HttpResponse<?> requestFilterNullResponse() -
requestFilterEmptyOptionalResponse
@RequestFilter("/request-filter/empty-optional-response") public Optional<HttpResponse<?>> requestFilterEmptyOptionalResponse() -
requestFilterPublisherResponse
@RequestFilter("/request-filter/publisher-response") public Publisher<HttpResponse<?>> requestFilterPublisherResponse() -
requestFilterMonoResponse
@RequestFilter("/request-filter/mono-response") public reactor.core.publisher.Mono<HttpResponse<?>> requestFilterMonoResponse() -
requestFilterCompletableResponse
@RequestFilter("/request-filter/completable-response") public CompletableFuture<MutableHttpResponse<String>> requestFilterCompletableResponse() -
requestFilterCompletionResponse
@RequestFilter("/request-filter/completion-response") public CompletionStage<MutableHttpResponse<String>> requestFilterCompletionResponse() -
requestFilterRouteMatch
@RequestFilter("/request-filter/route-match") public void requestFilterRouteMatch(MutableHttpRequest<?> request, RouteMatch<?> routeMatch) -
requestFilterRouteMatchNullable
@RequestFilter("/request-filter/route-match-nullable") public HttpResponse<?> requestFilterRouteMatchNullable(MutableHttpRequest<?> request, @Nullable @Nullable RouteMatch<?> routeMatch) -
requestFilterRouteMatchNonNull
@RequestFilter("/request-filter/route-match-nonnull") public HttpResponse<?> requestFilterRouteMatchNonNull(MutableHttpRequest<?> request, RouteMatch<?> routeMatch)
-