A C E F G H I J P R S T

A

addParameter(String, String) - Method in class com.zenkey.net.prowser.Request
Adds a parameter to this Request.
addParameters(Map<String, String[]>) - Method in class com.zenkey.net.prowser.Request
Adds parameters from a java.util.Map to this Request.
addParameters(String, String[]) - Method in class com.zenkey.net.prowser.Request
Adds parameters with the spcecified name and values to this Request.

C

changeParameter(String, String, String) - Method in class com.zenkey.net.prowser.Request
Changes the value of an existing parameter in this Request.
clearHistory() - Method in class com.zenkey.net.prowser.Tab
Empties out the history list of this Tab so that methods like Tab.goBack() and Tab.goForward() will have no effect (until new pages are retrieved).
closeTab(Tab) - Method in class com.zenkey.net.prowser.Prowser
Closes the specified Tab so that it is no longer associated with this Prowser instance.
closeTabs() - Method in class com.zenkey.net.prowser.Prowser
Closes all Tab's associated with this Prowser instance.
com.zenkey.net.prowser - package com.zenkey.net.prowser
 
createRequest(File) - Static method in class com.zenkey.net.prowser.Request
Factory method that returns a new Request object whose property values are specified in a request file.
createRequest(String) - Static method in class com.zenkey.net.prowser.Request
Factory method that returns a new Request object for the specified URL-encoded URI string; all other request properties receive default values.
createRequest(String, boolean) - Static method in class com.zenkey.net.prowser.Request
Factory method that returns a new Request object for the specified URI string, which is assumed to be URL-encoded if the isEncoded argument is true; all other request properties receive default values.
createTab() - Method in class com.zenkey.net.prowser.Prowser
Opens a new Tab for this Prowser instance, automatically loaded with the Prowser's specified home page (if any).
createTab(boolean) - Method in class com.zenkey.net.prowser.Prowser
Opens a new Tab for this Prowser instance.

E

ERR_GENERAL - Static variable in class com.zenkey.net.prowser.Response
General error.
ERR_IO - Static variable in class com.zenkey.net.prowser.Response
HTTP I/O (transport) error.
ERR_MAX_REDIRECTS - Static variable in class com.zenkey.net.prowser.Response
Max HTTP redirects exceeded.
ERR_NO_LOCATION - Static variable in class com.zenkey.net.prowser.Response
No "Location" field in header of redirection response.
ERR_NONE - Static variable in class com.zenkey.net.prowser.Response
No error condition exists.
ERR_PROTOCOL - Static variable in class com.zenkey.net.prowser.Response
HTTP protocol error.
ERR_TIMEOUT - Static variable in class com.zenkey.net.prowser.Response
Request timed out.
ERR_URI - Static variable in class com.zenkey.net.prowser.Response
URI error.

F

finalize() - Method in class com.zenkey.net.prowser.Tab
Performs finalization for this Tab instance when it is garbage collected.

G

