org.glassfish.jersey.message.internal
Class Statuses

java.lang.Object
  extended by org.glassfish.jersey.message.internal.Statuses

public final class Statuses
extends Object

Factory for producing custom JAX-RS response status type instances.

Author:
Paul Sandoz

Method Summary
static Response.StatusType from(int code)
           
static Response.StatusType from(int code, String reason)
           
static Response.StatusType from(Response.StatusType status, String reason)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

from

public static Response.StatusType from(int code)

from

public static Response.StatusType from(int code,
                                       String reason)

from

public static Response.StatusType from(Response.StatusType status,
                                       String reason)


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.