com.sun.jersey.api
Class Responses

java.lang.Object  extended by com.sun.jersey.api.Responses

public class Responses
extends java.lang.Object

Common status codes and responses.

Author:
Paul.Sandoz@Sun.Com


Field Summary
static intCLIENT_ERROR
           
static intCONFLICT
           
static intMETHOD_NOT_ALLOWED
           
static intNO_CONTENT
           
static intNOT_ACCEPTABLE
           
static intNOT_FOUND
           
static intNOT_MODIFIED
           
static intPRECONDITION_FAILED
           
static intUNSUPPORTED_MEDIA_TYPE
           
 
Constructor Summary
Responses()
           
 
Method Summary
static Response.ResponseBuilderclientError()
           
static Response.ResponseBuilderconflict()
           
static Response.ResponseBuildermethodNotAllowed()
           
static Response.ResponseBuildernoContent()
           
static Response.ResponseBuildernotAcceptable()
           
static Response.ResponseBuildernotFound()
           
static Response.ResponseBuildernotModified()
           
static Response.ResponseBuilderpreconditionFailed()
           
static Response.ResponseBuilderunsupportedMediaType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_CONTENT

public static final int NO_CONTENT
See Also:
Constant Field Values

NOT_MODIFIED

public static final int NOT_MODIFIED
See Also:
Constant Field Values

CLIENT_ERROR

public static final int CLIENT_ERROR
See Also:
Constant Field Values

NOT_FOUND

public static final int NOT_FOUND
See Also:
Constant Field Values

METHOD_NOT_ALLOWED

public static final int METHOD_NOT_ALLOWED
See Also:
Constant Field Values

NOT_ACCEPTABLE

public static final int NOT_ACCEPTABLE
See Also:
Constant Field Values

CONFLICT

public static final int CONFLICT
See Also:
Constant Field Values

PRECONDITION_FAILED

public static final int PRECONDITION_FAILED
See Also:
Constant Field Values

UNSUPPORTED_MEDIA_TYPE

public static final int UNSUPPORTED_MEDIA_TYPE
See Also:
Constant Field Values
Constructor Detail

Responses

public Responses()
Method Detail

noContent

public static Response.ResponseBuilder noContent()

notModified

public static Response.ResponseBuilder notModified()

clientError

public static Response.ResponseBuilder clientError()

notFound

public static Response.ResponseBuilder notFound()

methodNotAllowed

public static Response.ResponseBuilder methodNotAllowed()

notAcceptable

public static Response.ResponseBuilder notAcceptable()

conflict

public static Response.ResponseBuilder conflict()

preconditionFailed

public static Response.ResponseBuilder preconditionFailed()

unsupportedMediaType

public static Response.ResponseBuilder unsupportedMediaType()


Copyright © 2011
Oracle Corporation. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14