public final class IndexRs extends BaseRs
The class is mutable and NOT thread-safe.
| Constructor and Description |
|---|
IndexRs() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(String host,
String key,
String secret)
Add new domain.
|
javax.ws.rs.core.Response |
index()
Get list of all my domains.
|
javax.ws.rs.core.Response |
remove(String host)
Delete existing domain.
|
hosts, render, render, setCookie, setFlash, setServletContext, userpublic javax.ws.rs.core.Response index()
throws IOException
IOException - If some IO problem insidepublic javax.ws.rs.core.Response add(String host, String key, String secret) throws IOException
host - The host namekey - AWS keysecret - AWS secretIOException - If some IO problem insidepublic javax.ws.rs.core.Response remove(String host) throws IOException
host - The host nameIOException - If some IO problem insideCopyright © 2012 s3auth.com. All Rights Reserved.