com.sap.netweaver.bc.rf.common.content
Interface IContentMetadata
[contained in: com.sap.netweaver.bc.rf.par - bc.rf.common_api.jar]
- All Known Implementing Classes:
- ContentMetadata, ContentMetadata
- public interface IContentMetadata
Interface describing the content metadata of the content a resource may
provide.
|
Method Summary |
java.lang.String |
getContentEncoding()
Returns the content encoding of resource content or null if not known. |
java.lang.String |
getContentLanguage()
Returns the content language (see RFC2616 , section 14.12) or
null when not known. |
long |
getContentLength()
Returns the length of resource content in bytes or -1 if not known. |
java.lang.String |
getContentType()
Returns the content type of resource content as media sub type or null if
not known. |
java.lang.String |
getETag()
Returns the entity-tag for the content (see RFC2616 , section 14.19). |
java.util.Date |
getExpires()
Returns the expires date of the content (see RFC2616 , section 14.21) or
null when not specified. |
java.util.Date |
getLastModified()
Returns the last modification date of the content (see RFC2616 , section 14.29) or
null when not known. |
getContentLength
public long getContentLength()
- Returns the length of resource content in bytes or -1 if not known.
- Returns:
- length of resource content in bytes
getContentType
public java.lang.String getContentType()
- Returns the content type of resource content as media sub type or null if
not known.
- Returns:
- content type of resource content as media sub type (may be null)
getContentEncoding
public java.lang.String getContentEncoding()
- Returns the content encoding of resource content or null if not known.
- Returns:
- content encoding of resource content (may be null)
getContentLanguage
public java.lang.String getContentLanguage()
- Returns the content language (see RFC2616 , section 14.12) or
null when not known.
- Returns:
- content language (may be null)
getETag
public java.lang.String getETag()
- Returns the entity-tag for the content (see RFC2616 , section 14.19). Note
that the entity tag may be a weak entity tag (indicated by a
leading "W/"). Only strong entity tags can be used to assert octet-by-octet
entity body identity, though.
- Returns:
- entity-tag of the content (may be null)
getExpires
public java.util.Date getExpires()
- Returns the expires date of the content (see RFC2616 , section 14.21) or
null when not specified.
- Returns:
- expires date of the content (may be null)
getLastModified
public java.util.Date getLastModified()
- Returns the last modification date of the content (see RFC2616 , section 14.29) or
null when not known.
- Returns:
- last modification date of the content (may be null)
Copyright © 2004 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.