1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/3.1/client/Java
Bharat Mediratta 2c76bd7eeb Copy 3.0 to 3.1
2010-10-08 12:52:11 -07:00
..
lib Copy 3.0 to 3.1 2010-10-08 12:52:11 -07:00
build.sh Copy 3.0 to 3.1 2010-10-08 12:52:11 -07:00
Demo.class Copy 3.0 to 3.1 2010-10-08 12:52:11 -07:00
Demo.java Copy 3.0 to 3.1 2010-10-08 12:52:11 -07:00
README Copy 3.0 to 3.1 2010-10-08 12:52:11 -07:00
run.sh Copy 3.0 to 3.1 2010-10-08 12:52:11 -07:00

This is very, very rough sample code for how to do some Java REST
requests. To run this code:

1) Edit Demo.java and set the BASE_URL to your Gallery3 install.
2) Edit USERNAME and PASSWORD as appropriate
3) In a shell, do "sh build.sh"
4) In a shell, do "sh run.sh"

Note that there is NO error checking, so if something goes wrong
you'll have to debug it.