org.apache.shindig.sample.container
Class SampleContainerHandler
java.lang.Object
org.apache.shindig.sample.container.SampleContainerHandler
public class SampleContainerHandler
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleContainerHandler
@Inject
public SampleContainerHandler(JsonDbOpensocialService dbService,
HttpFetcher fetcher)
update
public Future<?> update(RequestItem request)
throws ProtocolException
- We don't distinguish between put and post for these urls.
- Throws:
ProtocolException
create
public Future<?> create(RequestItem request)
throws ProtocolException
- Handles /samplecontainer/setstate and /samplecontainer/setevilness/{doevil}. TODO(doll): These
urls aren't very resty. Consider changing the samplecontainer.html calls post.
- Throws:
ProtocolException
get
public Future<?> get(RequestItem request)
- Handles /samplecontainer/dumpstate
Copyright © 2007-2012. All Rights Reserved.