Package org.zaproxy.zap.extension.websocket.WebSocketMessage

Examples of org.zaproxy.zap.extension.websocket.WebSocketMessage.Direction


  public void setBreakpoint(WebSocketBreakpointMessage breakpoint) {
        resetDialogValues();
       
        this.breakpoint = breakpoint;
       
        Direction direction = breakpoint.getDirection();
        Boolean isOutgoing = null;
        if (direction != null) {
          isOutgoing = direction.equals(Direction.OUTGOING) ? true : false;
        }
        setDialogValues(breakpoint.getOpcode(), breakpoint.getChannelId(), breakpoint.getPayloadPattern(), isOutgoing);
    }
View Full Code Here


   */
    protected WebSocketBreakpointMessage getWebSocketBreakpointMessage() throws PatternSyntaxException {
    String opcode = wsUiHelper.getSelectedOpcode();
    Integer channelId = wsUiHelper.getSelectedChannelId();
    String payloadPattern = wsUiHelper.getPattern();
    Direction direction = wsUiHelper.getDirection();
   
    WebSocketBreakpointMessage brkMsg = new WebSocketBreakpointMessage(opcode, channelId, payloadPattern, direction);
    return brkMsg;
  }
View Full Code Here

TOP

Related Classes of org.zaproxy.zap.extension.websocket.WebSocketMessage.Direction

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.