public class Responses
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CLIENT_ERROR |
static int |
CONFLICT |
static int |
METHOD_NOT_ALLOWED |
static int |
NO_CONTENT |
static int |
NOT_ACCEPTABLE |
static int |
NOT_FOUND |
static int |
NOT_MODIFIED |
static int |
PRECONDITION_FAILED |
static int |
UNSUPPORTED_MEDIA_TYPE |
Constructor and Description |
---|
Responses() |
Modifier and Type | Method and Description |
---|---|
static Response.ResponseBuilder |
clientError() |
static Response.ResponseBuilder |
conflict() |
static Response.ResponseBuilder |
methodNotAllowed() |
static Response.ResponseBuilder |
noContent() |
static Response.ResponseBuilder |
notAcceptable() |
static Response.ResponseBuilder |
notFound() |
static Response.ResponseBuilder |
notModified() |
static Response.ResponseBuilder |
preconditionFailed() |
static Response.ResponseBuilder |
unsupportedMediaType() |
public static final int NO_CONTENT
public static final int NOT_MODIFIED
public static final int CLIENT_ERROR
public static final int NOT_FOUND
public static final int METHOD_NOT_ALLOWED
public static final int NOT_ACCEPTABLE
public static final int CONFLICT
public static final int PRECONDITION_FAILED
public static final int UNSUPPORTED_MEDIA_TYPE
public static Response.ResponseBuilder noContent()
public static Response.ResponseBuilder notModified()
public static Response.ResponseBuilder clientError()
public static Response.ResponseBuilder notFound()
public static Response.ResponseBuilder methodNotAllowed()
public static Response.ResponseBuilder notAcceptable()
public static Response.ResponseBuilder conflict()
public static Response.ResponseBuilder preconditionFailed()
public static Response.ResponseBuilder unsupportedMediaType()
Copyright © 2016 Oracle Corporation. All Rights Reserved.