Home
last modified time | relevance | path

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

123

/external/webkit/Source/WebKit/win/
DWebURLResponse.cpp50 static String CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode(CFIndex statusCode) in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode() argument
53 if (statusCode < 100 || statusCode >= 600) in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
55 else if (statusCode >= 100 && statusCode <= 199) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
56 switch (statusCode) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
67 } else if (statusCode >= 200 && statusCode <= 299) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
68 switch (statusCode) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
94 } else if (statusCode >= 300 && statusCode <= 399) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
95 switch (statusCode) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
122 } else if (statusCode >= 400 && statusCode <= 499) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
123 switch (statusCode) { in CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode()
[all …]
DWebURLResponse.h74 /* [in] */ int statusCode,
77 virtual HRESULT STDMETHODCALLTYPE statusCode(
78 /* [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()
/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/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/webkit/Source/WebCore/websockets/
DWebSocketHandshakeResponse.cpp62 int WebSocketHandshakeResponse::statusCode() const in statusCode() function in WebCore::WebSocketHandshakeResponse
67 void WebSocketHandshakeResponse::setStatusCode(int statusCode) in setStatusCode() argument
69 ASSERT(statusCode >= 100 && statusCode < 600); in setStatusCode()
70 m_statusCode = statusCode; in setStatusCode()
DWebSocketHandshake.cpp317 int statusCode; in readServerHandshake() local
319 int lineLength = readStatusLine(header, len, statusCode, statusText); in readServerHandshake()
322 if (statusCode == -1) { in readServerHandshake()
326 LOG(Network, "response code: %d", statusCode); in readServerHandshake()
327 m_response.setStatusCode(statusCode); in readServerHandshake()
329 if (statusCode != 101) { in readServerHandshake()
331 …rMessageLevel, makeString("Unexpected response code: ", String::number(statusCode)), 0, clientOrig… in readServerHandshake()
421 int WebSocketHandshake::readStatusLine(const char* header, size_t headerLength, int& statusCode, St… in readStatusLine() argument
427 statusCode = -1; in readStatusLine()
481 statusCode = statusCodeString.toInt(&ok); in readStatusLine()
DWebSocketHandshakeResponse.h47 int statusCode() const;
48 void setStatusCode(int statusCode);
/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/Source/WebCore/inspector/front-end/
DResourceHeadersView.js251 requestMethodElement.hidden = !this._resource.statusCode;
253 statusCodeElement.hidden = !this._resource.statusCode;
256 if (this._resource.statusCode) {
258 if (this._resource.statusCode < 300 || this._resource.statusCode === 304)
260 else if (this._resource.statusCode < 400)
265 … var statusTextEscaped = this._resource.statusCode + " " + this._resource.statusText.escapeHTML();
/external/webkit/Tools/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.cpp113 int statusCode = 0; in descriptionSuitableForTestResult() local
116 httpResponse->statusCode(&statusCode); in descriptionSuitableForTestResult()
118 return L"<NSURLResponse " + url + L", http status code " + wstringFromInt(statusCode) + L">"; in descriptionSuitableForTestResult()
/external/webkit/Source/WebCore/page/
DEventSource.cpp184 int statusCode = response.httpStatusCode(); in didReceiveResponse() local
186 bool responseIsValid = statusCode == 200 && mimeTypeIsValid; in didReceiveResponse()
201 if (statusCode == 200 && !mimeTypeIsValid) { in didReceiveResponse()
214 if (statusCode <= 200 || statusCode > 299) in didReceiveResponse()
/external/webkit/Source/WebKit/win/Interfaces/
DIWebHTTPURLResponse.idl41 HRESULT localizedStringForStatusCode([in] int statusCode, [out, retval] BSTR* statusString);
42 HRESULT statusCode([out, retval] int* statusCode);
/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/Source/WebKit/chromium/src/
DWebHTTPLoadInfo.cpp74 void WebHTTPLoadInfo::setHTTPStatusCode(int statusCode) in setHTTPStatusCode() argument
77 m_private->httpStatusCode = statusCode; in setHTTPStatusCode()
/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/Source/WebCore/platform/network/qt/
DQNetworkReplyHandler.cpp480 …int statusCode = m_replyWrapper->reply()->attribute(QNetworkRequest::HttpStatusCodeAttribute).toIn… in sendResponseIfNeeded() local
490 response.setHTTPStatusCode(statusCode); in sendResponseIfNeeded()
514 …int statusCode = m_replyWrapper->reply()->attribute(QNetworkRequest::HttpStatusCodeAttribute).toIn… in redirect() local
530 …if ((statusCode >= 301 && statusCode <= 303) && m_resourceHandle->firstRequest().httpMethod() == "… in redirect()

123