com.sapportals.wcm.util.http

Interface ICookie

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
 String getHeaderValue()
          Get cookie value suitable for sending back to server.
 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
 

Method Detail

isExpired

boolean isExpired()
Determine if cookie has expired

Returns:
if cookie has expired

appliesTo

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

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

int getVersion()
Get Version cookie was created with (0 = unknown).

Returns:
version of cookie protocol

getHeaderValue

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
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice