Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
E
G
H
I
J
M
P
R
S
A
addParameter(String, String)
- Method in class com.macromedia.net.
HttpAgentRequest
addParameters(Hashtable)
- Method in class com.macromedia.net.
HttpAgentRequest
Add in a whole bunch of params without replacing our current ones
addRequest(HttpAgentRequest)
- Method in class com.macromedia.net.
HttpAgent
Add a request to the list to process
C
com.macromedia.net
- package com.macromedia.net
E
ExceptionResponseFactory
- class com.macromedia.net.
ExceptionResponseFactory
.
This object is responsible for constructing responses that are the result of an exception.
ExceptionResponseFactory()
- Constructor for class com.macromedia.net.
ExceptionResponseFactory
G
getBody()
- Method in class com.macromedia.net.
HttpAgentRequest
getBody()
- Method in class com.macromedia.net.
HttpAgentResponse
Get the body of the response.
getBodyAsString()
- Method in class com.macromedia.net.
HttpAgentResponse
Get the body of this response, but assume that it is text.
getContentType()
- Method in class com.macromedia.net.
HttpAgentRequest
getException()
- Method in class com.macromedia.net.
HttpAgentResponse
Get the exception associated with this request
getExecTime()
- Method in class com.macromedia.net.
HttpAgentResponse
Access how long it took to run this request.
getFollowRedirects()
- Method in class com.macromedia.net.
HttpAgentRequest
getHeader(String)
- Method in class com.macromedia.net.
HttpAgentRequest
Get the value of a particular http header
getHeader(String)
- Method in class com.macromedia.net.
HttpAgentResponse
Get a particular header
getHeaders()
- Method in class com.macromedia.net.
HttpAgentRequest
Get a map of all of our custom set headers.
getHeaders()
- Method in class com.macromedia.net.
HttpAgentResponse
Get all the headers as a map
getKey()
- Method in class com.macromedia.net.
HttpAgentRequest
getKey()
- Method in class com.macromedia.net.
HttpAgentResponse
Access the key.
getMethod()
- Method in class com.macromedia.net.
HttpAgentRequest
Get the method that this request will be using.
getParameters()
- Method in class com.macromedia.net.
HttpAgentRequest
getPassword()
- Method in class com.macromedia.net.
HttpAgentRequest
getRequest()
- Method in class com.macromedia.net.
HttpAgentResponse
Access the request that made this response.
getResponseCode()
- Method in class com.macromedia.net.
HttpAgentResponse
Get the response code (200, 404, etc.)
getResponseHandler()
- Method in class com.macromedia.net.
HttpAgent
Get the current request handler that is attached to this agent.
getResponseMessage()
- Method in class com.macromedia.net.
HttpAgentResponse
Get the response message ("OK" or "Page not found").
getTimeout()
- Method in class com.macromedia.net.
HttpAgent
getUrl()
- Method in class com.macromedia.net.
HttpAgentRequest
getUseCache()
- Method in class com.macromedia.net.
HttpAgentRequest
getUsername()
- Method in class com.macromedia.net.
HttpAgentRequest
H
HttpAgent
- class com.macromedia.net.
HttpAgent
.
An HttpAgent is an object which knows how to collect up a bunch of requests and then make them all at once in a threaded nature.
HttpAgent()
- Constructor for class com.macromedia.net.
HttpAgent
Construct an HttpAgent object with some defaults: 5 threads and no requests
HttpAgentRequest
- class com.macromedia.net.
HttpAgentRequest
.
HttpAgentRequest -- an object that represents an HTTP request you'd like to make.
HttpAgentRequest()
- Constructor for class com.macromedia.net.
HttpAgentRequest
HttpAgentResponse
- class com.macromedia.net.
HttpAgentResponse
.
This object represents the response from an http request.
HttpAgentResponse()
- Constructor for class com.macromedia.net.
HttpAgentResponse
handleResponse(HttpAgentRequest, HttpAgentResponse)
- Method in interface com.macromedia.net.
ResponseHandler
This method will be invoked when a response has been generated
I
isOk()
- Method in class com.macromedia.net.
HttpAgentResponse
Did we fail? You can call this method to see if you should treat this response as one to get the exception from, or if you should trust the data from it
J
JGet
- class com.macromedia.net.
JGet
.
A toy wget wannabe written in Java.
JGet()
- Constructor for class com.macromedia.net.
JGet
M
main(String[])
- Static method in class com.macromedia.net.
JGet
makeResponse(HttpAgentRequest, Throwable)
- Method in class com.macromedia.net.
ExceptionResponseFactory
P
process(int, BufferedReader, String, PrintStream)
- Method in class com.macromedia.net.
JGet
Process a bunch of requests and return the URL responses.
processRequests()
- Method in class com.macromedia.net.
HttpAgent
Process the list of requests in a threaded nature.
R
ResponseHandler
- interface com.macromedia.net.
ResponseHandler
.
This interface can be implemented to allow some action to be taken when the HttpAgent is done processing a request.
S
setBody(String)
- Method in class com.macromedia.net.
HttpAgentRequest
setContentType(String)
- Method in class com.macromedia.net.
HttpAgentRequest
setFollowRedirects(boolean)
- Method in class com.macromedia.net.
HttpAgentRequest
setHeader(String, String)
- Method in class com.macromedia.net.
HttpAgentRequest
Add an HTTP header to be included
setHeaders(Hashtable)
- Method in class com.macromedia.net.
HttpAgentRequest
Set a bunch of headers all at once.
setKey(String)
- Method in class com.macromedia.net.
HttpAgentRequest
setMethod(String)
- Method in class com.macromedia.net.
HttpAgentRequest
setParameters(Hashtable)
- Method in class com.macromedia.net.
HttpAgentRequest
Replace our current parameters with a new set
setPassword(String)
- Method in class com.macromedia.net.
HttpAgentRequest
setResponseHandler(ResponseHandler)
- Method in class com.macromedia.net.
HttpAgent
Set a request handler that will get invoked whenever we are done processing a request.
setThreadCount(int)
- Method in class com.macromedia.net.
HttpAgent
Set the new thread count.
setTimeout(int)
- Method in class com.macromedia.net.
HttpAgent
Number of seconds this connection can be in progress before it is killed
setUrl(String)
- Method in class com.macromedia.net.
HttpAgentRequest
setUseCache(boolean)
- Method in class com.macromedia.net.
HttpAgentRequest
setUserAgent(String)
- Method in class com.macromedia.net.
HttpAgentRequest
Set the value of the User-Agent you would like our requests to look like.
setUsername(String)
- Method in class com.macromedia.net.
HttpAgentRequest
summarize(PrintStream, Map, long, long)
- Method in class com.macromedia.net.
JGet
Summarize our results
A
C
E
G
H
I
J
M
P
R
S
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes