Uses of Class
io.fluxcapacitor.javaclient.web.WebResponse
Packages that use WebResponse
Package
Description
-
Uses of WebResponse in io.fluxcapacitor.javaclient.publishing
Methods in io.fluxcapacitor.javaclient.publishing that return WebResponseModifier and TypeMethodDescriptionDefaultWebRequestGateway.sendAndWait
(WebRequest request, WebRequestSettings settings) default WebResponse
WebRequestGateway.sendAndWait
(WebRequest request) Sends the given web request and waits for the response synchronously using default request settings.WebRequestGateway.sendAndWait
(WebRequest request, WebRequestSettings settings) Sends the given web request and waits for the response synchronously using the specified request settings.Methods in io.fluxcapacitor.javaclient.publishing that return types with arguments of type WebResponseModifier and TypeMethodDescriptionDefaultWebRequestGateway.send
(WebRequest request) WebRequestGateway.send
(WebRequest request) Sends the given web request and returns a future that completes with the response. -
Uses of WebResponse in io.fluxcapacitor.javaclient.web
Methods in io.fluxcapacitor.javaclient.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 WebResponse
Maps a generic response object to aWebResponse
.Maps a response and optional metadata into aWebResponse
.static WebResponse
static WebResponse
WebResponse.notModified
(Map<String, String> headers) static WebResponse
static WebResponse
WebResponse.ok
(org.springframework.util.function.ThrowingSupplier<? extends InputStream> inputStreamSupplier, Map<String, String> headers) static WebResponse
WebResponse.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.protected WebResponse
StaticFileHandler.serveStaticFile
(String filePath, WebRequest request) WebResponse.withMessageId
(String messageId) WebResponse.withMetadata
(Metadata metadata) WebResponse.withPayload
(Object payload) WebResponse.withTimestamp
(Instant timestamp) Methods in io.fluxcapacitor.javaclient.web with parameters of type WebResponseModifier and TypeMethodDescriptionprotected CompletableFuture
<Void> WebResponseGateway.sendResponse
(WebResponse response, Function<SerializedMessage, CompletableFuture<Void>> dispatcher) Constructors in io.fluxcapacitor.javaclient.web with parameters of type WebResponse -
Uses of WebResponse in io.fluxcapacitor.proxy
Methods in io.fluxcapacitor.proxy that return WebResponseModifier and TypeMethodDescriptionprotected WebResponse
ForwardProxyConsumer.asWebResponse
(Throwable e) protected WebResponse
ForwardProxyConsumer.asWebResponse
(HttpResponse<byte[]> response) protected WebResponse
ForwardProxyConsumer.executeRequest
(HttpRequest httpRequest) Methods in io.fluxcapacitor.proxy with parameters of type WebResponseModifier and TypeMethodDescriptionprotected void
ForwardProxyConsumer.sendResponse
(WebResponse response, SerializedMessage request)