Class ClientResponseFilterTest.MyClientFilter
java.lang.Object
io.micronaut.http.client.tck.tests.filter.ClientResponseFilterTest.MyClientFilter
- Enclosing class:
- ClientResponseFilterTest
@ClientFilter
@Singleton
@Requires(property="spec.name",
value="ClientResponseFilterTest")
public static class ClientResponseFilterTest.MyClientFilter
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
void
void
void
-
Constructor Details
-
MyClientFilter
public MyClientFilter()
-
-
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) -
responseFilterThrowableParameter
@ResponseFilter("/response-filter/throwable-parameter") public void responseFilterThrowableParameter(HttpClientResponseException t) -
responseFilterThrowableParameter
@ResponseFilter("/response-filter/throwable-parameter") public void responseFilterThrowableParameter(AssertionError t) -
responseFilterThrowableParameterNullable
@ResponseFilter("/response-filter/throwable-parameter") public void responseFilterThrowableParameterNullable(@Nullable @Nullable AssertionError 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)
-