AbilityAffectNext
, AbilityBlessingNext
, AbilityCursesNext
, AbilityData
, AbilityDomainNext
, AbilityGainReport
, AbilityID
, AbilityName
, AbilityNext
, AbilityPlayerNext
, AbilityPowersNext
, AbilityRaceNext
, AbilityRecipeData
, AbilityTypeNext
, AccountCreate
, AccountData
, AccountID
, AccountNext
, AccountOnline
, AccountPlayerNext
, AchievementData
, AchievementID
, AchievementNext
, AddFile
, AddRandomFile
, AddRandomFileFromDir
, AddRequestParameter
, AllQualifyData
, AllQualifyNext
, AreaChildNext
, AreaData
, AreaID
, AreaIDEncoded
, AreaItemNext
, AreaMobNext
, AreaName
, AreaNameEncoded
, AreaNext
, AreaScriptData
, AreaScriptKey
, AreaScriptNext
, AreaTbl
, AreaXML
, Authenticate
, AutoAwardData
, AutoAwardID
, AutoAwardNext
, AutoTitleData
, AutoTitleID
, AutoTitleNext
, BankAccountInfo
, BankChainName
, BankChainNext
, BanListMgr
, BaseCharClassName
, BaseCharClassNext
, BehaviorData
, BehaviorID
, BehaviorNext
, CatalogCatNext
, CatalogItemNext
, CatalogMobNext
, ChannelBackLogNext
, ChannelFunction
, ChannelInfo
, ChannelNext
, CharClassData
, CharClassID
, CharClassName
, CharClassNext
, CheckAuthCode
, CheckFactionLoaded
, CheckReqParm
, ChkReqParmBreak
, ClanData
, ClanGovernmentData
, ClanGovernmentID
, ClanGovernmentNext
, ClanID
, ClanNext
, ClassRaceNext
, CoffeeTableRows
, CommandJournalInfo
, CommandJournalNext
, ComponentData
, ComponentID
, ComponentNext
, ComponentPieceData
, ComponentPieceID
, ComponentPieceNext
, ControlPanel
, CrossBaseClassAbilities
, CrossClassAbilities
, DeityData
, DeityID
, DeityNext
, DelRequestParameter
, ExitData
, ExpertiseData
, ExpertiseID
, ExpertiseNext
, FactionData
, FactionID
, FactionName
, FactionNext
, FileData
, FileInfo
, FileMgr
, FileNext
, ForumInfo
, ForumJournalNext
, HelpTopics
, HolidayData
, HolidayID
, HolidayNext
, HTTPclientIP
, HTTPstatus
, HTTPstatusInfo
, ImageVerificationImage
, INIEntry
, INIModify
, INIValue
, IsAccountSystem
, IsDisabled
, IsExpirationSystem
, ItemData
, JournalFunction
, JournalInfo
, JournalMessageNext
, JournalName
, JournalNext
, LevelNext
, LevelNumber
, LogViewer
, MobData
, MUDGrinder
, MudInfo
, MUDServerPort
, MUDServerStatus
, MUDServerVersion
, NumPlayers
, PlanarData
, PlanarID
, PlaneNext
, PlayerData
, PlayerDelete
, PlayerID
, PlayerList
, PlayerNext
, PlayerOnline
, PlayerPortrait
, PollData
, PollID
, PollNext
, PostalBoxInfo
, PostOfficeBoxNext
, PostOfficeBranchNext
, PostOfficeName
, PostOfficeNext
, PrideStat
, QuestData
, QuestMaker
, QuestMgr
, QuestNext
, RaceCatNext
, RaceClassNext
, RaceData
, RaceID
, RaceName
, RaceNext
, RandomAreaTemplates
, RebuildReferenceDocs
, RequestParameter
, RequestParameterEncoded
, RequestParametersEncoded
, ResourceMgr
, RoomData
, RoomID
, RoomName
, RoomNext
, SipletInterface
, SocialData
, SocialID
, SocialNext
, SocialTbl
, StatRejuvCharts
, StdWebMacro
, SystemConfig
, SystemFunction
, SystemInfo
, ThinPlayerData
, TimsItemTable
, TriggerData
, TriggerNext
, Unsubscribe
, WebServerName
, WebServerPort
, WebServerVersion
, WebSock
, WhiteListMgr
public interface WebMacro extends CMObject
idConverter
Modifier and Type | Method | Description |
---|---|---|
boolean |
isAdminMacro() |
Whether this macro is restricted to the admin web server.
|
boolean |
isAWebPath() |
Whether this macro substitutes as an aspect of the web path instead of a
standard web macro.
|
java.lang.String |
name() |
The public name of this macro
|
boolean |
preferBinary() |
Whether the runMacro or runBinaryMacro executor should be called.
|
byte[] |
runBinaryMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
java.lang.String parm,
com.planet_ink.coffee_web.interfaces.HTTPResponse httpResp) |
This method is executed only if this macro returns true for
preferBinary().
|
java.lang.String |
runMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
java.lang.String parm,
com.planet_ink.coffee_web.interfaces.HTTPResponse httpResp) |
This method is executed only if this macro returns false for
preferBinary().
|
copyOf, ID, initializeClass, newInstance
java.lang.String name()
name
in interface CMObject
Environmental.Name()
boolean preferBinary()
runBinaryMacro(HTTPRequest, String, HTTPResponse)
,
runMacro(HTTPRequest, String, HTTPResponse)
boolean isAdminMacro()
boolean isAWebPath()
byte[] runBinaryMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq, java.lang.String parm, com.planet_ink.coffee_web.interfaces.HTTPResponse httpResp) throws HTTPServerException
httpReq
- the external requests objectparm
- any parameter strings given to the macrohttpResp
- the response, with headersHTTPServerException
- a http error to pass to the userpreferBinary()
,
HTTPRequest
java.lang.String runMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq, java.lang.String parm, com.planet_ink.coffee_web.interfaces.HTTPResponse httpResp) throws HTTPServerException
httpReq
- the external requests objectparm
- any parameter strings given to the macrohttpResp
- the response, with headersHTTPServerException
- a http error to pass to the userpreferBinary()
,
HTTPRequest