RequestHandler.java 503 B

1234567891011121314
  1. package com.serotonin.cdc.messaging;
  2. public interface RequestHandler {
  3. /**
  4. * Handle the request and return the appropriate response object.
  5. *
  6. * @param request
  7. * the request to handle
  8. * @return the response object or null if no response is to be sent. null may also be returned if the request is
  9. * handled asynchronously.
  10. * @throws Exception
  11. */
  12. OutgoingResponseMessage handleRequest(IncomingRequestMessage request) throws Exception;
  13. }