|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttest.TestRest
@Copyright public class TestRest
Client for showing how to use the web services with REST.
| Constructor Summary | |
|---|---|
TestRest()
|
|
| Method Summary | |
|---|---|
static void |
invoke(java.lang.String url)
Invoke the web service. |
static void |
main(java.lang.String... args)
The client program for testing the web service as a REST service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestRest()
| Method Detail |
|---|
public static void invoke(java.lang.String url)
url - The URL to use for the invocation.public static void main(java.lang.String... args)
args - Only the first command-line argument is used. If it is
specified, then it is the URL of the component in the container (usually
http://localhost:8080/test). Otherwise, the default stand-alone URL is
used as specified in TestImpl (http://localhost:7000/test).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||