Class BranchingHttpRequestService

    • Constructor Detail

      • BranchingHttpRequestService

        public BranchingHttpRequestService()
      • BranchingHttpRequestService

        public BranchingHttpRequestService​(java.lang.String url)
    • Method Detail

      • doService

        public void doService​(AdaptrisMessage msg)
                       throws ServiceException
        Description copied from interface: Service

        Apply the service to the message.

        Parameters:
        msg - the AdaptrisMessage to process
        Throws:
        ServiceException - wrapping any underlying Exceptions
      • getStatusMatches

        @NotNull
        @NonNull
        public @NotNull @NonNull java.util.List<StatusEvaluator> getStatusMatches()
        Set the nextServiceId based on these evaluators.
      • setStatusMatches

        public void setStatusMatches​(@NotNull @NonNull
                                     @NotNull @NonNull java.util.List<StatusEvaluator> statusMatches)
        Set the nextServiceId based on these evaluators.
      • getDefaultServiceId

        public java.lang.String getDefaultServiceId()
        Set the default service-id in the event that no matches are found (optional).
      • setDefaultServiceId

        public void setDefaultServiceId​(java.lang.String defaultServiceId)
        Set the default service-id in the event that no matches are found (optional).