Class DefaultAnswerController

    • Method Detail

      • setWarningThreshold

        public void setWarningThreshold​(long warningThreshold)
      • getState

        public org.springframework.http.ResponseEntity<io.dialob.api.proto.Actions> getState​(String sessionId)
        Specified by:
        getState in interface AnswerController
      • answers

        public org.springframework.http.ResponseEntity<io.dialob.api.proto.Actions> answers​(@NonNull
                                                                                            String sessionId,
                                                                                            io.dialob.api.proto.Actions actions)
        Specified by:
        answers in interface AnswerController
      • createQuestionnaireNotFoundResponse

        protected org.springframework.http.ResponseEntity<io.dialob.api.proto.Actions> createQuestionnaireNotFoundResponse​(String sessionId,
                                                                                                                           io.dialob.db.spi.exceptions.DocumentNotFoundException e)