Class ApacheRFC9457Reporter
java.lang.Object
org.eclipse.aether.spi.connector.transport.http.RFC9457.RFC9457Reporter<org.apache.http.client.methods.CloseableHttpResponse,org.apache.http.client.HttpResponseException>
org.eclipse.aether.transport.apache.ApacheRFC9457Reporter
public class ApacheRFC9457Reporter
extends RFC9457Reporter<org.apache.http.client.methods.CloseableHttpResponse,org.apache.http.client.HttpResponseException>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getBody
(org.apache.http.client.methods.CloseableHttpResponse response) protected String
getReasonPhrase
(org.apache.http.client.methods.CloseableHttpResponse response) protected int
getStatusCode
(org.apache.http.client.methods.CloseableHttpResponse response) protected boolean
isRFC9457Message
(org.apache.http.client.methods.CloseableHttpResponse response) Methods inherited from class org.eclipse.aether.spi.connector.transport.http.RFC9457.RFC9457Reporter
generateException, hasRFC9457ContentType
-
Field Details
-
INSTANCE
-
-
Method Details
-
isRFC9457Message
- Specified by:
isRFC9457Message
in classRFC9457Reporter<org.apache.http.client.methods.CloseableHttpResponse,
org.apache.http.client.HttpResponseException>
-
getStatusCode
- Specified by:
getStatusCode
in classRFC9457Reporter<org.apache.http.client.methods.CloseableHttpResponse,
org.apache.http.client.HttpResponseException>
-
getReasonPhrase
- Specified by:
getReasonPhrase
in classRFC9457Reporter<org.apache.http.client.methods.CloseableHttpResponse,
org.apache.http.client.HttpResponseException>
-
getBody
protected String getBody(org.apache.http.client.methods.CloseableHttpResponse response) throws IOException - Specified by:
getBody
in classRFC9457Reporter<org.apache.http.client.methods.CloseableHttpResponse,
org.apache.http.client.HttpResponseException> - Throws:
IOException
-