Home
last modified time | relevance | path

Searched refs:fromReq (Results 1 – 1 of 1) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/stack/
DMessageChannel.java442 private static final boolean copyHeader(String name, String fromReq, StringBuffer buf) { in copyHeader() argument
443 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() argument
466 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()