Home
last modified time | relevance | path

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

12

/external/webkit/WebKit/win/
DWebURLResponse.cpp52 static LPCTSTR CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode(CFIndex statusCode) in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode() argument
55 if (statusCode < 100 || statusCode >= 600) in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
57 else if (statusCode >= 100 && statusCode <= 199) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
58 switch (statusCode) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
69 } else if (statusCode >= 200 && statusCode <= 299) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
70 switch (statusCode) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
96 } else if (statusCode >= 300 && statusCode <= 399) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
97 switch (statusCode) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
124 } else if (statusCode >= 400 && statusCode <= 499) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
125 switch (statusCode) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
[all …]
DWebURLResponse.h77 /* [in] */ int statusCode,
80 virtual HRESULT STDMETHODCALLTYPE statusCode(
81 /* [retval][out] */ int *statusCode);
/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()
DSipStatusLine.java35 public abstract void setStatusCode(int statusCode); in setStatusCode() argument
/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()
DBasicLineParser.java419 int statusCode = 0; in parseStatusLine() local
421 statusCode = in parseStatusLine()
436 return createStatusLine(ver, statusCode, reasonPhrase); in parseStatusLine()
/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()
DSIPResponse.java305 public void setStatusCode(int statusCode) throws ParseException { in setStatusCode() argument
310 if (statusCode < 100 || statusCode > 699) in setStatusCode()
314 this.statusLine.setStatusCode(statusCode); in setStatusCode()
/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/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/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()
DSIPDialog.java2553 int statusCode = sipResponse.getStatusCode(); in setLastResponse() local
2554 if (statusCode == 100) { in setLastResponse()
2576 if (sipResponse.getCSeq().getMethod().equals(Request.INVITE) && statusCode == 200) { in setLastResponse()
2589 sipStack.getStackLogger().logDebug("statusCode = " + statusCode); in setLastResponse()
2599 if (getState() == null && (statusCode / 100 == 1)) { in setLastResponse()
2613 && statusCode / 100 == 1) { in setLastResponse()
2626 } else if (statusCode / 100 == 2) { in setLastResponse()
2650 } else if (statusCode >= 300 in setLastResponse()
2651 && statusCode <= 699 in setLastResponse()
2701 } else if (cseqMethod.equals(Request.BYE) && statusCode / 100 == 2 in setLastResponse()
[all …]
/external/webkit/WebCore/inspector/front-end/
DResourceView.js322 requestMethodElement.hidden = !this.resource.statusCode;
324 statusCodeElement.hidden = !this.resource.statusCode;
327 if (this.resource.statusCode) {
329 if (this.resource.statusCode < 300)
331 else if (this.resource.statusCode < 400)
335 …Source + "\" title=\"" + WebInspector.Resource.StatusTextForCode(this.resource.statusCode) + "\">";
341 …lue source-code\">" + WebInspector.Resource.StatusTextForCode(this.resource.statusCode) + "</div>";
/external/webkit/WebKitTools/DumpRenderTree/win/
DHistoryDelegate.cpp122 int statusCode = 0; in didNavigateWithNavigationData() local
123 if (FAILED(httpResponse->statusCode(&statusCode))) in didNavigateWithNavigationData()
139 bool wasFailure = hasSubstituteData || (httpResponse && statusCode >= 400); in didNavigateWithNavigationData()
DResourceLoadDelegate.cpp116 int statusCode = 0; in descriptionSuitableForTestResult() local
119 httpResponse->statusCode(&statusCode); in descriptionSuitableForTestResult()
121 return L"<NSURLResponse " + url + L", http status code " + wstringFromInt(statusCode) + L">"; in descriptionSuitableForTestResult()
/external/webkit/WebCore/page/
DEventSource.cpp169 int statusCode = response.httpStatusCode(); in didReceiveResponse() local
170 if (statusCode == 200 && response.httpHeaderField("Content-Type") == "text/event-stream") { in didReceiveResponse()
174 if (statusCode <= 200 || statusCode > 299) in didReceiveResponse()
/external/webkit/WebKit/win/Interfaces/
DIWebHTTPURLResponse.idl41 HRESULT localizedStringForStatusCode([in] int statusCode, [out, retval] BSTR* statusString);
42 HRESULT statusCode([out, retval] int* statusCode);
/external/webkit/WebCore/loader/icon/
DIconFetcher.cpp189 int statusCode = response.httpStatusCode() / 100; in didReceiveResponse() local
190 if (statusCode == 4 || statusCode == 5) { in didReceiveResponse()
/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/webkit/WebCore/platform/network/qt/
DQNetworkReplyHandler.cpp306 int statusCode = m_reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); in sendResponseIfNeeded() local
316 response.setHTTPStatusCode(statusCode); in sendResponseIfNeeded()
339 …if (((statusCode >= 301 && statusCode <= 303) || statusCode == 307) && m_method == QNetworkAccessM… in sendResponseIfNeeded()
/external/webkit/WebKitTools/DumpRenderTree/mac/
DResourceLoadDelegate.mm92 int statusCode = 0;
94 statusCode = [(NSHTTPURLResponse *)self statusCode];
95 …esponse %@, http status code %i>", [[self URL] _drt_descriptionSuitableForTestResult], statusCode];
/external/apache-http/src/org/apache/http/impl/client/
DDefaultRedirectHandler.java81 int statusCode = response.getStatusLine().getStatusCode(); in isRedirectRequested() local
82 switch (statusCode) { in isRedirectRequested()
/external/webkit/WebCore/platform/network/soup/
DResourceHandleSoup.cpp151 static gboolean statusWillBeHandledBySoup(guint statusCode) in statusWillBeHandledBySoup() argument
153 if (SOUP_STATUS_IS_TRANSPORT_ERROR(statusCode) in statusWillBeHandledBySoup()
154 || (SOUP_STATUS_IS_REDIRECTION(statusCode) && (statusCode != SOUP_STATUS_NOT_MODIFIED)) in statusWillBeHandledBySoup()
155 || (statusCode == SOUP_STATUS_UNAUTHORIZED)) in statusWillBeHandledBySoup()

12