Searched refs:statusLine (Results 1 – 12 of 12) sorted by relevance
74 protected StatusLine statusLine; field in SIPResponse312 if (this.statusLine == null) in setStatusCode()313 this.statusLine = new StatusLine(); in setStatusCode()314 this.statusLine.setStatusCode(statusCode); in setStatusCode()322 return statusLine; in getStatusLine()329 return statusLine.getStatusCode(); in getStatusCode()339 if (this.statusLine == null) in setReasonPhrase()340 this.statusLine = new StatusLine(); in setReasonPhrase()341 this.statusLine.setReasonPhrase(reasonPhrase); in setReasonPhrase()348 if (statusLine == null || statusLine.getReasonPhrase() == null) in getReasonPhrase()[all …]
296 StatusLine statusLine = new StatusLine(); in createResponse() local297 statusLine.setStatusCode(statusCode); in createResponse()301 statusLine.setReasonPhrase(reasonPhrase); in createResponse()302 sipResponse.setStatusLine(statusLine); in createResponse()607 StatusLine statusLine = new StatusLine(); in createResponse() local608 statusLine.setStatusCode(statusCode); in createResponse()612 statusLine.setReasonPhrase(reason); in createResponse()613 sipResponse.setStatusLine(statusLine); in createResponse()663 StatusLine statusLine = new StatusLine(); in createResponse() local664 statusLine.setStatusCode(statusCode); in createResponse()[all …]
71 private String statusLine; field in RawHeaders82 statusLine = copyFrom.statusLine; in RawHeaders()95 public void setStatusLine(String statusLine) throws IOException { in setStatusLine() argument103 boolean hasMessage = statusLine.length() > 13; in setStatusLine()104 if (!statusLine.startsWith("HTTP/1.") in setStatusLine()105 || statusLine.length() < 12 in setStatusLine()106 || statusLine.charAt(8) != ' ' in setStatusLine()107 || (hasMessage && statusLine.charAt(12) != ' ')) { in setStatusLine()108 throw new ProtocolException("Unexpected status line: " + statusLine); in setStatusLine()110 int httpMinorVersion = statusLine.charAt(7) - '0'; in setStatusLine()[all …]
69 StatusLine statusLine = response.getStatusLine(); in handleResponse() local70 if (statusLine.getStatusCode() >= 300) { in handleResponse()71 throw new HttpResponseException(statusLine.getStatusCode(), in handleResponse()72 statusLine.getReasonPhrase()); in handleResponse()
50 var statusLine = document.createElement("div");51 statusLine.textContent = "\nHTTP/1.1 " + response.status + " " +53 requestDiv.appendChild(statusLine);
41 public StatusLineParser(String statusLine) { in StatusLineParser() argument42 this.lexer = new Lexer("status_lineLexer", statusLine); in StatusLineParser()
608 public StatusLine parseSIPStatusLine(String statusLine) in parseSIPStatusLine() argument610 statusLine += "\n"; in parseSIPStatusLine()611 return new StatusLineParser(statusLine).parse(); in parseSIPStatusLine()
451 String extractReasonPhraseFromHTTPStatusLine(const String& statusLine) in extractReasonPhraseFromHTTPStatusLine() argument453 size_t spacePos = statusLine.find(' '); in extractReasonPhraseFromHTTPStatusLine()455 spacePos = statusLine.find(' ', spacePos + 1); in extractReasonPhraseFromHTTPStatusLine()456 return statusLine.substring(spacePos + 1); in extractReasonPhraseFromHTTPStatusLine()
26 private TestStatusLine statusLine = new TestStatusLine(); field in TestHttpResponse57 return statusLine; in getStatusLine()
19 @Override public void setStatusLine(StatusLine statusLine) { in setStatusLine() argument
54 public SipStatusLine createStatusLine(String statusLine) throws ParseException; in createStatusLine() argument
1665 public SipStatusLine createStatusLine(String statusLine) throws ParseException { in createStatusLine() argument1666 StatusLineParser statusLineParser = new StatusLineParser(statusLine); in createStatusLine()