Package tigase.http.modules
Interface Module
- All Superinterfaces:
tigase.stats.StatisticHolder
- All Known Implementing Classes:
AbstractBareModule,AbstractModule,AdminModule,DnsWebServiceModule,IndexModule,RestModule,ServerInfoModule,SetupModeRedirectModule,SetupModule,UIModule,UserStatusEndpointModule,WebModule,WellKnownModule
public interface Module
extends tigase.stats.StatisticHolder
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddOutPacket(tigase.server.Packet packet) booleanaddOutPacket(tigase.server.Packet packet, Integer timeout, PacketWriter.Callback callback) tigase.db.AuthRepositorytigase.xml.ElementgetDiscoInfo(String node, boolean isAdmin) List<tigase.xml.Element>getDiscoItems(String node, tigase.xmpp.jid.JID jid, tigase.xmpp.jid.JID from) String[]tigase.xmpp.jid.JIDgetJid()getName()tigase.db.UserRepositoryvoidinit(tigase.xmpp.jid.JID jid, String componentName, PacketWriter writer) voidinitBindings(Bindings binds) booleanisAdmin(tigase.xmpp.jid.BareJID user) booleanisRequestAllowed(String key, String domain, String path) booleanprocessPacket(tigase.server.Packet packet) voidstart()voidstop()Methods inherited from interface tigase.stats.StatisticHolder
everyHour, everyMinute, everySecond, getStatistics, setStatisticsPrefix, statisticExecutedIn
-
Field Details
-
VHOSTS_KEY
- See Also:
-
HTTP_SERVER_KEY
- See Also:
-
HTTP_CONTEXT_PATH_KEY
- See Also:
-
-
Method Details
-
getName
String getName() -
getDescription
String getDescription() -
getDiscoInfo
-
getDiscoItems
-
getJid
tigase.xmpp.jid.JID getJid() -
addOutPacket
boolean addOutPacket(tigase.server.Packet packet) -
addOutPacket
-
getFeatures
String[] getFeatures() -
initBindings
-
processPacket
boolean processPacket(tigase.server.Packet packet) -
init
-
isRequestAllowed
-
isAdmin
boolean isAdmin(tigase.xmpp.jid.BareJID user) -
start
void start() -
stop
void stop() -
getUserRepository
tigase.db.UserRepository getUserRepository() -
getAuthRepository
tigase.db.AuthRepository getAuthRepository()
-