Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which Spring annotation can be used to expose a controller as REST API?
Home
Spring Boot
Spring Framework Database Integration
Which Spring annotation can be used to expose a controller as REST API?
+1
vote
asked
Jan 10, 2022
in
Spring Framework Database Integration
by
rajeshsharma
Which Spring annotation can be used to expose a controller as REST API?
Select the correct answer from below options:
a) @Controller
b) None of the options
c) @RestAPIController
d) @RestController
rest-api
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 10, 2022
by
rajeshsharma
@RestController
Spring annotation can be used to expose a controller as REST API
Related questions
0
votes
Q: Do we have any Web Interface/ Rest API etc for this
asked
Nov 5, 2019
in
Ansible
by
Robin
rest-api
0
votes
Q: @RequestMapping annotation is used to map a HTTP request method (GET or POST) to a specific class or method in the controller which will handle the respective request.
asked
Mar 1, 2020
in
Spring Framework Database Integration
by
SakshiSharma
#@requestmapping-annotation
gradle-questions-answers
spring-boot
0
votes
Q: What is the Starter that can be used to add spring boot dependency jars for a spring boot application?
asked
Mar 1, 2020
in
Spring Framework Database Integration
by
SakshiSharma
#spring-boot-starter
gradle-questions-answers
spring-boot-dependency
0
votes
Q: Spring boot Actuator can be used to view ___________
asked
Mar 1, 2020
in
Spring Framework Database Integration
by
SakshiSharma
#spring-boot
gradle-questions-answers
0
votes
Q: Which annotation is used to bind application properties to the class fields?
asked
Mar 21, 2022
in
Spring Framework Database Integration
by
sharadyadav1986
class-annotation
0
votes
Q: Which of the following layers the @Controller annotation is used in?
asked
Mar 1, 2020
in
Spring Framework Database Integration
by
SakshiSharma
#controller-annotation
gradle-questions-answers
0
votes
Q: The annotation used to import additional configuration classes is ___________
asked
Mar 21, 2022
in
Spring Framework Database Integration
by
sharadyadav1986
configuration-class
0
votes
Q: The annotation to be added to automatically configure beans based on the classes added to the class path is ____________
asked
Mar 1, 2020
in
Spring Framework Database Integration
by
SakshiSharma
#annotation-use
gradle-questions-answers
spring-boot
0
votes
Q: For which of the following criteria can Spring boot auto configuration be done?
asked
Mar 1, 2020
in
Spring Framework Database Integration
by
SakshiSharma
#spring-boot-configuration
gradle-questions-answers
+1
vote
Q: Which is the class that has to be autowired with the controller class for invoking processes?
asked
Jan 10, 2022
in
Spring Framework Database Integration
by
rajeshsharma
autowired-controller
...