KDJE40053-I The cjclstartap command will now start. (directory for the user definition file = c:¥temp¥jaxrs¥works¥tutorial¥client, PID = 2636)
Demonstration 13 started.
This demonstrates how to use Client API to receive a response as a ClientResponse.
This demonstrates usage of @Encoded at @CookieParam.
Automatic URI decoding should be disabled.
The target URL is "http://webhost:8085/tutorial/root/getCookieParam".
The HTTP method is "GET".
Connection and interaction ended successfully.
Response headers are {Transfer-Encoding=[chunked], Date=[Tue, 27 Dec 2011 0
7:59:41 GMT], Content-Type=[text/html], Server=[CosminexusComponentContainer]}.
Response entity is CookieParam: cookie%20value,
which means target resource completed the process described above without any problem.
Demonstration 13 ended successfully.
Demonstration 14 started.
This demonstrates how to send a ClientRequest and receive a ClientResponse by using Client#handle(ClientRequest request).
This demonstrates usage of @Consumes and @Produces.
The target URL is "http://webhost:8085/tutorial/root".
The HTTP method is "POST".
Connection and interaction ended successfully.
Response headers are {Transfer-Encoding=[chunked], Date=[Tue, 27 Dec 2011 0
7:59:41 GMT], Content-Type=[application/xml], Server=[CosminexusComponentContainer]}.
Response entity is <FormParam>formValue</FormParam>,
which means target resource completed the process described above without any problem.
Demonstration 14 ended successfully.
Demonstration 15 started.
This demonstrates JSON support of CJR.
This demonstrates POJO and JSON mapping.
The target URL is "http://webhost:8085/tutorial/root/PojoJsonMapping".
The HTTP method is "POST".
Connection and interaction ended successfully.
Response is Record [Name=New Record Name, Grades=[5, 6, 7]],
which means target resource completed the process described above without any problem.
Demonstration 15 ended successfully.
----- Successfully Ended -----
KDJE40054-I The cjclstartap command was stopped. (PID = 2636, exit status = 0) |