Searched refs:fromReq (Results 1 – 1 of 1) sorted by relevance
442 private static final boolean copyHeader(String name, String fromReq, StringBuffer buf) { in copyHeader() argument443 int start = fromReq.indexOf(name); in copyHeader()445 int end = fromReq.indexOf("\r\n", start); in copyHeader()448 buf.append(fromReq.subSequence(start - 2, end)); // incl CRLF in copyHeader()465 private static final boolean copyViaHeaders(String fromReq, StringBuffer buf) { in copyViaHeaders() argument466 int start = fromReq.indexOf(ViaHeader.NAME); in copyViaHeaders()469 int end = fromReq.indexOf("\r\n", start); in copyViaHeaders()472 buf.append(fromReq.subSequence(start - 2, end)); // incl CRLF in copyViaHeaders()475 start = fromReq.indexOf(ViaHeader.NAME, end); in copyViaHeaders()