Package burp
Interface ICookie
-
public interface ICookieThis interface is used to hold details about an HTTP cookie.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDomain()This method is used to retrieve the domain for which the cookie is in scope.java.util.DategetExpiration()This method is used to retrieve the expiration time for the cookie.java.lang.StringgetName()This method is used to retrieve the name of the cookie.java.lang.StringgetPath()This method is used to retrieve the path for which the cookie is in scope.java.lang.StringgetValue()This method is used to retrieve the value of the cookie.
-
-
-
Method Detail
-
getDomain
java.lang.String getDomain()
This method is used to retrieve the domain for which the cookie is in scope.- Returns:
- The domain for which the cookie is in scope. Note: For
cookies that have been analyzed from responses (by calling
IExtensionHelpers.analyzeResponse()and thenIResponseInfo.getCookies(), the domain will benullif the response did not explicitly set a domain attribute for the cookie.
-
getPath
java.lang.String getPath()
This method is used to retrieve the path for which the cookie is in scope.- Returns:
- The path for which the cookie is in scope or null if none is set.
-
getExpiration
java.util.Date getExpiration()
This method is used to retrieve the expiration time for the cookie.- Returns:
- The expiration time for the cookie, or
nullif none is set (i.e., for non-persistent session cookies).
-
getName
java.lang.String getName()
This method is used to retrieve the name of the cookie.- Returns:
- The name of the cookie.
-
getValue
java.lang.String getValue()
This method is used to retrieve the value of the cookie.- Returns:
- The value of the cookie.
-
-