Package org.owasp.webscarab.model

Examples of org.owasp.webscarab.model.ConversationID


        Request request = response.getRequest();
        if (request == null) {
            _logger.warning("Got a null request from the response!");
            return;
        }
        ConversationID id = _framework.addConversation(request, response, "Fuzzer");
        _model.addConversation(id);
    }
View Full Code Here


   * @param request
   *            the request to log
   * @return the conversation ID
   */
  protected ConversationID gotRequest(Request request) {
    ConversationID id = _framework.reserveConversationID();
    if (_ui != null)
      _ui.requested(id, request.getMethod(), request.getURL());
    _pending++;
    _status = "Started, " + _pending + " in progress";
    return id;
View Full Code Here

        _size = getConversationCount();
        return _size;
    }
   
    protected void addedConversation(ConversationEvent evt) {
        ConversationID id = evt.getConversationID();
        int row = getIndexOfConversation(id);
        if (row>-1) fireIntervalAdded(this, row, row);
    }
View Full Code Here

        int row = getIndexOfConversation(id);
        if (row>-1) fireIntervalAdded(this, row, row);
    }
   
    protected void changedConversation(ConversationEvent evt) {
        ConversationID id = evt.getConversationID();
        int row = getIndexOfConversation(id);
        if (row>-1) fireContentsChanged(this, row, row);
    }
View Full Code Here

        int row = getIndexOfConversation(id);
        if (row>-1) fireContentsChanged(this, row, row);
    }
   
    protected void removedConversation(ConversationEvent evt) {
        ConversationID id = evt.getConversationID();
        int row = getIndexOfConversation(id);
        if (row>-1) fireIntervalRemoved(this, row, row);
    }
View Full Code Here

    }//GEN-END:initComponents
   
    private void requestComboBoxActionPerformed(java.awt.event.ActionEvent evt) {
        Object o = requestComboBox.getSelectedItem();
        if (o instanceof ConversationID) {
            ConversationID id = (ConversationID) o;
            Request request = _model.getConversationModel().getRequest(id);
            _manualRequest.setRequest(request);
        }
    }
View Full Code Here

        if (column == 0) return;
    super.setValueAt(value, row, column-1);
  }

  protected void addedConversation(ConversationEvent evt) {
        ConversationID id = evt.getConversationID();
        int row = indexOfKey(id);
        fireTableRowsInserted(row, row);
    }
View Full Code Here

    public void actionPerformed(ActionEvent e) {
        Object o = getValue("SAML-RESPONSE");
        if (o == null || !(o instanceof ConversationID)) {
            return;
        }
        ConversationID id = (ConversationID) o;
        this.samlProxy.setReplaySamlResponse(id);
    }
View Full Code Here

            public void mouseClicked(MouseEvent e) {
                if (e.getClickCount() == 2 && e.getButton() == MouseEvent.BUTTON1) {
                    int row = conversationTable.getSelectedRow();
                    row = _conversationSorter.modelIndex(row);
                    if (row >-1) {
                        ConversationID id = _conversationModel.getConversationAt(row);
                        _showConversationAction.putValue("CONVERSATION", id);
                        ActionEvent evt = new ActionEvent(conversationTable, 0, (String) _showConversationAction.getValue(Action.ACTION_COMMAND_KEY));
                        _showConversationAction.actionPerformed(evt);
                    }
                }
View Full Code Here

    public void actionPerformed(ActionEvent e) {
        Object o = getValue("CONVERSATION");
        if (o == null || !(o instanceof ConversationID)) {
            return;
        }
        ConversationID id = (ConversationID) o;
       
        JFileChooser fileChooser = new JFileChooser();
        fileChooser.setDialogTitle("Export SAML message from conversation " + id);

        int result = fileChooser.showDialog(null, "Export");
View Full Code Here

TOP

Related Classes of org.owasp.webscarab.model.ConversationID

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.