org.apache.clerezza.triaxrs
Class ProcessableResponse
java.lang.Object
javax.ws.rs.core.Response
org.apache.clerezza.jaxrs.extensions.MethodResponse
org.apache.clerezza.triaxrs.ProcessableResponse
public class ProcessableResponse
- extends org.apache.clerezza.jaxrs.extensions.MethodResponse
Keeps all information needed to process a response
- Author:
- mir
| Nested classes/interfaces inherited from class javax.ws.rs.core.Response |
javax.ws.rs.core.Response.ResponseBuilder, javax.ws.rs.core.Response.Status |
| 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, temporaryRedirect |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createProcessableResponse
public static ProcessableResponse createProcessableResponse(Object methodReturnValue,
Annotation[] annotations,
Set<javax.ws.rs.core.MediaType> methodProducibleTypes,
Type genericMethodReturnType,
Method invokedMethod)
getAnnotations
public Annotation[] getAnnotations()
getMethodProducibleTypes
public Set<javax.ws.rs.core.MediaType> getMethodProducibleTypes()
getEntity
public 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<String,Object> getMetadata()
- Specified by:
getMetadata in class javax.ws.rs.core.Response
getGeneratingMethod
public Method getGeneratingMethod()
- Specified by:
getGeneratingMethod in class org.apache.clerezza.jaxrs.extensions.MethodResponse
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.