C D G H O P R S U

C

connect() - Method in class org.apache.taglibs.scrape.HttpConnection
Implementation of the abstract method defined in the URLConnection class establish a connection to an HTTP server and send request

D

disconnect() - Method in class org.apache.taglibs.scrape.HttpConnection
Implementation of the abstract method defined in the HttpURLConnection class cut the current connection this object has
doAfterBody() - Method in class org.apache.taglibs.scrape.HeaderTag
implementation of the method from the tag interface that tells the JSP page what to do after the body of this tag
doAfterBody() - Method in class org.apache.taglibs.scrape.UrlTag
implementation of the method from the tag interface that tells the JSP page what to do after the body of this tag
doEndTag() - Method in class org.apache.taglibs.scrape.PageTag
implementation of method from the Tag interface that tells the JSP what to do upon encountering the end tag for this tag
doEndTag() - Method in class org.apache.taglibs.scrape.ResultTag
implementation of method from the Tag interface that tells the JSP what to do upon encountering the end tag for this tag
doEndTag() - Method in class org.apache.taglibs.scrape.ScrapeTag
implementation of method from the Tag interface that tells the JSP what to do upon encountering the end tag for this tag
doStartTag() - Method in class org.apache.taglibs.scrape.PageTag
implementation of method from the tag interface that tells the JSP what to do upon encounteringa the start tag for this tag

G

getanchorsFlag() - Method in class org.apache.taglibs.scrape.ScrapeData
getter method for anchorsflag
getAuth() - Method in class org.apache.taglibs.scrape.PageData
get the base64 encoded auth string for proxy authorization
getBegin() - Method in class org.apache.taglibs.scrape.ScrapeData
getter method for the beginning anchor for this scrape
getChangeFlag() - Method in class org.apache.taglibs.scrape.PageData
getter method for changeflag
getEnd() - Method in class org.apache.taglibs.scrape.ScrapeData
getter method for the ending anchor for this scrape
getExpiration() - Method in class org.apache.taglibs.scrape.HttpConnection
Override default provided in URLConnection
getHeaderField(int) - Method in class org.apache.taglibs.scrape.HttpConnection
Override default provided in URLConnection
getHeaderField(String) - Method in class org.apache.taglibs.scrape.HttpConnection
Override default provided in URLConnection
getHeaderFieldInt(String, int) - Method in class org.apache.taglibs.scrape.HttpConnection
Override default provided in URLConnection
getHeaderFieldKey(int) - Method in class org.apache.taglibs.scrape.HttpConnection
Override default provided in URLConnection
getHeaders() - Method in class org.apache.taglibs.scrape.PageData
get the http headers
getInputStream() - Method in class org.apache.taglibs.scrape.HttpConnection
Override the default method provided in the URLConnection class
getKeySet() - Method in class org.apache.taglibs.scrape.PageData
getter method for the key set of the HashMap scrapes
getLastModified() - Method in class org.apache.taglibs.scrape.HttpConnection
Override default provided in URLConnection
getLastScrape() - Method in class org.apache.taglibs.scrape.PageData
getter method for lastscrape
getNewFlag() - Method in class org.apache.taglibs.scrape.PageData
getter method for newflag
getOutputStream() - Method in class org.apache.taglibs.scrape.HttpConnection
Override the default method provided in the URLConnection class
getPage(String, int, String, String, String) - Static method in class org.apache.taglibs.scrape.PageData
method checks the static HashMap pageurls for the given url if it exists it is returned, otherwise a new pagedata object is created and added to the HashMap pageurls
getPage() - Method in class org.apache.taglibs.scrape.PageTag
method gets the page object from the from the static hashmap keyed to the url
getPageContext() - Method in class org.apache.taglibs.scrape.PageData
getter method for pagecontext returns the PageContext object for this page
getProxyPort() - Method in class org.apache.taglibs.scrape.PageData
get the value of the proxy port
getProxyServer() - Method in class org.apache.taglibs.scrape.PageData
get the value of the proxy port
getRequestMethod() - Method in class org.apache.taglibs.scrape.HttpConnection
get the request method
getResponseCode() - Method in class org.apache.taglibs.scrape.HttpConnection
Override the default method provided in the HttpURLConnection class Get the response code for this connection
getResponseMessage() - Method in class org.apache.taglibs.scrape.HttpConnection
Override the default method provided in the HttpURLConnection class Get the response message for the last request
getResult() - Method in class org.apache.taglibs.scrape.ScrapeData
getter method for result
getResults(String) - Method in class org.apache.taglibs.scrape.PageData
getter method for a result string from a scrapedata object
getScrape(String) - Method in class org.apache.taglibs.scrape.PageData
getter method for a single scrapedata object from HashMap scrapes
getSSL() - Method in class org.apache.taglibs.scrape.PageData
get secure
getstripFlag() - Method in class org.apache.taglibs.scrape.ScrapeData
getter method for stripflag
getURL() - Method in class org.apache.taglibs.scrape.HttpConnection
get the URL of this connection

