Class RegistrationController
java.lang.Object
io.github.navjotsrakhra.eventmanager.controller.RegistrationController
The RegistrationController class handles HTTP requests related to user registration.
-
Constructor Summary
ConstructorsConstructorDescriptionRegistrationController(UserRegistrationService userRegistrationService) Constructor for the RegistrationController class. -
Method Summary
Modifier and TypeMethodDescriptionregister(RegistrationFormDTO registrationFormDTO) Handles POST requests for the "/register" URL to register a new user.org.springframework.http.ResponseEntity<String> Handles exceptions related to a username already being taken.
-
Constructor Details
-
Method Details