org.jclouds.deltacloud.functions
Class ReturnVoidOnRedirectedDelete

java.lang.Object
  extended by org.jclouds.deltacloud.functions.ReturnVoidOnRedirectedDelete
All Implemented Interfaces:
com.google.common.base.Function<Exception,Void>

@Singleton
public class ReturnVoidOnRedirectedDelete
extends Object
implements com.google.common.base.Function<Exception,Void>

When a delete operation is performed, Deltacloud returns 302.

Author:
Adrian Cole

Constructor Summary
ReturnVoidOnRedirectedDelete()
           
 
Method Summary
 Void apply(Exception from)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

ReturnVoidOnRedirectedDelete

public ReturnVoidOnRedirectedDelete()
Method Detail

apply

public Void apply(Exception from)
Specified by:
apply in interface com.google.common.base.Function<Exception,Void>


Copyright © 2009-2011 jclouds. All Rights Reserved.