Class ResourceConnection

java.lang.Object
org.xmlresolver.ResourceConnection

public class ResourceConnection extends Object
  • Field Details

    • stream

      private InputStream stream
    • uri

      private URI uri
    • redirect

      private URI redirect
    • statusCode

      private int statusCode
    • contentType

      private String contentType
    • etag

      private String etag
    • lastModified

      private Long lastModified
    • date

      private Long date
    • httpclient

      private org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpclient
  • Constructor Details

  • Method Details

    • getStream

      public InputStream getStream()
    • getContentType

      public String getContentType()
    • getEtag

      public String getEtag()
    • getUri

      public URI getUri()
    • getRedirect

      public URI getRedirect()
    • getStatusCode

      public int getStatusCode()
    • getLastModified

      public long getLastModified()
    • getDate

      public long getDate()
    • close

      public void close()
    • getHeader

      private String getHeader(org.apache.hc.core5.http.HttpResponse resp, String name, String def)