Class TypedFunctionExecutor
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.google.cloud.functions.invoker.TypedFunctionExecutor
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class TypedFunctionExecutor extends javax.servlet.http.HttpServlet- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypedFunctionExecutorforClass(Class<?> functionClass)voidservice(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)Executes the user's method, can handle all HTTP type methods.-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Method Detail
-
forClass
public static TypedFunctionExecutor forClass(Class<?> functionClass)
-
service
public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)Executes the user's method, can handle all HTTP type methods.- Overrides:
servicein classjavax.servlet.http.HttpServlet
-
-