Sha256: 5b78696517808d17360ee6d521eef5ab4e7b6adfe0f7591105d93ae48e759359

Contents?: true

Size: 1.79 KB

Versions: 8

Compression:

Stored size: 1.79 KB

Contents

package burp;

/*
 * @(#)IMessageEditorController.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.
 */
/**
 * This interface is used by an
 * <code>IMessageEditor</code> to obtain details about the currently displayed
 * message. Extensions that create instances of Burp's HTTP message editor can
 * optionally provide an implementation of
 * <code>IMessageEditorController</code>, which the editor will invoke when it
 * requires further information about the current message (for example, to send
 * it to another Burp tool). Extensions that provide custom editor tabs via an
 * <code>IMessageEditorTabFactory</code> will receive a reference to an
 * <code>IMessageEditorController</code> object for each tab instance they
 * generate, which the tab can invoke if it requires further information about
 * the current message.
 */
public interface IMessageEditorController
{
    /**
     * This method is used to retrieve the HTTP service for the current message.
     *
     * @return The HTTP service for the current message.
     */
    IHttpService getHttpService();

    /**
     * This method is used to retrieve the HTTP request associated with the
     * current message (which may itself be a response).
     *
     * @return The HTTP request associated with the current message.
     */
    byte[] getRequest();

    /**
     * This method is used to retrieve the HTTP response associated with the
     * current message (which may itself be a request).
     *
     * @return The HTTP response associated with the current message.
     */
    byte[] getResponse();
}

Version data entries

8 entries across 8 versions & 1 rubygems

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