public final class HttpStatus extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
HttpStatus() |
public static final int OK
public static final int CREATED
public static final int ACCEPTED
public static final int NOT_MODIFIED
public static final int BAD_REQUEST
public static final int NOT_FOUND
public static final int RESOURCE_NOT_ALLOWED
public static final int CONFLICT
public static final int PRECONDITION_FAILED
public static final int INTERNAL_SERVER_ERROR
Copyright © 2013. All Rights Reserved.