Class EchoHeadersApiResource
java.lang.Object
org.apache.fineract.infrastructure.core.debug.EchoHeadersApiResource
Returns HTTP Request headers. Useful for debugging (e.g. for
FINERACT-914. Could later be replaced with Spring
Boot's Actuator HTTP Tracing (see also related
tutorial on Baeldung.com), but that exposes a lot more than just the current request out of the box, and would to
be properly authenticated for a dedicated new debug role.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EchoHeadersApiResource
public EchoHeadersApiResource()
-
-
Method Details
-
get
@GET @Consumes("*/*") @Produces("text/plain") public String get(@Context jakarta.ws.rs.core.HttpHeaders headers)
-