public class

GopherClient

extends NetworkClient
implements Runnable
java.lang.Object
   ↳ sun.net.NetworkClient
     ↳ sun.net.www.protocol.gopher.GopherClient

Class Overview

Class to maintain the state of a gopher fetch and handle the protocol

Summary

Fields
public static String gopherProxyHost This field is deprecated. No replacement.
public static int gopherProxyPort This field is deprecated. No replacement.
public static boolean useGopherProxy This field is deprecated. No replacement.
[Expand]
Inherited Fields
From class sun.net.NetworkClient
Public Methods
static String getGopherProxyHost()
static int getGopherProxyPort()
static boolean getUseGopherProxy()
void run()
This method is run as a seperate thread when an incoming gopher document requires translation to html
[Expand]
Inherited Methods
From class sun.net.NetworkClient
From class java.lang.Object
From interface java.lang.Runnable

Fields

public static String gopherProxyHost

This field is deprecated.
No replacement.

public static int gopherProxyPort

This field is deprecated.
No replacement.

public static boolean useGopherProxy

This field is deprecated.
No replacement.

Public Methods

public static String getGopherProxyHost ()

Returns
  • the proxy host to use, or null if nothing is set.

public static int getGopherProxyPort ()

Returns
  • the proxy port to use. Will default reasonably.

public static boolean getUseGopherProxy ()

Returns
  • true if gopher connections should go through a proxy, according to system properties.

public void run ()

This method is run as a seperate thread when an incoming gopher document requires translation to html