Sha256: 7c2dafd34d144e305f3ffe08535f2a7cfa86635e2bc8aa1638fd52d037d76b1f

Contents?: true

Size: 1.52 KB

Versions: 8

Compression:

Stored size: 1.52 KB

Contents

package burp;

/*
 * @(#)ICookie.java
 *
 * Copyright PortSwigger Ltd. All rights reserved.
 *
 * This code may be used to extend the functionality of Burp Suite Free Edition
 * and Burp Suite Professional, provided that this usage does not violate the
 * license terms for those products.
 */
import java.util.Date;

/**
 * This interface is used to hold details about an HTTP cookie.
 */
public interface ICookie
{
    /**
     * This method is used to retrieve the domain for which the cookie is in
     * scope.
     *
     * @return The domain for which the cookie is in scope. <b>Note:</b> For
     * cookies that have been analyzed from responses (by calling
     * <code>IExtensionHelpers.analyzeResponse()</code> and then
     * <code>IResponseInfo.getCookies()</code>, the domain will be
     * <code>null</code> if the response did not explicitly set a domain
     * attribute for the cookie.
     */
    String getDomain();

    /**
     * This method is used to retrieve the expiration time for the cookie.
     *
     * @return The expiration time for the cookie, or
     * <code>null</code> if none is set (i.e., for non-persistent session
     * cookies).
     */
    Date getExpiration();

    /**
     * This method is used to retrieve the name of the cookie.
     * 
     * @return The name of the cookie.
     */
    String getName();

    /**
     * This method is used to retrieve the value of the cookie.
     * @return The value of the cookie.
     */
    String getValue();
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
buby-1.6.0-java ext/burp_interfaces/burp/ICookie.java
buby-1.5.2-java ext/burp_interfaces/burp/ICookie.java
buby-1.5.1-java ext/burp_interfaces/burp/ICookie.java
buby-1.5.0-java ext/burp_interfaces/burp/ICookie.java
buby-1.5.0.pre4-java ext/burp_interfaces/burp/ICookie.java
buby-1.5.0.pre3-java ext/burp_interfaces/burp/ICookie.java
buby-1.5.0.pre2-java ext/burp_interfaces/burp/ICookie.java
buby-1.5.0.pre1-java ext/burp_interfaces/burp/ICookie.java