Skip to content

About

Eclipse Jetty server to record HTTP requests

Resources

Stars

1 star

Watchers

2 watching

Forks

Repository files navigation

HTTP Request Recorder

Simple jetty server to record HTTP requests.

Description

http-request-recorder is a small tool that can be used to record HTTP requests. It is based on Eclipse Jetty and runs on the JVM. Recorded requests are available in memory (as RxJava stream), can be printed in the console or stored as JSON file on the disk.

Requirements

Version 5.x requires Java 17 or newer. It is built on Jetty 12 with the ee9 environment (Jakarta Servlet 5.0). Use 4.x for Java 11 and Jetty 11.

When upgrading from 4.x, note that the signature of JettyServer.start(BiConsumer) changed: the custom handler now receives a jakarta.servlet.http.HttpServletRequest instead of the Jetty Request, and the request is marked as handled by the server once the handler returns, so calling setHandled(true) is no longer necessary.

Read more on the project home page.

Get in touch

Use the issue tracker on GitHub.

You can also contact me on Twitter: @j2r2b

License

About

Eclipse Jetty server to record HTTP requests

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages