Uses of Class
io.fluxzero.sdk.web.WebResponse
Packages that use WebResponse
Package
Description
-
Uses of WebResponse in io.fluxzero.proxy
Methods in io.fluxzero.proxy that return WebResponseModifier and TypeMethodDescriptionprotected WebResponseForwardProxyConsumer.asWebResponse(Throwable e) protected WebResponseForwardProxyConsumer.asWebResponse(HttpResponse<byte[]> response) protected WebResponseForwardProxyConsumer.executeRequest(HttpRequest httpRequest) Methods in io.fluxzero.proxy with parameters of type WebResponseModifier and TypeMethodDescriptionprotected voidForwardProxyConsumer.sendResponse(WebResponse response, SerializedMessage request) -
Uses of WebResponse in io.fluxzero.sdk
Methods in io.fluxzero.sdk that return WebResponseModifier and TypeMethodDescriptionstatic WebResponseFluxzero.sendWebRequestAndWait(WebRequest request) Sends the given web request using default request settings and waits for the response synchronously.static WebResponseFluxzero.sendWebRequestAndWait(WebRequest request, WebRequestSettings settings) Sends the given web request using given request settings and waits for the response synchronously.Methods in io.fluxzero.sdk that return types with arguments of type WebResponseModifier and TypeMethodDescriptionstatic CompletableFuture<WebResponse> Fluxzero.sendWebRequest(WebRequest request) Sends the given web request using default request settings and returns a future that completes with the response.static CompletableFuture<WebResponse> Fluxzero.sendWebRequest(WebRequest request, WebRequestSettings settings) Sends the given web request using the given request settings and returns a future that completes with the response. -
Uses of WebResponse in io.fluxzero.sdk.publishing
Methods in io.fluxzero.sdk.publishing that return WebResponseModifier and TypeMethodDescriptiondefault WebResponseWebRequestGateway.sendAndWait(WebRequest request) Sends the given web request using default request settings and waits for the response synchronously.WebRequestGateway.sendAndWait(WebRequest request, WebRequestSettings settings) Sends the given web request using the specified request settings and waits for the response synchronously.Methods in io.fluxzero.sdk.publishing that return types with arguments of type WebResponseModifier and TypeMethodDescriptiondefault CompletableFuture<WebResponse> WebRequestGateway.send(WebRequest request) Sends the given web request using default request settings and returns a future that completes with the response.WebRequestGateway.send(WebRequest request, WebRequestSettings settings) Sends the given web request using given request settings and returns a future that completes with the response. -
Uses of WebResponse in io.fluxzero.sdk.web
Methods in io.fluxzero.sdk.web that return WebResponseModifier and TypeMethodDescriptionWebResponse.addMetadata(Metadata metadata) WebResponse.addMetadata(Object... keyValues) WebResponse.addMetadata(String key, Object value) WebResponse.addMetadata(Map<String, ?> values) WebResponse.Builder.build()Maps a raw handler return value and associated metadata into aWebResponse.default WebResponseMaps a generic response object to aWebResponse.Maps a response and optional metadata into aWebResponse.static WebResponsestatic WebResponseWebResponse.notModified(Map<String, String> headers) static WebResponsestatic WebResponseWebResponse.ok(org.springframework.util.function.ThrowingSupplier<? extends InputStream> inputStreamSupplier, Map<String, String> headers) static WebResponseWebResponse.partial(org.springframework.util.function.ThrowingSupplier<? extends InputStream> inputStreamSupplier, Map<String, String> headers) WebResponse.retainHeaders(String... headerNames) Retains only the specified headers from the current WebResponse.DefaultWebRequestGateway.sendAndWait(WebRequest request, WebRequestSettings settings) protected WebResponseStaticFileHandler.serveStaticFile(String filePath, WebRequest request) WebResponse.withMessageId(String messageId) WebResponse.withMetadata(Metadata metadata) WebResponse.withPayload(Object payload) WebResponse.withTimestamp(Instant timestamp) Methods in io.fluxzero.sdk.web that return types with arguments of type WebResponseModifier and TypeMethodDescriptionDefaultWebRequestGateway.send(WebRequest request, WebRequestSettings settings) Methods in io.fluxzero.sdk.web with parameters of type WebResponseModifier and TypeMethodDescriptionprotected CompletableFuture<Void> WebResponseGateway.sendResponse(WebResponse response, Function<SerializedMessage, CompletableFuture<Void>> dispatcher) protected booleanWebResponseCompressingInterceptor.shouldCompress(SerializedMessage serializedMessage, WebResponse response) Determines whether the given serialized message should be compressed based on specific criteria.Constructors in io.fluxzero.sdk.web with parameters of type WebResponse