org.drools.guvnor.server
Class GuvnorAPIServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.drools.guvnor.server.GuvnorAPIServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class GuvnorAPIServlet
- extends javax.servlet.http.HttpServlet
A servlet opening an API into the Guvnor services.
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuvnorAPIServlet
public GuvnorAPIServlet()
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
service
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
deserialize
public static String deserialize(String deserializeUrl,
String modelXml)
throws IOException
- Throws:
IOException
extract
public static Map<String,String[]> extract(String json)
throws Exception
- Throws:
Exception
inject
public static String inject(String json,
Map<String,String> constraints)
throws Exception
- Throws:
Exception
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.