public class TopicServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements TopicService
| Constructor and Description |
|---|
TopicServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
String |
getDevelopmentUser()
when packaging test will fail if the user is not set to test.user
|
HashtagsWrapper |
getHashtags()
return the top 10 hashtag with max occurrence
|
void |
init()
connect to cassandra at startup
|
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String TEST_USER
public void init()
init in class javax.servlet.GenericServletpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletpublic String getDevelopmentUser()
public HashtagsWrapper getHashtags()
getHashtags in interface TopicServiceCopyright © 2015. All Rights Reserved.