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 javax.ws.rs.core.Response.StatusType from(int code)
           
static javax.ws.rs.core.Response.StatusType from(int code, String reason)
           
static javax.ws.rs.core.Response.StatusType from(javax.ws.rs.core.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 javax.ws.rs.core.Response.StatusType from(int code)

from

public static javax.ws.rs.core.Response.StatusType from(int code,
                                                        String reason)

from

public static javax.ws.rs.core.Response.StatusType from(javax.ws.rs.core.Response.StatusType status,
                                                        String reason)


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