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 java.lang.Object

Author:
Bogdan Stefanescu

Constructor Summary
ResponseHelper()
           
 
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
 

Constructor Detail

ResponseHelper

public ResponseHelper()
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(java.util.List<Blob> blobs)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.