getContentType() - Method in class com.zenkey.net.prowser.Response
Returns the value of the HTTP Content-type header associated with this Response.
getDefaultHttpVersion() - Method in class com.zenkey.net.prowser.Prowser
Returns the default HTTP version used by Tabs of this Prowser instance whenever a Request doesn't explicitly specify one.
getDefaultTimeout() - Method in class com.zenkey.net.prowser.Prowser
Returns the default request timeout (in milliseconds) used by Tabs of this Prowser instance whenever a Request does not explicitly specify one.
getDefaultUserAgent() - Method in class com.zenkey.net.prowser.Prowser
Returns the default user-agent string used by Tabs of this Prowser instance whenever a Request doesn't explicitly specify one.
getDuration() - Method in class com.zenkey.net.prowser.Response
Returns the number of milliseconds that it took to complete the request/response transaction that generated this Response.
getError() - Method in class com.zenkey.net.prowser.Response
Returns a code indicating the error condition of the page request that generated this Response.
getError() - Method in class com.zenkey.net.prowser.Tab
Convenience method equivalent to calling getResponse().getError().
getErrorText() - Method in class com.zenkey.net.prowser.Response
Returns text describing the error condition of the request that generated this Response.
getErrorText() - Method in class com.zenkey.net.prowser.Tab
Convenience method equivalent to calling getResponse().getErrorText().
getFilename() - Method in class com.zenkey.net.prowser.Response
Returns the name of the web page file associated with this Response.
getHistoryIndex() - Method in class com.zenkey.net.prowser.Tab
Returns the "current" page's position in the history list.
getHistorySize() - Method in class com.zenkey.net.prowser.Tab
Returns the current size of the history list.
getHomePage() - Method in class com.zenkey.net.prowser.Prowser
Returns the home page Request object for this Prowser instance.
getHttpMethod() - Method in class com.zenkey.net.prowser.Request
Returns the HTTP method of this Request.
getHttpVersion() - Method in class com.zenkey.net.prowser.Request
Returns the explicit HTTP version of this Request.
getPageBytes() - Method in class com.zenkey.net.prowser.Response
Returns the binary form of the retrieved web page associated with this Response.
getPageBytes() - Method in class com.zenkey.net.prowser.Tab
Convenience method equivalent to calling getResponse().getPageBytes().
getPageSource() - Method in class com.zenkey.net.prowser.Response
Returns the textual form of the retrieved web page associated with this Response.
getPageSource() - Method in class com.zenkey.net.prowser.Tab
Convenience method equivalent to calling getResponse().getPageSource().
getParameterMap() - Method in class com.zenkey.net.prowser.Request
Returns a java.util.Map of the parameters in this Request.
getParameterValues(String) - Method in class com.zenkey.net.prowser.Request
Returns an array of values for this Request's parameters that have the specified name.
getProwser() - Method in class com.zenkey.net.prowser.Tab
Returns the Prowser that owns this Tab instance.
getRequest() - Method in class com.zenkey.net.prowser.Response
Returns the Request object that generated this Response.
getRequest() - Method in class com.zenkey.net.prowser.Tab
Returns the most recently executed Request.
getResponse() - Method in class com.zenkey.net.prowser.Request
Returns the most recent Response that resulted from this Request.
getResponse() - Method in class com.zenkey.net.prowser.Tab
Returns the most recently generated Response.
getStatus() - Method in class com.zenkey.net.prowser.Response
Returns the HTTP status code associated with this Response.
getStatus() - Method in class com.zenkey.net.prowser.Tab
Convenience method equivalent to calling getResponse().getStatus().
getStatusText() - Method in class com.zenkey.net.prowser.Response
Returns the HTTP status text associated with this Response.
getStatusText() - Method in class com.zenkey.net.prowser.Tab
Convenience method equivalent to calling getResponse().getStatusText().
getStatusVersion() - Method in class com.zenkey.net.prowser.Response
Returns the HTTP status version associated with this Response.
getTab() - Method in class com.zenkey.net.prowser.Response
Returns the Tab that generated this Response.
getTabCount() - Method in class com.zenkey.net.prowser.Prowser
Returns the number of Tab's currently open for this Prowser instance.
getTabs() - Method in class com.zenkey.net.prowser.Prowser
Returns an array of all the open tabs in this Prowser instance.
getTimeout() - Method in class com.zenkey.net.prowser.Request
Returns the explicit timeout value (in milliseconds) for this Request.
getTitle() - Method in class com.zenkey.net.prowser.Response
Returns the title of the web page associated with this Response, as specified in the <title> tag of the page's HTML source code.
getUri() - Method in class com.zenkey.net.prowser.Request
Returns the URI of this Request.
getUri() - Method in class com.zenkey.net.prowser.Response
Returns the final URI of this Response.
getUserAgent() - Method in class com.zenkey.net.prowser.Request
Returns the explicit user-agent string of this Request.
go(Request) - Method in class com.zenkey.net.prowser.Tab
Executes the specified Request and returns a new Response object.
go(String) - Method in class com.zenkey.net.prowser.Tab
Creates a new Request object from the specified URI string, executes the request, and then returns a new Response object.
go(URI) - Method in class com.zenkey.net.prowser.Tab
Creates a new Request object from the specified URI object, executes the request, and then returns a new Response object.
goBack() - Method in class com.zenkey.net.prowser.Tab
Simulates the action of a web browser's Back button by returning the previous page in the history list.
goForward() - Method in class com.zenkey.net.prowser.Tab
Simulates the action of a web browser's Forward button by returning the next page in the history list.
goHome() - Method in class com.zenkey.net.prowser.Tab
Simulates the action of a web browser's Home button.

H

HTTP_METHOD_GET - Static variable in class com.zenkey.net.prowser.Request
The HTTP GET method.
HTTP_METHOD_POST - Static variable in class com.zenkey.net.prowser.Request
The HTTP POST method.
HTTP_VERSION_0_9 - Static variable in class com.zenkey.net.prowser.Request
HTTP version 0.9.
HTTP_VERSION_1_0 - Static variable in class com.zenkey.net.prowser.Request
HTTP version 1.0.
HTTP_VERSION_1_1 - Static variable in class com.zenkey.net.prowser.Request
HTTP version 1.1.

I

isClosed() - Method in class com.zenkey.net.prowser.Tab
Indicates if this Tab has been closed.

J

jumpBack(int) - Method in class com.zenkey.net.prowser.Tab
Returns (from the history list) a previously visited page that was originally requested prior to the "current" page.
jumpForward(int) - Method in class com.zenkey.net.prowser.Tab
Returns (from the history list) a previously visited page that was originally requested after to the "current" page.

P

Prowser - Class in com.zenkey.net.prowser
The Prowser class serves as the creator and owner of one or more Tab instances whose job it is to perform web page requests.
Prowser() - Constructor for class com.zenkey.net.prowser.Prowser
Constructs a new Prowser object with a preset default configuration and no home page.
Prowser(Request) - Constructor for class com.zenkey.net.prowser.Prowser
Constructs a new Prowser object with a preset default configuration and the specified home page.
Prowser(Request, String, Integer, String) - Constructor for class com.zenkey.net.prowser.Prowser
Constructs a new Prowser object with the specified home page and the specified default configuration values.
Prowser(String, Integer, String) - Constructor for class com.zenkey.net.prowser.Prowser
Constructs a new Prowser object with the specified default configuration values and no home page.

