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 org.eclipse.aether.spi.connector.transport.http.RFC9457.RFC9457Reporter<org.apache.http.client.methods.CloseableHttpResponse,org.apache.http.client.HttpResponseException>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • isRFC9457Message

      protected boolean isRFC9457Message(org.apache.http.client.methods.CloseableHttpResponse response)
      Specified by:
      isRFC9457Message in class org.eclipse.aether.spi.connector.transport.http.RFC9457.RFC9457Reporter<org.apache.http.client.methods.CloseableHttpResponse,org.apache.http.client.HttpResponseException>
    • getStatusCode

      protected int getStatusCode(org.apache.http.client.methods.CloseableHttpResponse response)
      Specified by:
      getStatusCode in class org.eclipse.aether.spi.connector.transport.http.RFC9457.RFC9457Reporter<org.apache.http.client.methods.CloseableHttpResponse,org.apache.http.client.HttpResponseException>
    • getReasonPhrase

      protected String getReasonPhrase(org.apache.http.client.methods.CloseableHttpResponse response)
      Specified by:
      getReasonPhrase in class org.eclipse.aether.spi.connector.transport.http.RFC9457.RFC9457Reporter<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 class org.eclipse.aether.spi.connector.transport.http.RFC9457.RFC9457Reporter<org.apache.http.client.methods.CloseableHttpResponse,org.apache.http.client.HttpResponseException>
      Throws:
      IOException