Home
last modified time | relevance | path

Searched refs:statusCode (Results 1 – 25 of 55) sorted by relevance

123

/external/nist-sip/java/gov/nist/javax/sip/header/
DStatusLine.java57 protected int statusCode; field in StatusLine
78 if (sl.statusCode != 0) { in match()
80 int hiscode = sl.statusCode; in match()
81 String codeString = Integer.toString(sl.statusCode); in match()
82 String mycode = Integer.toString(statusCode); in match()
86 if (statusCode != sl.statusCode) in match()
116 String encoding = SIPConstants.SIP_VERSION_STRING + SP + statusCode; in encode()
134 return statusCode; in getStatusCode()
154 public void setStatusCode(int statusCode) { in setStatusCode() argument
155 this.statusCode = statusCode; in setStatusCode()
/external/apache-http/src/org/apache/http/message/
DBasicStatusLine.java61 private final int statusCode; field in BasicStatusLine
75 public BasicStatusLine(final ProtocolVersion version, int statusCode, in BasicStatusLine() argument
82 if (statusCode < 0) { in BasicStatusLine()
87 this.statusCode = statusCode; in BasicStatusLine()
97 return this.statusCode; in getStatusCode()
/external/apache-http/src/org/apache/http/client/
DHttpResponseException.java40 private final int statusCode; field in HttpResponseException
42 public HttpResponseException(int statusCode, final String s) { in HttpResponseException() argument
44 this.statusCode = statusCode; in HttpResponseException()
48 return this.statusCode; in getStatusCode()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DTestHttpResponse.java24 private int statusCode; field in TestHttpResponse
33 this.statusCode = 200; in TestHttpResponse()
37 public TestHttpResponse(int statusCode, String responseBody) { in TestHttpResponse() argument
38 this.statusCode = statusCode; in TestHttpResponse()
42 public TestHttpResponse(int statusCode, String responseBody, Header... headers) { in TestHttpResponse() argument
43 this(statusCode, responseBody.getBytes(), headers); in TestHttpResponse()
46 public TestHttpResponse(int statusCode, byte[] responseBody, Header... headers) { in TestHttpResponse() argument
47 this.statusCode = statusCode; in TestHttpResponse()
238 return statusCode;
242 return "HTTP status " + statusCode;
/external/chromium_org/third_party/WebKit/Source/platform/network/
DWebSocketHandshakeResponse.cpp47 int WebSocketHandshakeResponse::statusCode() const in statusCode() function in WebCore::WebSocketHandshakeResponse
52 void WebSocketHandshakeResponse::setStatusCode(int statusCode) in setStatusCode() argument
54 ASSERT(statusCode >= 100 && statusCode < 600); in setStatusCode()
55 m_statusCode = statusCode; in setStatusCode()
/external/nist-sip/java/gov/nist/javax/sip/message/
DMessageFactoryImpl.java286 public Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument
297 statusLine.setStatusCode(statusCode); in createResponse()
298 String reasonPhrase = SIPResponse.getReasonPhrase(statusCode); in createResponse()
343 public Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument
353 sipResponse.setStatusCode(statusCode); in createResponse()
390 public Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument
400 sipResponse.setStatusCode(statusCode); in createResponse()
433 public Response createResponse(int statusCode, Request request, in createResponse() argument
440 SIPResponse sipResponse = sipRequest.createResponse(statusCode); in createResponse()
466 public Response createResponse(int statusCode, Request request, in createResponse() argument
[all …]
DSIPRequest.java660 public SIPResponse createResponse(int statusCode) { in createResponse() argument
662 String reasonPhrase = SIPResponse.getReasonPhrase(statusCode); in createResponse()
663 return this.createResponse(statusCode, reasonPhrase); in createResponse()
684 public SIPResponse createResponse(int statusCode, String reasonPhrase) { in createResponse() argument
691 newResponse.setStatusCode(statusCode); in createResponse()
693 throw new IllegalArgumentException("Bad code " + statusCode); in createResponse()
698 newResponse.setReasonPhrase(SIPResponse.getReasonPhrase(statusCode)); in createResponse()
706 || (nextHeader instanceof RecordRouteList && mustCopyRR(statusCode)) in createResponse()
/external/nist-sip/java/javax/sip/message/
DMessageFactory.java32 Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument
37 Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument
42 Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument
46 Response createResponse(int statusCode, Request request, in createResponse() argument
50 Response createResponse(int statusCode, Request request, in createResponse() argument
54 Response createResponse(int statusCode, Request request) in createResponse() argument
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
DMockSpdyPeer.java170 public int statusCode; field in MockSpdyPeer.InFrame
226 @Override public void rstStream(int flags, int streamId, int statusCode) { in rstStream() argument
231 this.statusCode = statusCode; in rstStream()
246 @Override public void goAway(int flags, int lastGoodStreamId, int statusCode) { in goAway() argument
251 this.statusCode = statusCode; in goAway()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPClientTransaction.java608 int statusCode = transactionResponse.getStatusCode(); in nonInviteClientTransaction() local
610 if (statusCode / 100 == 1) { in nonInviteClientTransaction()
621 } else if (200 <= statusCode && statusCode <= 699) { in nonInviteClientTransaction()
636 if (statusCode / 100 == 1) { in nonInviteClientTransaction()
642 } else if (200 <= statusCode && statusCode <= 699) { in nonInviteClientTransaction()
725 int statusCode = transactionResponse.getStatusCode(); in inviteClientTransaction() local
756 if (statusCode / 100 == 2) { in inviteClientTransaction()
772 } else if (statusCode / 100 == 1) { in inviteClientTransaction()
783 } else if (300 <= statusCode && statusCode <= 699) { in inviteClientTransaction()
821 if (statusCode / 100 == 1) { in inviteClientTransaction()
[all …]
DSIPServerTransaction.java880 int statusCode; in sendMessage() local
884 statusCode = transactionResponse.getStatusCode(); in sendMessage()
915 if (statusCode / 100 == 1) { in sendMessage()
917 } else if (200 <= statusCode && statusCode <= 699) { in sendMessage()
956 if (statusCode / 100 == 2) { in sendMessage()
1011 if (statusCode / 100 == 2) { in sendMessage()
1023 } else if (300 <= statusCode && statusCode <= 699) { in sendMessage()
1046 } else if (200 <= statusCode && statusCode <= 699) { in sendMessage()
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketHandshake.cpp302 int statusCode; in readServerHandshake() local
304 int lineLength = readStatusLine(header, len, statusCode, statusText); in readServerHandshake()
307 if (statusCode == -1) { in readServerHandshake()
311 …TF_LOG(Network, "WebSocketHandshake %p readServerHandshake() Status code is %d", this, statusCode); in readServerHandshake()
312 m_response.setStatusCode(statusCode); in readServerHandshake()
314 if (statusCode != 101) { in readServerHandshake()
316 …reReason = formatHandshakeFailureReason("Unexpected response code: " + String::number(statusCode)); in readServerHandshake()
407 int WebSocketHandshake::readStatusLine(const char* header, size_t headerLength, int& statusCode, St… in readStatusLine() argument
413 statusCode = -1; in readStatusLine()
469 statusCode = statusCodeString.toInt(&ok); in readStatusLine()
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DSpdyConnection.java202 void writeSynResetLater(final int streamId, final int statusCode) { in writeSynResetLater() argument
206 writeSynReset(streamId, statusCode); in writeSynResetLater()
213 void writeSynReset(int streamId, int statusCode) throws IOException { in writeSynReset() argument
214 spdyWriter.rstStream(streamId, statusCode); in writeSynReset()
295 public void shutdown(int statusCode) throws IOException { in shutdown() argument
305 spdyWriter.goAway(0, lastGoodStreamId, statusCode); in shutdown()
501 @Override public void rstStream(int flags, int streamId, int statusCode) { in rstStream() argument
504 rstStream.receiveRstStream(statusCode); in rstStream()
549 @Override public void goAway(int flags, int lastGoodStreamId, int statusCode) { in goAway() argument
DSpdyReader.java184 int statusCode = in.readInt(); in readRstStream() local
185 handler.rstStream(flags, streamId, statusCode); in readRstStream()
283 int statusCode = in.readInt(); in readGoAway() local
284 handler.goAway(flags, lastGoodStreamId, statusCode); in readGoAway()
319 void rstStream(int flags, int streamId, int statusCode); in rstStream() argument
323 void goAway(int flags, int lastGoodStreamId, int statusCode); in goAway() argument
DSpdyWriter.java87 public synchronized void rstStream(int streamId, int statusCode) throws IOException { in rstStream() argument
94 out.writeInt(statusCode); in rstStream()
151 public synchronized void goAway(int flags, int lastGoodStreamId, int statusCode) in goAway() argument
158 out.writeInt(statusCode); in goAway()
/external/chromium_org/third_party/WebKit/Source/core/events/
DSecurityPolicyViolationEvent.h47 int statusCode; member
71 int statusCode() const { return m_statusCode; } in statusCode() function
92 , m_statusCode(initializer.statusCode) in SecurityPolicyViolationEvent()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DRequestHeadersView.js377 requestMethodElement.hidden = !this._request.statusCode;
379 statusCodeElement.hidden = !this._request.statusCode;
381 if (this._request.statusCode) {
386 statusCodeImage.title = this._request.statusCode + " " + this._request.statusText;
388 if (this._request.statusCode < 300 || this._request.statusCode === 304)
390 else if (this._request.statusCode < 400)
398 value.textContent = this._request.statusCode + " " + this._request.statusText;
DSASSSourceMapping.js174 function sassLoadedViaNetwork(error, statusCode, headers, content) argument
176 if (error || statusCode >= 400) {
177 …("Could not load content for " + sassURL + " : " + (error || ("HTTP status code: " + statusCode)));
279 function contentLoaded(error, statusCode, headers, content) argument
281 if (error || statusCode >= 400) {
282 …r("Could not load content for " + cssURL + " : " + (error || ("HTTP status code: " + statusCode)));
290 if (statusCode === 304) {
DHAREntry.js97 status: this._request.statusCode,
238 if (this._request.cached || this._request.statusCode === 304)
248 … if (this._request.cached || this._request.statusCode === 304 || this._request.statusCode === 206)
DContentProviders.js233 function contentLoaded(error, statusCode, headers, content) argument
235 if (error || statusCode >= 400) {
236 …not load content for " + this._sourceURL + " : " + (error || ("HTTP status code: " + statusCode)));
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebSocketHandshakeResponseInfo.cpp50 void WebSocketHandshakeResponseInfo::setStatusCode(int statusCode) in setStatusCode() argument
52 m_private->setStatusCode(statusCode); in setStatusCode()
DWebHTTPLoadInfo.cpp73 void WebHTTPLoadInfo::setHTTPStatusCode(int statusCode) in setHTTPStatusCode() argument
76 m_private->httpStatusCode = statusCode; in setHTTPStatusCode()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DStatusLineParser.java50 protected int statusCode() throws ParseException { in statusCode() method in StatusLineParser
80 int scode = statusCode(); in parse()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DPageSerializerTest.cpp113 void registerErrorURL(const char* file, int statusCode) in registerErrorURL() argument
116 error.reason = 0xdead + statusCode; in registerErrorURL()
122 response.setHTTPStatusCode(statusCode); in registerErrorURL()
/external/smack/src/com/kenai/jbosh/
DApacheHTTPResponse.java102 private int statusCode; field in ApacheHTTPResponse
214 return statusCode; in getHTTPStatus()
242 statusCode = httpResp.getStatusLine().getStatusCode(); in awaitResponse()

123