public class Responses extends 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 javax.ws.rs.core.Response.ResponseBuilder |
clientError() |
static javax.ws.rs.core.Response.ResponseBuilder |
conflict() |
static javax.ws.rs.core.Response.ResponseBuilder |
methodNotAllowed() |
static javax.ws.rs.core.Response.ResponseBuilder |
noContent() |
static javax.ws.rs.core.Response.ResponseBuilder |
notAcceptable() |
static javax.ws.rs.core.Response.ResponseBuilder |
notFound() |
static javax.ws.rs.core.Response.ResponseBuilder |
notModified() |
static javax.ws.rs.core.Response.ResponseBuilder |
preconditionFailed() |
static javax.ws.rs.core.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 javax.ws.rs.core.Response.ResponseBuilder noContent()
public static javax.ws.rs.core.Response.ResponseBuilder notModified()
public static javax.ws.rs.core.Response.ResponseBuilder clientError()
public static javax.ws.rs.core.Response.ResponseBuilder notFound()
public static javax.ws.rs.core.Response.ResponseBuilder methodNotAllowed()
public static javax.ws.rs.core.Response.ResponseBuilder notAcceptable()
public static javax.ws.rs.core.Response.ResponseBuilder conflict()
public static javax.ws.rs.core.Response.ResponseBuilder preconditionFailed()
public static javax.ws.rs.core.Response.ResponseBuilder unsupportedMediaType()
Copyright © 2013 Oracle Corporation. All rights reserved.