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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addOutPacket
(tigase.server.Packet packet) boolean
addOutPacket
(tigase.server.Packet packet, Integer timeout, PacketWriter.Callback callback) tigase.db.AuthRepository
tigase.xml.Element
getDiscoInfo
(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.JID
getJid()
getName()
tigase.db.UserRepository
void
init
(tigase.xmpp.jid.JID jid, String componentName, PacketWriter writer) void
initBindings
(Bindings binds) boolean
isAdmin
(tigase.xmpp.jid.BareJID user) boolean
isRequestAllowed
(String key, String domain, String path) boolean
processPacket
(tigase.server.Packet packet) void
start()
void
stop()
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()
-