uCosminexus Application Server, Web Service Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
getEntityTag() method
Description
This method acquires the value of an ETag HTTP header.
Syntax
public EntityTag getEntityTag()
Parameter
Return value
The method returns the value of the ETag HTTP header.
Notes
- The method returns null if the HTTP response does not contain the ETag HTTP header or if HttpURLConnection returns null as the value of the ETag HTTP header.
- If the value of the ETag HTTP header is an empty string or if the value does not comply with the standard specifications, the IllegalArgumentException exception is thrown.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.