Package org.jclouds.http.functions
Class ReturnTrueIf201
java.lang.Object
org.jclouds.http.functions.ReturnTrueIf201
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,
,Boolean> 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 Details
-
ReturnTrueIf201
public ReturnTrueIf201()
-
-
Method Details
-
apply
- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,
Boolean> - Specified by:
apply
in interfaceFunction<HttpResponse,
Boolean>
-