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
public interface Module extends tigase.stats.StatisticHolder
-
-
Field Summary
Fields Modifier and Type Field Description static StringHTTP_CONTEXT_PATH_KEYstatic StringHTTP_SERVER_KEYstatic StringVHOSTS_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddOutPacket(tigase.server.Packet packet)booleanaddOutPacket(tigase.server.Packet packet, Integer timeout, PacketWriter.Callback callback)tigase.db.AuthRepositorygetAuthRepository()StringgetDescription()tigase.xml.ElementgetDiscoInfo(String node, boolean isAdmin)List<tigase.xml.Element>getDiscoItems(String node, tigase.xmpp.jid.JID jid, tigase.xmpp.jid.JID from)String[]getFeatures()tigase.xmpp.jid.JIDgetJid()StringgetName()tigase.db.UserRepositorygetUserRepository()voidinit(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()
-
-
-
Field Detail
-
VHOSTS_KEY
static final String VHOSTS_KEY
- See Also:
- Constant Field Values
-
HTTP_SERVER_KEY
static final String HTTP_SERVER_KEY
- See Also:
- Constant Field Values
-
HTTP_CONTEXT_PATH_KEY
static final String HTTP_CONTEXT_PATH_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
String getName()
-
getDescription
String getDescription()
-
getDiscoInfo
tigase.xml.Element getDiscoInfo(String node, boolean isAdmin)
-
getDiscoItems
List<tigase.xml.Element> getDiscoItems(String node, tigase.xmpp.jid.JID jid, tigase.xmpp.jid.JID from)
-
getJid
tigase.xmpp.jid.JID getJid()
-
addOutPacket
boolean addOutPacket(tigase.server.Packet packet)
-
addOutPacket
boolean addOutPacket(tigase.server.Packet packet, Integer timeout, PacketWriter.Callback callback)
-
getFeatures
String[] getFeatures()
-
initBindings
void initBindings(Bindings binds)
-
processPacket
boolean processPacket(tigase.server.Packet packet)
-
init
void init(tigase.xmpp.jid.JID jid, String componentName, PacketWriter writer)
-
isAdmin
boolean isAdmin(tigase.xmpp.jid.BareJID user)
-
start
void start()
-
stop
void stop()
-
getUserRepository
tigase.db.UserRepository getUserRepository()
-
getAuthRepository
tigase.db.AuthRepository getAuthRepository()
-
-