All Packages Class Hierarchy This Package Previous Next Index Java Books
Class com.openly.SLinkS.Net
java.lang.Object | +----com.openly.SLinkS.Net
- public class Net
- extends java.lang.Object

-
MAXFOLLOWS - Prevents infinite redirect loops.

-
Net() -

-
fetch(String) -
-
follow(String) -
The follow method does not distinguish between 3xx Re-directs.
-
main(String[]) -

MAXFOLLOWS public static final int MAXFOLLOWS
- Prevents infinite redirect loops.

Net public Net()

follow public static java.lang.String follow(java.lang.String toFollow)
- The follow method does not distinguish between 3xx Re-directs.
Question Should HTTP-EQUIV directives in HTML meta-tags be followed?
The current answer in the implementation is no, which reduces the overhead, and
allows the possibility of truncating the redirects.
- Parameters:
- toFollow - the URL to follow. It is returned unchanged if there is an error.
- Returns:
- s the URL of the resource connected to by following redirects.
This only works for http protocol as far as I know.
fetch public static java.lang.String fetch(java.lang.String pageURL)
- Parameters:
- pageURL - the web page to fetch
- Returns:
- s text of a web page at pageURL
main public static void main(java.lang.String args[])
All Packages Class Hierarchy This Package Previous Next Index Java Books