public final class LocksRs extends BaseRs
| Constructor and Description |
|---|
LocksRs() |
| Modifier and Type | Method and Description |
|---|---|
Response |
index()
Get entrance page JAX-RS response.
|
Response |
lock(String name,
String label)
Lock.
|
void |
unlock(String name,
String label)
Unlock.
|
auth, base, flash, menu, supplementary, token, user, versionpublic Response index() throws Exception
Exception - If some problem insidepublic Response lock(String name, String label) throws IOException
name - Name of the locklabel - LabelIOException - If fails due to IO problempublic void unlock(String name, String label) throws IOException
name - Name of the locklabel - Optional labelIOException - If failsCopyright © 2014–2015 teamed.io. All rights reserved.