org.ektorp.http
Class HttpStatus

java.lang.Object
  extended by org.ektorp.http.HttpStatus

public final class HttpStatus
extends Object

Author:
henrik lundgren

Field Summary
static int ACCEPTED
          Request for database compaction completed successfully.
static int BAD_REQUEST
          Request given is not valid in some way.
static int CONFLICT
          Request resulted in an update conflict.
static int CREATED
          Document created successfully.
static int INTERNAL_SERVER_ERROR
          Request contained invalid JSON, probably happens in other cases too.
static int NOT_FOUND
          Request for a document which doesn't exist.
static int NOT_MODIFIED
          Etag not modified since last update.
static int OK
          Request completed successfully.
static int PRECONDITION_FAILED
          Request attempted to created database which already exists.
static int RESOURCE_NOT_ALLOWED
          Request was accessing a non-existent URL.
 
Constructor Summary
HttpStatus()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OK

public static final int OK
Request completed successfully.

See Also:
Constant Field Values

CREATED

public static final int CREATED
Document created successfully.

See Also:
Constant Field Values

ACCEPTED

public static final int ACCEPTED
Request for database compaction completed successfully.

See Also:
Constant Field Values

NOT_MODIFIED

public static final int NOT_MODIFIED
Etag not modified since last update.

See Also:
Constant Field Values

BAD_REQUEST

public static final int BAD_REQUEST
Request given is not valid in some way.

See Also:
Constant Field Values

NOT_FOUND

public static final int NOT_FOUND
Request for a document which doesn't exist.

See Also:
Constant Field Values

RESOURCE_NOT_ALLOWED

public static final int RESOURCE_NOT_ALLOWED
Request was accessing a non-existent URL. For example, if you have a malformed URL, or are using a third party library that is targeting a different version of CouchDB.

See Also:
Constant Field Values

CONFLICT

public static final int CONFLICT
Request resulted in an update conflict.

See Also:
Constant Field Values

PRECONDITION_FAILED

public static final int PRECONDITION_FAILED
Request attempted to created database which already exists.

See Also:
Constant Field Values

INTERNAL_SERVER_ERROR

public static final int INTERNAL_SERVER_ERROR
Request contained invalid JSON, probably happens in other cases too.

See Also:
Constant Field Values
Constructor Detail

HttpStatus

public HttpStatus()


Copyright © 2011. All Rights Reserved.