public class ExampleController extends Object
| Constructor and Description |
|---|
ExampleController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColor(String userId,
boolean normalize)
Retrieves the stored color for a particular user.
|
String |
postExample(int value)
Simply adds the value provided via the query parameter to a running total.
|
String |
setColor(String userId,
String value)
Stores the color for a particular user
|
public String postExample(int value)
value - Value to be added to a running total.public String getColor(String userId, boolean normalize)
userId - user id of the user.normalize - Determines whether the result will be standardizedCopyright © 2013-2015 Calrissian. All Rights Reserved.