Class ClientRequestFilterTest.MyClientFilter
java.lang.Object
io.micronaut.http.client.tck.tests.filter.ClientRequestFilterTest.MyClientFilter
- Enclosing class:
- ClientRequestFilterTest
@ClientFilter
@Singleton
@Requires(property="spec.name",
value="ClientRequestFilterTest")
public static class ClientRequestFilterTest.MyClientFilter
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
requestFilterContinuationBlocking
(MutableHttpRequest<?> request, FilterContinuation<HttpResponse<?>> continuation) requestFilterContinuationReactivePublisher
(MutableHttpRequest<?> 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>>
-
Constructor Details
-
MyClientFilter
public MyClientFilter()
-
-
Method Details
-
requestFilterImmediateRequestParameter
@RequestFilter("/request-filter/immediate-request-parameter") public void requestFilterImmediateRequestParameter(HttpRequest<?> request) -
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(MutableHttpRequest<?> request, FilterContinuation<HttpResponse<?>> continuation) -
requestFilterContinuationReactivePublisher
@RequestFilter("/request-filter/continuation-reactive-publisher") public Publisher<HttpResponse<?>> requestFilterContinuationReactivePublisher(MutableHttpRequest<?> 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()
-