/** Get current headers value and fill up form. */ void updateForm() { clearForm(); if (headersData == null) { return; } ArrayList<RequestHeader> list = RequestHeadersParser.stringToHeaders(headersData); for (RequestHeader header : list) { addRow(header.getName(), header.getValue()); } }
void rawEditorChanged(String value) { ArrayList<RequestHeader> list = RequestHeadersParser.stringToHeaders(value); for (RequestHeader header : list) { onHeaderChange(header.getName(), header.getValue()); } }