com.konakart.json
Class KKJSONServer
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.konakart.json.KKJSONServer
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class KKJSONServer
- extends javax.servlet.http.HttpServlet
KonaKart JSON Server for the Application Engine. This is defined to be started in the web.xml of
the konakart webapp.
- See Also:
- Serialized Form
|
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
KKJSONServer
public KKJSONServer()
throws KKException
- Throws:
KKException
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class javax.servlet.GenericServlet
- Parameters:
config -
- Throws:
javax.servlet.ServletException
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Overrides:
doPost in class javax.servlet.http.HttpServlet
destroy
public void destroy()
- Specified by:
destroy in interface javax.servlet.Servlet- Overrides:
destroy in class javax.servlet.GenericServlet
isJsonEnabled
public boolean isJsonEnabled()
- Returns:
- the jsonEnabled
setJsonEnabled
public void setJsonEnabled(boolean jsonEnabled)
- Parameters:
jsonEnabled - the jsonEnabled to set
getEngRemote
protected static KKJSONEngServerIf getEngRemote()
- Returns:
- the engRemote
setEngRemote
protected static void setEngRemote(KKJSONEngServerIf engRemote)
- Parameters:
engRemote - the engRemote to set
getMapper
public static org.codehaus.jackson.map.ObjectMapper getMapper()
- Returns:
- the mapper
Copyright © 2011 DS Data Systems UK Ltd.