Class HttpClientFileSystemBrowser

    • Field Detail

      • DEFAULT_CONNECTION_TIMEOUT

        protected static final int DEFAULT_CONNECTION_TIMEOUT
      • username

        protected String username
      • password

        protected String password
      • httpClient

        protected org.apache.http.impl.client.CloseableHttpClient httpClient
      • headMethod

        protected volatile org.apache.http.client.methods.HttpHead headMethod
      • httpResponse

        protected volatile org.apache.http.client.methods.CloseableHttpResponse httpResponse
        This is the response returned by HttpClient when it executes headMethod.
        Since:
        5.0
      • httpContext

        protected volatile org.apache.http.client.protocol.HttpClientContext httpContext
        This is the context used to retain information about the request that the HttpClient gathers during the request.
        Since:
        5.0
    • Constructor Detail

      • HttpClientFileSystemBrowser

        public HttpClientFileSystemBrowser​(org.apache.http.impl.client.CloseableHttpClient httpClient,
                                           IFileID directoryOrFileID,
                                           IRemoteFileSystemListener listener,
                                           URL directoryOrFileURL,
                                           IConnectContext connectContext,
                                           Proxy proxy)
        Parameters:
        httpClient - http client
        directoryOrFileID - directory or file id
        listener - listener
        directoryOrFileURL - directory or file id
        connectContext - connect context
        proxy - proxy
        Since:
        5.0