public class SipletInterface extends StdWebMacro
Modifier and Type | Class | Description |
---|---|---|
static class |
SipletInterface.WSState |
Modifier and Type | Field | Description |
---|---|---|
static boolean |
initialized |
|
static java.lang.Object |
sipletConnectSync |
|
static java.util.Map<java.lang.String,com.planet_ink.coffee_mud.WebMacros.SipletInterface.SipletSession> |
siplets |
idConverter
Constructor | Description |
---|---|
SipletInterface() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
initialize() |
|
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
|
java.lang.String |
processRequest(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq,
com.planet_ink.coffee_mud.WebMacros.SipletInterface.SipletProtocolHander handler) |
|
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().
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearWebMacros, clearWebMacros, colorwebifyOnly, compareTo, copyOf, getHTTPFileData, grabFile, helpHelp, helpHelp, htmlIncomingFilter, htmlIncomingFilter, htmlOutgoingFilter, htmlOutgoingFilter, ID, initializeClass, isAdminMacro, L, newInstance, parseOrderedParms, parseParms, parseParms, preferBinary, runBinaryMacro, safeIncomingfilter, webify, webify
public static final java.lang.Object sipletConnectSync
public static volatile boolean initialized
public static final java.util.Map<java.lang.String,com.planet_ink.coffee_mud.WebMacros.SipletInterface.SipletSession> siplets
public java.lang.String name()
WebMacro
name
in interface CMObject
name
in interface WebMacro
name
in class StdWebMacro
Environmental.Name()
public boolean isAWebPath()
WebMacro
isAWebPath
in interface WebMacro
isAWebPath
in class StdWebMacro
protected void initialize()
public java.lang.String processRequest(com.planet_ink.coffee_web.interfaces.HTTPRequest httpReq, com.planet_ink.coffee_mud.WebMacros.SipletInterface.SipletProtocolHander handler)
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 WebMacro
runMacro
in class StdWebMacro
httpReq
- the external requests objectparm
- any parameter strings given to the macrohttpResp
- the response, with headersHTTPServerException
- a http error to pass to the userWebMacro.preferBinary()
,
HTTPRequest