com.sun.jersey.core.spi.factory
Class ResponseImpl

java.lang.Object
  extended by javax.ws.rs.core.Response
      extended by com.sun.jersey.core.spi.factory.ResponseImpl

public final class ResponseImpl
extends javax.ws.rs.core.Response

An implementation of Response.

Author:
Paul.Sandoz@Sun.Com

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.ws.rs.core.Response
javax.ws.rs.core.Response.ResponseBuilder, javax.ws.rs.core.Response.Status, javax.ws.rs.core.Response.StatusType
 
Method Summary
 java.lang.Object getEntity()
           
 java.lang.reflect.Type getEntityType()
           
 javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> getMetadata()
           
 java.util.List<java.lang.Object> getNameValuePairs()
           
 int getStatus()
           
 java.lang.Object[] getValues()
           
 boolean isMetatadataSet()
           
 
Methods inherited from class javax.ws.rs.core.Response
created, fromResponse, noContent, notAcceptable, notModified, notModified, notModified, ok, ok, ok, ok, ok, seeOther, serverError, status, status, status, temporaryRedirect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValues

public java.lang.Object[] getValues()

getNameValuePairs

public java.util.List<java.lang.Object> getNameValuePairs()

getEntityType

public java.lang.reflect.Type getEntityType()

isMetatadataSet

public boolean isMetatadataSet()

getEntity

public java.lang.Object getEntity()
Specified by:
getEntity in class javax.ws.rs.core.Response

getStatus

public int getStatus()
Specified by:
getStatus in class javax.ws.rs.core.Response

getMetadata

public javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> getMetadata()
Specified by:
getMetadata in class javax.ws.rs.core.Response


Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.