|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.infodesire.infobit.servlet.ClientTool
Class ClientTool supports the access to various test servlets. In particular,
it may be used to send PUT requests to the BinaryServlet.
Usage:
[--put file | --type mime-type]* resource
Description
Sends the request specified by the relative URL resource. The
request is specified by the options.
Options:
file to resource>
- --type type
- Specifies the MIME type of a resource to PUT. Defaults to
application/octet
| Constructor Summary | |
ClientTool()
|
|
| Method Summary | |
static void |
main(java.lang.String[] argv)
Performs a request. |
int |
process()
Processes the request specified by the object state. |
boolean |
setup(java.lang.String[] argv)
Sets up the properties from a command line. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClientTool()
| Method Detail |
public static void main(java.lang.String[] argv)
argv - Description of Parameterpublic boolean setup(java.lang.String[] argv)
argv - The command line arguments
public int process()
throws java.io.IOException
java.io.IOException - Description of Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||