com.sapportals.wcm.util.http
Interface ICookie
[contained in: com.sap.netweaver.bc.util.par - bc.util.public_api.jar]
- All Known Subinterfaces:
- IExtendedCookie
- public interface ICookie
HTTP cookie.
Copyright (c) SAP AG 2001-2002
|
Method Summary |
boolean |
appliesTo(IUri uri)
Determine if cookie applies to uri |
java.lang.String |
getHeaderValue()
Get cookie value suitable for sending back to server. |
java.lang.String |
getKey()
Get key under which this cookie can be stored. |
int |
getVersion()
Get Version cookie was created with (0 = unknown). |
boolean |
isExpired()
Determine if cookie has expired |
isExpired
public boolean isExpired()
- Determine if cookie has expired
- Returns:
- if cookie has expired
appliesTo
public boolean appliesTo(IUri uri)
- Determine if cookie applies to uri
- Parameters:
uri - TBD: Description of the incoming method parameter- Returns:
- if cookie applues to uri
getKey
public java.lang.String getKey()
- Get key under which this cookie can be stored. Must be unique across
domains and paths and names.
- Returns:
- key for storage of cookie
getVersion
public int getVersion()
- Get Version cookie was created with (0 = unknown).
- Returns:
- version of cookie protocol
getHeaderValue
public java.lang.String getHeaderValue()
- Get cookie value suitable for sending back to server. The value is the HTTP
header value, without leading "Cookie:" and without leading
version information.
- Returns:
- HTTP header value
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.