org.nuxeo.ecm.automation.server.jaxrs
Class ResponseHelper
java.lang.Object
org.nuxeo.ecm.automation.server.jaxrs.ResponseHelper
public class ResponseHelper
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Method Summary |
static javax.ws.rs.core.Response |
blob(Blob blob)
|
static javax.ws.rs.core.Response |
blobs(java.util.List<Blob> blobs)
|
static javax.ws.rs.core.Response |
emptyContent()
|
static javax.ws.rs.core.Response |
notAllowed()
|
static javax.ws.rs.core.Response |
notFound()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponseHelper
public ResponseHelper()
notFound
public static javax.ws.rs.core.Response notFound()
emptyContent
public static javax.ws.rs.core.Response emptyContent()
notAllowed
public static javax.ws.rs.core.Response notAllowed()
blob
public static javax.ws.rs.core.Response blob(Blob blob)
blobs
public static javax.ws.rs.core.Response blobs(java.util.List<Blob> blobs)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.