com.heroku.api.request.app
Class AppExists
java.lang.Object
com.heroku.api.request.RequestTransformation<App,Boolean>
com.heroku.api.request.app.AppExists
- All Implemented Interfaces:
- Request<Boolean>
public class AppExists
- extends RequestTransformation<App,Boolean>
Determines if an app with a given name exists on Heroku.
A true response does not necessarily indicate the user has access to the app.
- Author:
- Ryan Brainard
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppExists
public AppExists(String name)
getResponse
public Boolean getResponse(byte[] data,
int code)
- Description copied from interface:
Request
- Response handler.
- Specified by:
getResponse in interface Request<Boolean>- Specified by:
getResponse in class RequestTransformation<App,Boolean>
- Parameters:
data - Data returned from the request.code - HTTP status code.
- Returns:
- The type
T as specified by an individual request.
Copyright © 2012. All Rights Reserved.