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, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final String TEST_USER
public void init()
init
in class javax.servlet.GenericServlet
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public String getDevelopmentUser()
public HashtagsWrapper getHashtags()
getHashtags
in interface TopicService
Copyright © 2016. All Rights Reserved.