@Override public void setComment(String comment) { actual.setComment(comment); }
private void markRequestResponseWithComment(IHttpRequestResponse httpRequestResponse, String comment) { httpRequestResponse.setComment(comment); }
private void markRequestResponse(IHttpRequestResponse httpRequestResponse, String message, String colour) { if(UIOptions.isHighlighted()){ httpRequestResponse.setHighlight(colour); } final String oldComment = httpRequestResponse.getComment(); if (oldComment != null && !oldComment.isEmpty()) { httpRequestResponse.setComment(String.format("%s, %s", oldComment, message)); } else { httpRequestResponse.setComment(message); } Logging.getInstance().log(getClass(), message, Logging.DEBUG); } }
reqRep.setComment("Modified endpoint detected by Attack Surface Difference Generator"); reqRep.setComment("New endpoint detected by Attack Surface Difference Generator"); reqRep.setComment("Endpoint detected by Attack Surface Detector");