public class FunctionInvocationContext extends Object implements InvocationContext, FunctionInvocationCallback
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(InvocationListener listener) |
void |
addResponseHeader(String key,
String value) |
void |
fireOnFailedInvocation() |
void |
fireOnSuccessfulInvocation() |
Headers |
getRequestHeaders() |
FunctionRuntimeContext |
getRuntimeContext() |
void |
setResponseHeader(String key,
String value,
String... vs) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetResponseContentTypepublic FunctionRuntimeContext getRuntimeContext()
getRuntimeContext in interface InvocationContextpublic void addListener(InvocationListener listener)
addListener in interface InvocationContextpublic Headers getRequestHeaders()
getRequestHeaders in interface InvocationContextpublic void addResponseHeader(String key, String value)
addResponseHeader in interface InvocationContextpublic void setResponseHeader(String key, String value, String... vs)
setResponseHeader in interface InvocationContextpublic void fireOnSuccessfulInvocation()
fireOnSuccessfulInvocation in interface FunctionInvocationCallbackpublic void fireOnFailedInvocation()
fireOnFailedInvocation in interface FunctionInvocationCallbackCopyright © 2023. All rights reserved.