Class Proxy

java.lang.Object
com.luciad.loaders.Proxy
All Implemented Interfaces:
AutoCloseable

public final class Proxy extends Object implements AutoCloseable
Represents the proxy server.
  • Constructor Details Link icon

    • Proxy Link icon

      public Proxy(@NotNull String host, int port)
      Constructs the proxy server info.
      Parameters:
      host - the proxy host.
      port - the port of the proxy. If defined, this is a strict positive integer.
  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Object
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getHost Link icon

      @NotNull public String getHost()
      Returns the proxy host.
      Returns:
      the proxy host.
    • getPort Link icon

      public int getPort()
      Returns the proxy port.

      If defined, this is a strict positive integer.

      Returns:
      the proxy port.