Home
last modified time | relevance | path

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

/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPResponse.java74 protected StatusLine statusLine; field in SIPResponse
312 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 …]
DMessageFactoryImpl.java296 StatusLine statusLine = new StatusLine(); in createResponse() local
297 statusLine.setStatusCode(statusCode); in createResponse()
301 statusLine.setReasonPhrase(reasonPhrase); in createResponse()
302 sipResponse.setStatusLine(statusLine); in createResponse()
607 StatusLine statusLine = new StatusLine(); in createResponse() local
608 statusLine.setStatusCode(statusCode); in createResponse()
612 statusLine.setReasonPhrase(reason); in createResponse()
613 sipResponse.setStatusLine(statusLine); in createResponse()
663 StatusLine statusLine = new StatusLine(); in createResponse() local
664 statusLine.setStatusCode(statusCode); in createResponse()
[all …]
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRawHeaders.java71 private String statusLine; field in RawHeaders
82 statusLine = copyFrom.statusLine; in RawHeaders()
95 public void setStatusLine(String statusLine) throws IOException { in setStatusLine() argument
103 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 …]
/external/apache-http/src/org/apache/http/impl/client/
DBasicResponseHandler.java69 StatusLine statusLine = response.getStatusLine(); in handleResponse() local
70 if (statusLine.getStatusCode() >= 300) { in handleResponse()
71 throw new HttpResponseException(statusLine.getStatusCode(), in handleResponse()
72 statusLine.getReasonPhrase()); in handleResponse()
/external/chromium_org/chrome/common/extensions/docs/examples/api/debugger/live-headers/
Dheaders.js50 var statusLine = document.createElement("div");
51 statusLine.textContent = "\nHTTP/1.1 " + response.status + " " +
53 requestDiv.appendChild(statusLine);
/external/nist-sip/java/gov/nist/javax/sip/parser/
DStatusLineParser.java41 public StatusLineParser(String statusLine) { in StatusLineParser() argument
42 this.lexer = new Lexer("status_lineLexer", statusLine); in StatusLineParser()
DStringMsgParser.java608 public StatusLine parseSIPStatusLine(String statusLine) in parseSIPStatusLine() argument
610 statusLine += "\n"; in parseSIPStatusLine()
611 return new StatusLineParser(statusLine).parse(); in parseSIPStatusLine()
/external/chromium_org/third_party/WebKit/Source/platform/network/
DHTTPParsers.cpp451 String extractReasonPhraseFromHTTPStatusLine(const String& statusLine) in extractReasonPhraseFromHTTPStatusLine() argument
453 size_t spacePos = statusLine.find(' '); in extractReasonPhraseFromHTTPStatusLine()
455 spacePos = statusLine.find(' ', spacePos + 1); in extractReasonPhraseFromHTTPStatusLine()
456 return statusLine.substring(spacePos + 1); in extractReasonPhraseFromHTTPStatusLine()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DTestHttpResponse.java26 private TestStatusLine statusLine = new TestStatusLine(); field in TestHttpResponse
57 return statusLine; in getStatusLine()
DHttpResponseStub.java19 @Override public void setStatusLine(StatusLine statusLine) { in setStatusLine() argument
/external/nist-sip/java/gov/nist/javax/sip/header/
DHeaderFactoryExt.java54 public SipStatusLine createStatusLine(String statusLine) throws ParseException; in createStatusLine() argument
DHeaderFactoryImpl.java1665 public SipStatusLine createStatusLine(String statusLine) throws ParseException { in createStatusLine() argument
1666 StatusLineParser statusLineParser = new StatusLineParser(statusLine); in createStatusLine()