Uses of Class
de.gematik.test.tiger.mockserver.model.HttpResponse
Packages that use HttpResponse
Package
Description
-
Uses of HttpResponse in de.gematik.test.tiger.mockserver.codec
Methods in de.gematik.test.tiger.mockserver.codec with parameters of type HttpResponseModifier and TypeMethodDescriptionprotected voidMockServerHttpToNettyHttpResponseEncoder.encode(io.netty.channel.ChannelHandlerContext ctx, HttpResponse response, List<Object> out) -
Uses of HttpResponse in de.gematik.test.tiger.mockserver.httpclient
Methods in de.gematik.test.tiger.mockserver.httpclient that return types with arguments of type HttpResponseModifier and TypeMethodDescriptionNettyHttpClient.sendRequest(HttpRequestInfo requestInfo) NettyHttpClient.sendRequest(HttpRequestInfo requestInfo, Long customTimeout) -
Uses of HttpResponse in de.gematik.test.tiger.mockserver.mappers
Methods in de.gematik.test.tiger.mockserver.mappers that return HttpResponseModifier and TypeMethodDescriptionFullHttpResponseToMockServerHttpResponse.mapFullHttpResponseToMockServerResponse(io.netty.handler.codec.http.FullHttpResponse fullHttpResponse) Methods in de.gematik.test.tiger.mockserver.mappers with parameters of type HttpResponseModifier and TypeMethodDescriptionList<io.netty.handler.codec.http.DefaultHttpObject>MockServerHttpResponseToFullHttpResponse.mapMockServerResponseToNettyResponse(HttpResponse httpResponse) -
Uses of HttpResponse in de.gematik.test.tiger.mockserver.mock.action
Methods in de.gematik.test.tiger.mockserver.mock.action that return HttpResponseModifier and TypeMethodDescriptionExpectationCallback.handle(HttpRequest httpRequest, HttpResponse httpResponse, HttpRequest originalRequest) Called for every response received from a proxied request, the return value is the returned by MockServer.Methods in de.gematik.test.tiger.mockserver.mock.action with parameters of type HttpResponseModifier and TypeMethodDescriptionExpectationCallback.handle(HttpRequest httpRequest, HttpResponse httpResponse, HttpRequest originalRequest) Called for every response received from a proxied request, the return value is the returned by MockServer. -
Uses of HttpResponse in de.gematik.test.tiger.mockserver.mock.action.http
Methods in de.gematik.test.tiger.mockserver.mock.action.http that return types with arguments of type HttpResponseMethods in de.gematik.test.tiger.mockserver.mock.action.http with parameters of type HttpResponseModifier and TypeMethodDescriptionvoidHttpActionHandler.writeForwardActionResponse(HttpResponse response, NettyResponseWriter responseWriter, HttpRequest request) Method parameters in de.gematik.test.tiger.mockserver.mock.action.http with type arguments of type HttpResponseModifier and TypeMethodDescriptionvoidHttpActionHandler.executeAfterForwardActionResponse(HttpForwardActionResult responseFuture, BiConsumer<HttpResponse, Throwable> command, boolean synchronous) HttpForwardActionHandler.sendRequest(HttpRequest request, io.netty.channel.Channel incomingChannel, InetSocketAddress remoteAddress, UnaryOperator<HttpResponse> overrideHttpResponse) HttpForwardActionResult.setHttpResponse(CompletableFuture<HttpResponse> httpResponse) Constructor parameters in de.gematik.test.tiger.mockserver.mock.action.http with type arguments of type HttpResponseModifierConstructorDescriptionHttpForwardActionResult(HttpRequest httpRequest, CompletableFuture<HttpResponse> httpResponse, Function<HttpResponse, HttpResponse> overrideHttpResponse) HttpForwardActionResult(HttpRequest httpRequest, CompletableFuture<HttpResponse> httpResponse, Function<HttpResponse, HttpResponse> overrideHttpResponse) HttpForwardActionResult(HttpRequest httpRequest, CompletableFuture<HttpResponse> httpResponse, Function<HttpResponse, HttpResponse> overrideHttpResponse) -
Uses of HttpResponse in de.gematik.test.tiger.mockserver.model
Methods in de.gematik.test.tiger.mockserver.model that return HttpResponseModifier and TypeMethodDescriptionHttpOverrideForwardedRequest.getResponseOverride()static HttpResponseHttpResponse.notFoundResponse()Static builder to create a not found response.HttpResponse.removeHeader(String name) HttpResponse.replaceHeader(Header header) Update header to return as a Header object, if a header with the same name already exists it will be modifiedstatic HttpResponseHttpResponse.response()Static builder to create a response.HttpResponse.withBody(byte[] body) HttpResponse.withHeader(Header header) Add a header to return as a Header object, if a header with the same name already exists this will NOT be modified but two headers will existHttpResponse.withHeader(String name, String... values) Add a header to return as a Header object, if a header with the same name already exists this will NOT be modified but two headers will existHttpResponse.withHeaders(Headers headers) HttpResponse.withReasonPhrase(String reasonPhrase) The reason phrase to return, if no reason code is returned this will be defaulted to the standard reason phrase for the statusCode, i.e. for a statusCode of 200 the standard reason phrase is "OK"HttpResponse.withStatusCode(Integer statusCode) The status code to return, such as 200, 404, the status code specified here will result in the default status message for this status code for example for 200 the status message "OK" is usedHttpResponse.withStreamId(Integer streamId) Methods in de.gematik.test.tiger.mockserver.model with parameters of type HttpResponseModifier and TypeMethodDescriptionstatic HttpOverrideForwardedRequestHttpOverrideForwardedRequest.forwardOverriddenRequest(HttpRequest httpRequest, HttpResponse httpResponse) Static builder which will allow overriding proxied request with the specified request.HttpOverrideForwardedRequest.withResponseOverride(HttpResponse httpResponse) All fields, headers, cookies, etc of the provided response will be overridden -
Uses of HttpResponse in de.gematik.test.tiger.mockserver.netty.responsewriter
Methods in de.gematik.test.tiger.mockserver.netty.responsewriter that return HttpResponseModifier and TypeMethodDescriptionprotected HttpResponseNettyResponseWriter.addConnectionHeader(HttpRequest request, HttpResponse response) Methods in de.gematik.test.tiger.mockserver.netty.responsewriter with parameters of type HttpResponseModifier and TypeMethodDescriptionprotected HttpResponseNettyResponseWriter.addConnectionHeader(HttpRequest request, HttpResponse response) voidNettyResponseWriter.sendResponse(HttpRequest request, HttpResponse response) voidNettyResponseWriter.writeHttpResponse(HttpRequest request, HttpResponse response) -
Uses of HttpResponse in de.gematik.test.tiger.mockserver.scheduler
Method parameters in de.gematik.test.tiger.mockserver.scheduler with type arguments of type HttpResponseModifier and TypeMethodDescriptionvoidScheduler.submit(HttpForwardActionResult future, BiConsumer<HttpResponse, Throwable> consumer, boolean synchronous) -
Uses of HttpResponse in de.gematik.test.tiger.proxy
Methods in de.gematik.test.tiger.proxy that return HttpResponseMethods in de.gematik.test.tiger.proxy with parameters of type HttpResponseModifier and TypeMethodDescriptionMockServerToRbelConverter.convertResponse(HttpRequest request, HttpResponse response, String senderUrl, String receiverUrl, Optional<ZonedDateTime> timestamp, AtomicReference<String> previousMessageReference) MockServerToRbelConverter.responseToRbelMessage(HttpResponse response, HttpRequest request) Constructors in de.gematik.test.tiger.proxy with parameters of type HttpResponseModifierConstructorDescriptionMockServerResponseFacet(HttpRequest httpRequest, HttpResponse httpResponse) -
Uses of HttpResponse in de.gematik.test.tiger.proxy.handler
Methods in de.gematik.test.tiger.proxy.handler that return HttpResponseModifier and TypeMethodDescriptionfinal HttpResponseAbstractTigerRouteCallback.handle(HttpRequest req, HttpResponse resp, HttpRequest originalRequest) Methods in de.gematik.test.tiger.proxy.handler with parameters of type HttpResponseModifier and TypeMethodDescriptionvoidAbstractTigerRouteCallback.applyModifications(HttpRequest request, HttpResponse response) voidAbstractTigerRouteCallback.doOutgoingResponseLogging(HttpResponse resp) final HttpResponseAbstractTigerRouteCallback.handle(HttpRequest req, HttpResponse resp, HttpRequest originalRequest) voidAbstractTigerRouteCallback.parseMessageAndApplyModifications(HttpRequest request, HttpResponse response)