R

refresh() - Method in class com.zenkey.net.prowser.Tab
Simulates the action of a web browser's Refresh button.
removeParameter(String, String) - Method in class com.zenkey.net.prowser.Request
Removes a specified parameter with a specified value from this Request.
removeParameters() - Method in class com.zenkey.net.prowser.Request
Removes all parameters from this Request.
removeParameters(String) - Method in class com.zenkey.net.prowser.Request
Removes all parameters with the specified name from this Request.
Request - Class in com.zenkey.net.prowser
The Request class is a collection of properties that specify a web page request to be made by a Tab instance.
Request() - Constructor for class com.zenkey.net.prowser.Request
Protected, do-nothing constrcutor.
Request(File) - Constructor for class com.zenkey.net.prowser.Request
Constructs a new Request object whose property values are specified in a request file.
Request(String) - Constructor for class com.zenkey.net.prowser.Request
Constructs a new Request object for the specified URL-encoded URI string; all other request properties receive default values.
Request(String, boolean) - Constructor for class com.zenkey.net.prowser.Request
Constructs a new Request object for the specified URI string, which is assumed to be URL-encoded if the isEncoded argument is true; all other request properties receive default values.
Request(URI) - Constructor for class com.zenkey.net.prowser.Request
Constructs a new Request object for the specified URI; all other request properties receive default values.
Response - Class in com.zenkey.net.prowser
The Response class represents the data resulting from a web page request made by a Tab instance.

S

setDefaultHttpVersion(String) - Method in class com.zenkey.net.prowser.Prowser
Sets a new default HTTP version to be used by Tabs of this Prowser instance whenever a Request doesn't explicitly specify one.
setDefaultTimeout(Integer) - Method in class com.zenkey.net.prowser.Prowser
Sets a new default request timeout (in milliseconds) to be used by Tabs of this Prowser instance whenever a Request doesn't explicitly specify one.
setDefaultUserAgent(String) - Method in class com.zenkey.net.prowser.Prowser
Sets a new default user-agent string to be used by Tabs of this Prowser instance whenever a Request doesn't explicitly specify one.
setHomePage(Request) - Method in class com.zenkey.net.prowser.Prowser
Sets the home page Request object for this Prowser instance.
setHttpMethod(String) - Method in class com.zenkey.net.prowser.Request
Sets the HTTP method for this Request.
setHttpVersion(String) - Method in class com.zenkey.net.prowser.Request
Sets an explicit HTTP version for this Request.
setParameter(String, String) - Method in class com.zenkey.net.prowser.Request
Sets a parameter with the spcecified value for this Request.
setParameters(Map<String, String[]>) - Method in class com.zenkey.net.prowser.Request
Sets parameters from a java.util.Map for this Request.
setParameters(String, String[]) - Method in class com.zenkey.net.prowser.Request
Sets parameters with the spcecified name and values for this Request.
setTimeout(Integer) - Method in class com.zenkey.net.prowser.Request
Sets an explicit timeout (in milliseconds) for this Request.
setTraceFile(File, boolean) - Method in class com.zenkey.net.prowser.Tab
Specifies the file to use for the trace output of this Tab instance.
setTraceLevel(int) - Method in class com.zenkey.net.prowser.Tab
Sets the trace level of this Tab instance.
setUserAgent(String) - Method in class com.zenkey.net.prowser.Request
Sets an explicit user-agent string for this Request.
STATUS_NOT_OBTAINED - Static variable in class com.zenkey.net.prowser.Response
The value returned by getStatus() when HTTP status information has not been obtained for the response.
stop(Integer) - Method in class com.zenkey.net.prowser.Tab
Simulates the action of a web browser's Stop button by enforcing a timeout that is applied to the next page request only.

T

Tab - Class in com.zenkey.net.prowser
The Tab class represents a "tab window" that belongs to a particular Prowser instance; Tab objects actually do the work of executing web page requests and processing the responses.
TIMEOUT_INFINITE - Static variable in class com.zenkey.net.prowser.Request
A timeout value of zero (0), which should be interpreted as an "infinite" timeout.
toString() - Method in class com.zenkey.net.prowser.Request
Returns a String representation of the Request.
TRACE_ALL - Static variable in class com.zenkey.net.prowser.Tab
Write all trace info.
TRACE_BODY - Static variable in class com.zenkey.net.prowser.Tab
Write HTTP response bodies to standard output.
TRACE_HEADERS - Static variable in class com.zenkey.net.prowser.Tab
Write HTTP request and response headers to standard output.
TRACE_OFF - Static variable in class com.zenkey.net.prowser.Tab
No tracing.
TRACE_REQUEST_RESPONSE_LINES - Static variable in class com.zenkey.net.prowser.Tab
Write HTTP request and response (status) lines to standard output.
TRACE_URI - Static variable in class com.zenkey.net.prowser.Tab
Write only URIs to standard output.

A C E F G H I J P R S T