Package com.google.cloud.functions
Interface TypedFunction.WireFormat
- Enclosing interface:
- TypedFunction<RequestT,
ResponseT>
public static interface TypedFunction.WireFormat
Describes how to deserialize request object and serialize response objects for an HTTP
invocation.
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(HttpRequest request, Type type) Deserialize is expected to read an object ofTypefrom the HttpRequest.voidserialize(Object object, HttpResponse response) Serialize is expected to encode the object to the provided HttpResponse.