} catch (Exception e) {
}
}
private void setMessage(HttpMessage msg) {
HttpPanel requestPanel = getView().getRequestPanel();
HttpPanel responsePanel = getView().getResponsePanel();
requestPanel.setMessage("","", true);
if (!msg.getRequestHeader().isEmpty()) {
requestPanel.setMessage(msg.getRequestHeader().toString(), msg.getRequestBody().toString(), true);
}
responsePanel.setMessage("","", false);
if (!msg.getResponseHeader().isEmpty()) {
responsePanel.setMessage(msg.getResponseHeader().toString(), msg.getResponseBody().toString(), false);
}
}