Interface Client


public interface Client

HTTP client.

Obtain instances from ClientFactory.

  • Method Details

    • getHeaders

      Headers getHeaders()
    • getMethod

      Method getMethod()
    • getTransport

      Transport getTransport()
    • getURI

      Reference getURI()
    • send

      Response send() throws IOException
      Throws:
      IOException
    • setEntity

      void setEntity(String entity)
    • setFollowRedirects

      void setFollowRedirects(boolean followRedirects)
    • setKeyStore

      void setKeyStore(File keyStore)
    • setKeyStorePassword

      void setKeyStorePassword(String password)
    • setMethod

      void setMethod(Method method)
    • setRealm

      void setRealm(String realm)
    • setSecret

      void setSecret(String secret)
    • setTransport

      void setTransport(Transport transport)
    • setTrustAll

      void setTrustAll(boolean trustAll)
    • setURI

      void setURI(Reference uri)
    • setUsername

      void setUsername(String username)
    • stop

      void stop() throws Exception
      Throws:
      Exception