|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.client.sample.Head
public class Head
A class that performs a set HEAD request to the given urls. This is mostly an example of how to use the rabbit client classes.
| Constructor Summary | |
|---|---|
Head(HeadResponseListener listener)
Create a new HEAD requestor. |
|
| Method Summary | |
|---|---|
void |
head(String url)
Run HEAD requests to the given url |
void |
head(String[] urls)
Run HEAD requests to all the urls given. |
static void |
main(String[] args)
Run a HEAD request for any url passed in args and then prints the results on System.out. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Head(HeadResponseListener listener)
throws IOException
IOException| Method Detail |
|---|
public static void main(String[] args)
public void head(String[] urls)
throws IOException
urls - a number of urls.
IOException
public void head(String url)
throws IOException
url - the url to run a HEAD reqeusts against.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||