Class ResponseFilterTest.MyServerFilter
java.lang.Object
io.micronaut.http.server.tck.tests.filter.ResponseFilterTest.MyServerFilter
- Enclosing class:
- ResponseFilterTest
@ServerFilter
@Singleton
@Requires(property="spec.name",
value="ResponseFilterTest")
public static class ResponseFilterTest.MyServerFilter
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
responseFilterImmediateRequestParameter
(HttpRequest<?> request) void
responseFilterReplaceCompletableResponse
(HttpResponse<?> response) responseFilterReplaceCompletionResponse
(HttpResponse<?> response) reactor.core.publisher.Mono<MutableHttpResponse<?>>
responseFilterReplaceMonoResponse
(HttpResponse<?> response) responseFilterReplaceMutableResponse
(HttpResponse<?> response) responseFilterReplacePublisherResponse
(HttpResponse<?> response) HttpResponse<?>
responseFilterReplaceResponse
(HttpResponse<?> response) Optional<HttpResponse<?>>
void
responseFilterResponseParameter
(HttpResponse<?> response) void
-
Constructor Details
-
MyServerFilter
public MyServerFilter()
-
-
Method Details
-
responseFilterImmediateRequestParameter
@ResponseFilter("/response-filter/immediate-request-parameter") public void responseFilterImmediateRequestParameter(HttpRequest<?> request) -
responseFilterImmediateMutableRequestParameter
@ResponseFilter("/response-filter/immediate-mutable-request-parameter") public void responseFilterImmediateMutableRequestParameter(MutableHttpRequest<?> request) -
responseFilterResponseParameter
@ResponseFilter("/response-filter/response-parameter") public void responseFilterResponseParameter(HttpResponse<?> response) -
responseFilterMutableResponseParameter
@ResponseFilter("/response-filter/mutable-response-parameter") public void responseFilterMutableResponseParameter(MutableHttpResponse<?> response) -
responseFilterThrowableParameter
@ResponseFilter("/response-filter/throwable-parameter") public void responseFilterThrowableParameter(Throwable t) -
responseFilterReplaceResponse
@ResponseFilter("/response-filter/replace-response") public HttpResponse<?> responseFilterReplaceResponse(HttpResponse<?> response) -
responseFilterReplaceMutableResponse
@ResponseFilter("/response-filter/replace-mutable-response") public MutableHttpResponse<?> responseFilterReplaceMutableResponse(HttpResponse<?> response) -
responseFilterReplaceResponseNull
@ResponseFilter("/response-filter/replace-response-null") @Nullable public @Nullable HttpResponse<?> responseFilterReplaceResponseNull() -
responseFilterReplaceResponseEmpty
@ResponseFilter("/response-filter/replace-response-empty") public Optional<HttpResponse<?>> responseFilterReplaceResponseEmpty() -
responseFilterReplacePublisherResponse
@ResponseFilter("/response-filter/replace-publisher-response") public Publisher<MutableHttpResponse<?>> responseFilterReplacePublisherResponse(HttpResponse<?> response) -
responseFilterReplaceMonoResponse
@ResponseFilter("/response-filter/replace-mono-response") public reactor.core.publisher.Mono<MutableHttpResponse<?>> responseFilterReplaceMonoResponse(HttpResponse<?> response) -
responseFilterReplaceCompletableResponse
@ResponseFilter("/response-filter/replace-completable-response") public CompletableFuture<MutableHttpResponse<?>> responseFilterReplaceCompletableResponse(HttpResponse<?> response) -
responseFilterReplaceCompletionResponse
@ResponseFilter("/response-filter/replace-completion-response") public CompletionStage<MutableHttpResponse<?>> responseFilterReplaceCompletionResponse(HttpResponse<?> response)
-