Sha256: e132b694acc0170ed8914b4a8a1e8d2ef68b3ebc7620a8c7af46e22dbd14d76a

Contents?: true

Size: 1.51 KB

Versions: 7

Compression:

Stored size: 1.51 KB

Contents

package burp;

/*
 * @(#)IResponseInfo.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.List;

/**
 * This interface is used to retrieve key details about an HTTP response.
 * Extensions can obtain an
 * <code>IResponseInfo</code> object for a given response by calling
 * <code>IExtensionHelpers.analyzeResponse()</code>.
 */
public interface IResponseInfo
{
    /**
     * This method is used to obtain the HTTP headers contained in the response.
     *
     * @return The HTTP headers contained in the response.
     */
    List<String> getHeaders();

    /**
     * This method is used to obtain the offset within the response where the
     * message body begins.
     *
     * @return The offset within the response where the message body begins.
     */
    int getBodyOffset();

    /**
     * This method is used to obtain the HTTP status code contained in the
     * response.
     *
     * @return The HTTP status code contained in the response.
     */
    short getStatusCode();

    /**
     * This method is used to obtain details of the HTTP cookies set in the
     * response.
     *
     * @return A list of
     * <code>ICookie</code> objects representing the cookies set in the
     * response, if any.
     */
    List<ICookie> getCookies();
}

Version data entries

7 entries across 7 versions & 1 rubygems

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