H

HeaderTag - Class in org.apache.taglibs.scrape
HeaderTag - JSP tag Header is used to set http headers.
HeaderTag() - Constructor for class org.apache.taglibs.scrape.HeaderTag
 
HttpConnection - Class in org.apache.taglibs.scrape
HttpConnection - the class that creates the http connection that the rest of the package uses
HttpConnection(URL, PageData, PageContext) - Constructor for class org.apache.taglibs.scrape.HttpConnection
constructor creates an instance of HttpConnection and calls the super class HttpURLConnection
HttpConnection(URL, int, String, String, PageContext) - Constructor for class org.apache.taglibs.scrape.HttpConnection
constructor creates an instance of HttpConnection and calls the super class HttpURLConnection, this instance of the class connects through a proxy server that requires authentication

O

org.apache.taglibs.scrape - package org.apache.taglibs.scrape
 

P

PageData - Class in org.apache.taglibs.scrape
PageData - An object used to store information about a scrape done by the tags in the scrape package.
PageData() - Constructor for class org.apache.taglibs.scrape.PageData
constructor for the class simply creates an instance of the PageData object
PageTag - Class in org.apache.taglibs.scrape
PageTag - JSP tag page is used for generating an http request to a web page, it then scrapes the page for user specified text and stores the results from the scrape for later retrieval by another tag.
PageTag() - Constructor for class org.apache.taglibs.scrape.PageTag
 
pageurls - Static variable in class org.apache.taglibs.scrape.PageData
static HashMap holds all of the pagedata objects keyed to the url

R

ResultTag - Class in org.apache.taglibs.scrape
ResultTag - JSP tag result returns the result of the scrape uniquely identified by a scrapeid.
ResultTag() - Constructor for class org.apache.taglibs.scrape.ResultTag
 

S

ScrapeData - Class in org.apache.taglibs.scrape
ScrapeData - An object used to store data for a scrape, data stored is a scrapeid, begin and end markers, flags, and the results of the scrape
ScrapeData() - Constructor for class org.apache.taglibs.scrape.ScrapeData
constructor simply creates an instance of ScrapeData
scrapePage(String, long, PageContext, String) - Method in class org.apache.taglibs.scrape.PageData
checks the scrapeint, if enough time has passed it starts the getPage thread to go out and get the page, and sets scrapeing to true, then if newflag it will wait for the thread to finish running, otherwise it will just fall through and return the already stored results
ScrapeTag - Class in org.apache.taglibs.scrape
ScrapeTag - JSP tag scrape is used for setting the begin and end anchors of a scrape to be preformed by the parent tag of this tag, PageTag.
ScrapeTag() - Constructor for class org.apache.taglibs.scrape.ScrapeTag
 
