public class SampleContainerHandler extends Object
| Constructor and Description |
|---|
SampleContainerHandler(JsonDbOpensocialService dbService,
HttpFetcher fetcher) |
| Modifier and Type | Method and Description |
|---|---|
Future<?> |
create(RequestItem request)
Handles /samplecontainer/setstate and /samplecontainer/setevilness/{doevil}.
|
Future<?> |
get(RequestItem request)
Handles /samplecontainer/dumpstate
|
Future<?> |
update(RequestItem request)
We don't distinguish between put and post for these urls.
|
@Inject public SampleContainerHandler(JsonDbOpensocialService dbService, HttpFetcher fetcher)
public Future<?> update(RequestItem request) throws ProtocolException
ProtocolExceptionpublic Future<?> create(RequestItem request) throws ProtocolException
ProtocolExceptionpublic Future<?> get(RequestItem request)
Copyright © 2007-2012. All Rights Reserved.