Package org.mockserver.mock.action.http
Class HttpErrorActionHandler
java.lang.Object
org.mockserver.mock.action.http.HttpErrorActionHandler
Applies an
HttpError action to the underlying Netty channel: writes raw response bytes,
resets the request stream (HTTP/2 RST_STREAM, written here; HTTP/3 RESET_STREAM, handled by the
HTTP/3 response writer seam in mockserver-netty), and/or drops the connection.- Author:
- jamesdbloom
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidhandle(HttpError httpError, HttpRequest request, io.netty.channel.ChannelHandlerContext ctx)
-
Constructor Details
-
HttpErrorActionHandler
public HttpErrorActionHandler()
-
-
Method Details
-
handle
-
handle
public void handle(HttpError httpError, HttpRequest request, io.netty.channel.ChannelHandlerContext ctx)
-