Package org.zaproxy.zap.view.HttpPanelManager

Examples of org.zaproxy.zap.view.HttpPanelManager.HttpPanelDefaultViewSelectorFactory


    HttpPanelViewFactory viewFactory = new WebSocketHexViewFactory();
    manager.addRequestViewFactory(WebSocketComponent.NAME, viewFactory);
    manager.addResponseViewFactory(WebSocketComponent.NAME, viewFactory);
   
    // add the default Hex view for binary-opcode messages
    HttpPanelDefaultViewSelectorFactory viewSelectorFactory = new HexDefaultViewSelectorFactory();
    manager.addRequestDefaultViewSelectorFactory(WebSocketComponent.NAME, viewSelectorFactory);
    manager.addResponseDefaultViewSelectorFactory(WebSocketComponent.NAME, viewSelectorFactory);

    // replace the normal Text views with the ones that use syntax highlighting
    viewFactory = new SyntaxHighlightTextViewFactory();
View Full Code Here

TOP

Related Classes of org.zaproxy.zap.view.HttpPanelManager.HttpPanelDefaultViewSelectorFactory

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.