Class QuestionController
java.lang.Object
com.amos2020.javabackend.rest_service.controller.QuestionController
@Service
public class QuestionController
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description (package private) QuestionServicequestionService -
Constructor Summary
Constructors Constructor Description QuestionController(QuestionService questionService) -
Method Summary
Modifier and Type Method Description BasicQuestionResponsegetInterviewById(int questionId)Get a specific question by an id
-
Field Details
-
Constructor Details
-
Method Details
-
getInterviewById
Get a specific question by an id- Parameters:
questionId- int- Returns:
- Question or Exception
- Throws:
javassist.NotFoundException- if question does not exist
-