Package tigase.http.modules
Class UserStatusEndpointModule
java.lang.Object
tigase.http.AbstractHttpModule
tigase.http.modules.AbstractBareModule
tigase.http.modules.UserStatusEndpointModule
- All Implemented Interfaces:
Module,tigase.kernel.beans.config.ConfigurationChangedAware,tigase.kernel.beans.Initializable,tigase.kernel.beans.RegistrarBean,tigase.kernel.beans.UnregisterAware,tigase.stats.StatisticHolder
@Bean(name="user-status-endpoint",
parent=HttpMessageReceiver.class,
active=true)
@ConfigType({DefaultMode,SessionManagerMode,ConnectionManagersMode,ComponentMode})
public class UserStatusEndpointModule
extends AbstractBareModule
-
Field Summary
Fields inherited from class tigase.http.modules.AbstractBareModule
commandManager, nameFields inherited from class tigase.http.AbstractHttpModule
contextPath, httpServer, uuid, vhostsFields inherited from interface tigase.http.modules.Module
HTTP_CONTEXT_PATH_KEY, HTTP_SERVER_KEY, VHOSTS_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontigase.db.AuthRepositorytigase.db.UserRepositorybooleanisRequestAllowed(String key, String domain, String path) booleanprocessPacket(tigase.server.Packet packet) Methods inherited from class tigase.http.modules.AbstractBareModule
addOutPacket, addOutPacket, everyHour, everyMinute, everySecond, executedIn, getComponentName, getDiscoInfo, getDiscoItems, getFeatures, getJid, getModuleByUUID, getName, getStatistics, init, initBindings, initialize, isAdmin, setName, setStatisticsPrefix, start, statisticExecutedIn, stopMethods inherited from class tigase.http.AbstractHttpModule
beanConfigurationChanged, beforeUnregister, getKernel, register, unregisterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tigase.kernel.beans.config.ConfigurationChangedAware
beanConfigurationChangedMethods inherited from interface tigase.kernel.beans.UnregisterAware
beforeUnregister
-
Constructor Details
-
UserStatusEndpointModule
public UserStatusEndpointModule()
-
-
Method Details
-
getDescription
-
isRequestAllowed
-
getUserRepository
public tigase.db.UserRepository getUserRepository() -
getAuthRepository
public tigase.db.AuthRepository getAuthRepository() -
processPacket
public boolean processPacket(tigase.server.Packet packet) - Specified by:
processPacketin interfaceModule- Overrides:
processPacketin classAbstractBareModule
-