Interface ServiceResponseBuilder<T,S>

Type Parameters:
T - the ServiceServer responds to requests of this type
S - the ServiceServer returns responses of this type

public interface ServiceResponseBuilder<T,S>
Builds a service response given a service request.
Author:
damonkohler@google.com (Damon Kohler)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    build(T request, S response)
    Builds a service response given a service request.
  • Method Details

    • build

      void build(T request, S response) throws ServiceException
      Builds a service response given a service request.
      Parameters:
      request - the received request
      response - the response that will be sent
      Throws:
      ServiceException