Best code examples for Android StatusLine class (org.apache.http.StatusLine)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Android StatusLine class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Android StatusLine examples from Open Source projects
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
62:	if (status.getStatusCode() != 200) 
63:	throw new IOException("Non-successful HTTP response: " + status.getReasonPhrase()); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: getStatusCode
132:	if (status.getStatusCode() != 200) { // HTTP 200 is success. 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
201:	int statusCode = status.getStatusCode(); 
-
232:	throw new HttpException(statusCode, status.getReasonPhrase()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
220:	if(status.getStatusCode() >= 300) { 
221:	sendFailureMessage(new HttpResponseException(status.getStatusCode(), status.getReasonPhrase()), responseBody); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getReasonPhrase
80:	return httpStatusLine == null ? null : httpStatusLine.getReasonPhrase(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getStatusCode
132:	if (status.getStatusCode() != 200) { // HTTP 200 is success. 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
134:	if (status.getStatusCode() != 200) { // HTTP 200 is success. 
135:	if (Config.LOGD) Log.d(TAG, "HTTP error: " + status.getReasonPhrase()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
234:	if(status.getStatusCode() >= 300) { 
235:	sendFailureMessage(new HttpResponseException(status.getStatusCode(), status.getReasonPhrase()), responseBody); 
-
237:	sendSuccessMessage(status.getStatusCode(), responseBody); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getStatusCode
333:	int statusCode = status.getStatusCode(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
79:	this.statusCode = statusLine.getStatusCode(); 
-
96:	OAuthException unauthorizedClientException = new UnauthorizedClientException(statusLine.getReasonPhrase()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
60:	if (200 <= status.getStatusCode() && status.getStatusCode() < 300) { 
-
63:	} else if (status.getStatusCode() == 304) { 
-
66:	throw new HttpResponseException(status.getStatusCode(), status.getReasonPhrase()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getStatusCode
47:	this.statusCode = this.statusLine.getStatusCode(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
70:	if (statusLine.getStatusCode() >= 300) { 
71:	throw new HttpResponseException(statusLine.getStatusCode(), 
72:	statusLine.getReasonPhrase()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
122:	if (status.getStatusCode() >= 300) { 
123:	responseHandler.onFailure(protocol, new HttpResponseException(status.getStatusCode(), status.getReasonPhrase())); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getStatusCode
18:	if (statusLine.getStatusCode() != 200) { 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
16:	if (statusLine.getStatusCode()>=300) { 
17:	throw new HttpResponseException(statusLine.getStatusCode(), 
18:	statusLine.getReasonPhrase()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
53:	if (statusLine.getStatusCode() == HttpStatus.SC_OK) { 
-
60:	throw new IOException(statusLine.getReasonPhrase()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getProtocolVersion, getReasonPhrase, getStatusCode
152:	return (l1.getReasonPhrase().equals(l2.getReasonPhrase()) && l1.getStatusCode() == l2 
153:	.getStatusCode()); 
-
158:	return (l1.getProtocolVersion().equals(l2.getProtocolVersion()) && semanticallyTransparent( 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
132:	if (status.getStatusCode() != 200) { // HTTP 200 is success. 
133:	if (Config.LOGD) Log.d(TAG, "HTTP error: " + status.getReasonPhrase()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
237:	if(status.getStatusCode() >= 300) { 
238:	sendFailureMessage(new HttpResponseException(status.getStatusCode(), status.getReasonPhrase()), ""); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getStatusCode
90:	if (status.getStatusCode() == 200) { 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
296:	if (statusLine.getStatusCode() >= 300) { 
297:	throw new WeaveResponseException(statusLine.getStatusCode(), statusLine.getReasonPhrase(), response); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
17:	if (statusLine.getStatusCode() >= 300) { 
18:	throw new HttpResponseException(statusLine.getStatusCode(), statusLine.getReasonPhrase()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
28:	if (statusLine.getStatusCode() >= 300) { 
29:	throw new HttpResponseException(statusLine.getStatusCode(), statusLine 
30:	.getReasonPhrase()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
43:	if (statusLine.getStatusCode() >= 300) { 
-
50:	throw new HttpResponseException(statusLine.getStatusCode(), 
51:	statusLine.getReasonPhrase()+"    "+serverStack); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
90:	this.ResponseCode = status.getStatusCode(); 
91:	this.ResponseMessage = status.getReasonPhrase(); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
108:	if (statusLine.getStatusCode() != 200) { 
109:	response.sendError(statusLine.getStatusCode(), statusLine.getReasonPhrase()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
49:	if (status.getStatusCode() == 404) { 
-
53:	if (status.getStatusCode() != 200) { 
54:	throw new RuntimeException("Could not get URL: " + status.getStatusCode() + ": " 
55:	+ status.getReasonPhrase()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
28:	if (statusLine.getStatusCode() >= 300) { 
29:	throw new HttpResponseException(statusLine.getStatusCode(), 
30:	statusLine.getReasonPhrase()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
18:	if (statusLine.getStatusCode() >= 300) 
-
20:	throw new HttpResponseException(statusLine.getStatusCode(), statusLine.getReasonPhrase()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
17:	if (statusLine.getStatusCode()>=300) { 
18:	throw new HttpResponseException(statusLine.getStatusCode(), 
19:	statusLine.getReasonPhrase()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
231:	if(status.getStatusCode() >= 300) { 
232:	sendFailureMessage(new HttpResponseException(status.getStatusCode(), status.getReasonPhrase()), responseBody); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
220:	if(status.getStatusCode() >= 300) { 
221:	sendFailureMessage(new HttpResponseException(status.getStatusCode(), status.getReasonPhrase()), responseBody); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
27:	int statusCode = statusLine.getStatusCode(); 
-
31:	statusCode, statusLine.getReasonPhrase())); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
27:	int statusCode = statusLine.getStatusCode(); 
-
31:	statusCode, statusLine.getReasonPhrase())); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getReasonPhrase, getStatusCode
30:	return statusLine.getReasonPhrase() + " code: " + statusLine.getStatusCode(); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: toString, getStatusCode
75:	Log.i(cTag, "delete with response " + status.toString()); 
76:	return status.getStatusCode() == HttpStatus.SC_OK; 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: getProtocolVersion
146:	return this.statusLine.getProtocolVersion(); 
Full Snippet Info
4
CodeRank
Related Android StatusLine Questions & Answers:
See Code Examples for Android StatusLine Methods: