|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.WebMacros.StdWebMacro
com.planet_ink.coffee_mud.WebMacros.AreaXML
public class AreaXML
| Constructor Summary | |
|---|---|
AreaXML()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFilename(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
java.lang.String filename)
|
protected Area |
getLoggedArea(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
MOB mob)
|
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(). |
| Methods inherited from class com.planet_ink.coffee_mud.WebMacros.StdWebMacro |
|---|
clearWebMacros, clearWebMacros, colorwebifyOnly, compareTo, copyOf, getHTTPFileData, grabFile, helpHelp, helpHelp, helpHelp, htmlIncomingFilter, htmlIncomingFilter, htmlOutgoingFilter, htmlOutgoingFilter, ID, initializeClass, isAdminMacro, L, newInstance, parseOrderedParms, parseParms, parseParms, safeIncomingfilter, webify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AreaXML()
| Method Detail |
|---|
public java.lang.String name()
WebMacro
name in interface CMObjectname in interface WebMacroname in class StdWebMacroEnvironmental.Name()public boolean isAWebPath()
WebMacro
isAWebPath in interface WebMacroisAWebPath in class StdWebMacropublic boolean preferBinary()
WebMacro
preferBinary in interface WebMacropreferBinary in class StdWebMacroWebMacro.runBinaryMacro(HTTPRequest, String, HTTPResponse),
WebMacro.runMacro(HTTPRequest, String, HTTPResponse)
public java.lang.String getFilename(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
java.lang.String filename)
protected Area getLoggedArea(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
MOB mob)
public byte[] runBinaryMacro(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
java.lang.String parm,
com.planet_ink.coffee_web.interfaces.HTTPResponse httpResp)
throws HTTPServerException
WebMacro
runBinaryMacro in interface WebMacrorunBinaryMacro in class StdWebMacrohttpReq - the external requests objectparm - any parameter strings given to the macrohttpResp - the response, with headers
HTTPServerException - a http error to pass to the userWebMacro.preferBinary(),
HTTPRequest
public 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
WebMacro
runMacro in interface WebMacrorunMacro in class StdWebMacrohttpReq - the external requests objectparm - any parameter strings given to the macrohttpResp - the response, with headers
HTTPServerException - a http error to pass to the userWebMacro.preferBinary(),
HTTPRequest
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||