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 Request interface:
- Do not specify null in the arguments of the following methods. If you specify null, the operation is not guaranteed.
- evaluatePreconditions(java.util.Date lastModified)
- evaluatePreconditions(EntityTag eTag)
- evaluatePreconditions(java.util.Date lastModified, EntityTag eTag)
- Do not specify the EntityTag of weak in the argument EntityTag eTag of the following methods. If you specify EntityTag of weak, a ResponseBuilder instance with the HTTP status 412 (Precondition Failed) is returned.
- evaluatePreconditions(EntityTag eTag)
- evaluatePreconditions(java.util.Date lastModified, EntityTag eTag)
- If the If-None-Match header is set and no matching resource exists, the If-Modified-Since header will be ingored even if set.
- Do not call the getMethod() method from outside the scope of a request. If you call the getMethod() method from outside the scope of a request, the operation is not guaranteed.
- Even if you call the selectVariant(java.util.List<Variant> variants) method before calling either of the four evaluatePreconditions() methods with different arguments, the Vary HTTP header is not included in the Response.ResponseBuilder object, unlike the explanations in the API documentation of the JAX-RS 1.1 standard specifications.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.