Class DefaultInboundRequestService

    • Constructor Detail

      • DefaultInboundRequestService

        public DefaultInboundRequestService()
    • Method Detail

      • register

        public void register​(java.util.List<RequestBatchEntity> requests,
                             java.util.List<ResponseChangeSetEntity> responses,
                             java.util.List<InboundRequestMediaModel> medias)
        Description copied from interface: InboundRequestService
        Collects entities contained in the incoming request and the corresponding response, turns them into InboundRequest and persists them.
        Specified by:
        register in interface InboundRequestService
        Parameters:
        requests - information pertaining the inbound requests extracted from the requests.
        responses - information pertaining the inbound requests extracted from the responses.
        medias - request bodies for all entities contained in a request.
      • register

        public void register​(java.util.List<RequestBatchEntity> requests,
                             java.util.List<ResponseChangeSetEntity> responses,
                             java.util.List<InboundRequestMediaModel> medias,
                             HttpMethod httpMethod)
        Description copied from interface: InboundRequestService
        Collects entities contained in the incoming request and the corresponding response, turns them into InboundRequest and persists them.
        Specified by:
        register in interface InboundRequestService
        Parameters:
        requests - information pertaining the inbound requests extracted from the requests.
        responses - information pertaining the inbound requests extracted from the responses.
        medias - request bodies for all entities contained in a request.
        httpMethod - HTTP method used to make the request
      • getModelService

        protected ModelService getModelService()
      • setModelService

        public void setModelService​(ModelService modelService)