Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.automation.server.jaxrs
Class ResponseHelper

java.lang.Object
  extended by org.nuxeo.ecm.automation.server.jaxrs.ResponseHelper

public class ResponseHelper
extends Object

Author:
Bogdan Stefanescu

Method Summary
static javax.ws.rs.core.Response blob(Blob blob)
           
static javax.ws.rs.core.Response blobs(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
 

Method Detail

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(List<Blob> blobs)
                                       throws Exception
Throws:
Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.