public class HttpFunctionProvider extends java.lang.Object implements StatefulFunctionProvider
Constructor and Description |
---|
HttpFunctionProvider(java.util.Map<FunctionType,HttpFunctionSpec> supportedTypes) |
Modifier and Type | Method and Description |
---|---|
RequestReplyFunction |
functionOfType(FunctionType type)
Creates a
StatefulFunction instance for the given FunctionType , |
public HttpFunctionProvider(java.util.Map<FunctionType,HttpFunctionSpec> supportedTypes)
public RequestReplyFunction functionOfType(FunctionType type)
StatefulFunctionProvider
StatefulFunction
instance for the given FunctionType
,functionOfType
in interface StatefulFunctionProvider
type
- the type of function to create an instance for.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.