Class RFC9457Reporter<T,E extends Exception>

java.lang.Object
org.eclipse.aether.spi.connector.transport.http.RFC9457.RFC9457Reporter<T,E>
Type Parameters:
T - The type of the response.
E - The base exception type to throw if the response is not a RFC9457 message.
Direct Known Subclasses:
ApacheRFC9457Reporter, JdkRFC9457Reporter, JettyRFC9457Reporter

public abstract class RFC9457Reporter<T,E extends Exception> extends Object
A reporter for RFC 9457 messages. RFC 9457 is a standard for reporting problems in HTTP responses as a JSON object. There are members specified in the RFC but none of those appear to be required,
See Also:
  • rfc9457 section 3.7 Given the JSON fields are not mandatory, this reporter simply extracts the body of the response without validation. A RFC 9457 message is detected by the content type "application/problem+json".