THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Also, response headers can be set when a MessageBodyWriter#writeTo() method is called.
Anchor | ||||
---|---|---|---|---|
|
Common Headers
Content-Type
...
The Content-Length is useful for determining the entity's length. If possible, MessageBodyWriter entity providers will automatically set the Content-Length if possible, and some containers will set the response Content-Length if the entity is small. See the HTTP spec for more details on when this header is set and valid.
Anchor | ||||
---|---|---|---|---|
|
Common Request HTTP Headers
...
Note that date formats are specified in the HTTP spec.
Anchor | ||||
---|---|---|---|---|
|
Common Response HTTP Headers
...