Package org.zaproxy.zap.extension.websocket.db

Examples of org.zaproxy.zap.extension.websocket.db.TableWebSocket


    preparedIgnoredChannels = new ArrayList<>();
    ignoredChannelList = new ArrayList<>();
  }
 
  private TableWebSocket createTableWebSocket() {
    TableWebSocket table = new TableWebSocket();
    Database db = Model.getSingleton().getDb();
    db.addDatabaseListener(table);
    try {
      table.databaseOpen(db.getDatabaseServer());
    } catch (SQLException e) {
      logger.warn(e.getMessage(), e);
    }
    return table;
  }
View Full Code Here


    return doNotStore;
  }

  @Override
  public void sessionChanged(final Session session) {
    TableWebSocket table = createTableWebSocket();
    if (View.isInitialised()) {
      getWebSocketPanel().setTable(table);
    }
    storage.setTable(table);
   
    try {
      WebSocketProxy.setChannelIdGenerator(table.getMaxChannelId());
    } catch (SQLException e) {
      logger.error("Unable to retrieve current channelId value!", e);
    }
   
    if (fuzzHandler != null) {
View Full Code Here

TOP

Related Classes of org.zaproxy.zap.extension.websocket.db.TableWebSocket

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.