Example usage for org.apache.commons.httpclient HttpStatus SC_MULTIPLE_CHOICES

List of usage examples for org.apache.commons.httpclient HttpStatus SC_MULTIPLE_CHOICES

Introduction

In this page you can find the example usage for org.apache.commons.httpclient HttpStatus SC_MULTIPLE_CHOICES.

Prototype

int SC_MULTIPLE_CHOICES

To view the source code for org.apache.commons.httpclient HttpStatus SC_MULTIPLE_CHOICES.

Click Source Link

Document

<tt>300 Mutliple Choices</tt> (HTTP/1.1 - RFC 2616)

Usage

From source file:slash.navigation.rest.HttpRequest.java

public boolean isSuccessful() throws IOException {
    return getResult() >= HttpStatus.SC_OK && getResult() < HttpStatus.SC_MULTIPLE_CHOICES;
}