public final class CounterRs extends BaseRs
Constructor and Description |
---|
CounterRs() |
Modifier and Type | Method and Description |
---|---|
Response |
increment(String value)
Add counter.
|
Response |
set(String value)
Set counter.
|
void |
setCounter(String name)
Set counter.
|
auth, base, flash, menu, supplementary, token, user, version
public void setCounter(String name)
name
- Counter namepublic Response set(String value) throws IOException
value
- Value to setIOException
- If fails due to IO problempublic Response increment(String value) throws IOException
value
- Value to addIOException
- If fails due to IO problemCopyright © 2014–2015 teamed.io. All rights reserved.