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 String
HTTP_CONTEXT_PATH_KEY
static String
HTTP_SERVER_KEY
static String
VHOSTS_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addOutPacket(tigase.server.Packet packet)
boolean
addOutPacket(tigase.server.Packet packet, Integer timeout, PacketWriter.Callback callback)
tigase.db.AuthRepository
getAuthRepository()
String
getDescription()
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[]
getFeatures()
tigase.xmpp.jid.JID
getJid()
String
getName()
tigase.db.UserRepository
getUserRepository()
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()
-
-
-
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()
-
-