sendRequest() - Method in class org.apache.taglibs.scrape.HttpConnection
send the request to the server
setAnchors(String) - Method in class org.apache.taglibs.scrape.ScrapeTag
setter method for anchors
setanchorsFlag(String) - Method in class org.apache.taglibs.scrape.ScrapeData
setter method for anchorsflag
setAuth(String, String) - Method in class org.apache.taglibs.scrape.PageData
set the username and password values for authentication to the proxy server
setBegin(String) - Method in class org.apache.taglibs.scrape.ScrapeData
setter method for the beginning anchor for this scrape
setBegin(String) - Method in class org.apache.taglibs.scrape.ScrapeTag
setter method for the beginning anchor for this scrape
setCharset(String) - Method in class org.apache.taglibs.scrape.PageTag
set the value of the charset to be used
setClientPass(String) - Method in class org.apache.taglibs.scrape.PageData
set the pass word to access the client keystore
setClientPass(String) - Method in class org.apache.taglibs.scrape.PageTag
set the pass word to access the client keystore
setEnd(String) - Method in class org.apache.taglibs.scrape.ScrapeData
setter method for the ending anchor for this scrape
setEnd(String) - Method in class org.apache.taglibs.scrape.ScrapeTag
setter method for the ending anchor for this scrape
setException() - Method in class org.apache.taglibs.scrape.PageData
set exception to true, a malformedpatternexception has been thrown in page
setExceptionText(String, String) - Method in class org.apache.taglibs.scrape.PageData
sets the exception text to make the error in the jsp page easier for the author to find
setHeader(String, String) - Method in class org.apache.taglibs.scrape.PageData
set the name and value of any extra headers to be sent
setHeader(String, String) - Method in class org.apache.taglibs.scrape.PageTag
set the name and value of any extra headers to be sent
setLastScrape(long) - Method in class org.apache.taglibs.scrape.PageData
setter method for lastscrape
setName(String) - Method in class org.apache.taglibs.scrape.HeaderTag
set the name of the header to be set
setNewflag() - Method in class org.apache.taglibs.scrape.PageData
setter method for newflag only called to set newflag to false
setPageContext(PageContext) - Method in class org.apache.taglibs.scrape.PageData
setter method for pagecontext
setProxyName(String) - Method in class org.apache.taglibs.scrape.PageTag
set the value of the username for authentication to the proxy server
setProxyPass(String) - Method in class org.apache.taglibs.scrape.PageTag
set the value of the password for authentication to the proxy server
setProxyPort(int) - Method in class org.apache.taglibs.scrape.PageData
set the value of proxy port
setProxyPort(String) - Method in class org.apache.taglibs.scrape.PageTag
set the value of proxy port
setProxyServer(String) - Method in class org.apache.taglibs.scrape.PageData
set the value of proxy server
setProxyServer(String) - Method in class org.apache.taglibs.scrape.PageTag
set the value of proxy server
setRequestMethod(String) - Method in class org.apache.taglibs.scrape.HttpConnection
set the request method
setResult(String) - Method in class org.apache.taglibs.scrape.ScrapeData
setter method for result
setScrape(String, String, String, String, String) - Method in class org.apache.taglibs.scrape.PageData
method to add an object to the HashMap scrapes, it first checks to see if the object already exists
setScrape(String, String, String, String, String) - Method in class org.apache.taglibs.scrape.PageTag
method sets the scrapedata object in the hashmap scrapes in the application scope pagedata object
setScrape(String) - Method in class org.apache.taglibs.scrape.ResultTag
setter method for scrapeid
setSSL(boolean) - Method in class org.apache.taglibs.scrape.PageData
set the value of secure
setStrip(String) - Method in class org.apache.taglibs.scrape.ScrapeTag
setter method for strip
setstripFlag(String) - Method in class org.apache.taglibs.scrape.ScrapeData
setter method for stripflag
setTime(String) - Method in class org.apache.taglibs.scrape.PageTag
sets the time user would like the tag to wait before making a new http connection default is 10 minutes.
setURL(String) - Method in class org.apache.taglibs.scrape.HttpConnection
Set the URL for this connection
setUrl(String) - Method in class org.apache.taglibs.scrape.PageTag
sets the url for the http request.
setuseProxy(String) - Method in class org.apache.taglibs.scrape.PageTag
set the value of proxy port
setValue(String) - Method in class org.apache.taglibs.scrape.HeaderTag
set the value of the header to be set

U

UrlTag - Class in org.apache.taglibs.scrape
UrlTag - JSP tag url is used for dynamically setting the url of the page that is going to be scraped by the tag library it is necessary the tag be nested within a page tag.
UrlTag() - Constructor for class org.apache.taglibs.scrape.UrlTag
 
usingProxy() - Method in class org.apache.taglibs.scrape.HttpConnection
Implementation of the abstract method defined in the HttpURLConnection class this implementation does not use proxy

C D G H O P R S U

Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.