public class WebSock extends StdWebMacro
| Modifier and Type | Field | Description |
|---|---|---|
static java.util.List<com.planet_ink.coffee_mud.WebMacros.WebSock.WebSockHandler> |
handlers |
|
protected boolean |
initialized |
idConverter| Constructor | Description |
|---|---|
WebSock() |
| 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 |
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, waitclearWebMacros, clearWebMacros, colorwebifyOnly, compareTo, copyOf, getHTTPFileData, grabFile, helpHelp, helpHelp, htmlIncomingFilter, htmlIncomingFilter, htmlOutgoingFilter, htmlOutgoingFilter, ID, initializeClass, isAdminMacro, L, newInstance, parseOrderedParms, parseParms, parseParms, preferBinary, runBinaryMacro, safeIncomingfilter, webify, webifyprotected boolean initialized
public static final java.util.List<com.planet_ink.coffee_mud.WebMacros.WebSock.WebSockHandler> handlers
public java.lang.String name()
WebMacroname in interface CMObjectname in interface WebMacroname in class StdWebMacroEnvironmental.Name()public boolean isAWebPath()
WebMacroisAWebPath in interface WebMacroisAWebPath in class StdWebMacroprotected void initialize()
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
WebMacrorunMacro in interface WebMacrorunMacro in class StdWebMacrohttpReq - 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