java.lang.Object
org.apache.hc.core5.http.message.AbstractMessageWrapper
org.apache.hc.core5.http.message.HttpRequestWrapper
io.opentelemetry.javaagent.instrumentation.apachehttpclient.v5_0.RequestWithHost
All Implemented Interfaces:
org.apache.hc.core5.http.ClassicHttpRequest, org.apache.hc.core5.http.HttpEntityContainer, org.apache.hc.core5.http.HttpMessage, org.apache.hc.core5.http.HttpRequest, org.apache.hc.core5.http.MessageHeaders

public class RequestWithHost extends org.apache.hc.core5.http.message.HttpRequestWrapper implements org.apache.hc.core5.http.ClassicHttpRequest
  • Constructor Summary

    Constructors
    Constructor
    Description
    RequestWithHost(org.apache.hc.core5.http.HttpHost httpHost, org.apache.hc.core5.http.ClassicHttpRequest httpRequest)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hc.core5.net.URIAuthority
     
    org.apache.hc.core5.http.HttpEntity
     
     
     
    void
    setEntity(org.apache.hc.core5.http.HttpEntity entity)
     

    Methods inherited from class org.apache.hc.core5.http.message.HttpRequestWrapper

    getMethod, getPath, getRequestUri, setAuthority, setPath, setScheme, setUri

    Methods inherited from class org.apache.hc.core5.http.message.AbstractMessageWrapper

    addHeader, addHeader, containsHeader, countHeaders, getFirstHeader, getHeader, getHeaders, getHeaders, getLastHeader, getVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setVersion, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.hc.core5.http.HttpMessage

    addHeader, addHeader, getVersion, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setVersion

    Methods inherited from interface org.apache.hc.core5.http.HttpRequest

    getMethod, getPath, getRequestUri, setAuthority, setPath, setScheme, setUri

    Methods inherited from interface org.apache.hc.core5.http.MessageHeaders

    containsHeader, countHeaders, getFirstHeader, getHeader, getHeaders, getHeaders, getLastHeader, headerIterator, headerIterator
  • Constructor Details

    • RequestWithHost

      public RequestWithHost(org.apache.hc.core5.http.HttpHost httpHost, org.apache.hc.core5.http.ClassicHttpRequest httpRequest)
  • Method Details

    • getScheme

      public String getScheme()
      Specified by:
      getScheme in interface org.apache.hc.core5.http.HttpRequest
      Overrides:
      getScheme in class org.apache.hc.core5.http.message.HttpRequestWrapper
    • getAuthority

      public org.apache.hc.core5.net.URIAuthority getAuthority()
      Specified by:
      getAuthority in interface org.apache.hc.core5.http.HttpRequest
      Overrides:
      getAuthority in class org.apache.hc.core5.http.message.HttpRequestWrapper
    • getUri

      public URI getUri()
      Specified by:
      getUri in interface org.apache.hc.core5.http.HttpRequest
      Overrides:
      getUri in class org.apache.hc.core5.http.message.HttpRequestWrapper
    • getEntity

      public org.apache.hc.core5.http.HttpEntity getEntity()
      Specified by:
      getEntity in interface org.apache.hc.core5.http.HttpEntityContainer
    • setEntity

      public void setEntity(org.apache.hc.core5.http.HttpEntity entity)
      Specified by:
      setEntity in interface org.apache.hc.core5.http.HttpEntityContainer