uCosminexus Application Server, Web Service Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
You must note the following points when using the methods of the Response class:
- Do not specify null in the argument of the fromResponse(Response response) method. If you specify null, the operation is not guaranteed.
- Do not specify null in the arguments of the following methods. If you specify null, the IllegalArgumentException is not thrown unlike the description in the API documentation of the JAX-RS 1.1 standard specifications.
- created(URI location)
- notModified(EntityTag tag)
- notModified(String tag)
- seeOther(URI location)
- temporaryRedirect(URI location)
- Specify the values that are compliant with the standard specifications, in the argument type of ok(Object entity, String type). If you specify other non-compliant values, the operation is not guaranteed.
- Do not specify a number less than 100 or greater than 599 in the arguments of the status(int status) method. If you specify a number less than 100 or greater than 599, IllegalArgumentException will not be thrown unlike the description in the API document of the JAX-RS 1.1 standard specifications.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.