org.jclouds.http.functions
Class ReturnTrueIf201

java.lang.Object
  extended by org.jclouds.http.functions.ReturnTrueIf201
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,Boolean>

@Singleton
public class ReturnTrueIf201
extends Object
implements com.google.common.base.Function<HttpResponse,Boolean>

Parses the status code of an HTTPResponse and returns True if it is 201. False otherwise.


Constructor Summary
ReturnTrueIf201()
           
 
Method Summary
 Boolean apply(HttpResponse 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

ReturnTrueIf201

public ReturnTrueIf201()
Method Detail

apply

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


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.