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 Type
    Method
    Description
    deserialize(HttpRequest request, Type type)
    Deserialize is expected to read an object of Type from the HttpRequest.
    void
    serialize(Object object, HttpResponse response)
    Serialize is expected to encode the object to the provided HttpResponse.