Add serverside CHECK_NICK-command #231

Merged
lars.winzer merged 12 commits from feat/39-add-serverside-check-nick-command into main 2026-04-02 15:10:29 +02:00
lars.winzer commented 2026-04-02 15:09:05 +02:00 (Migrated from git.scicore.unibas.ch)

Added the CheckUsernameRequest containing the username to check for.

Added the CheckUsernameParser to parse the PrimitiveRequest into the CheckUsernameRequest while using the RequestParameterAccessor to access the required USERNAME parameter.

Added the UsernameAvailabilty package-private enum to contain the possible two states for the availability (FREE and TAKEN).

Added the CheckUsernameResponse using the ResponseBodyBuilder to build the body of the response.

Added the CheckUsernameHandler to execute the request and check if the requested username is available or not.

Closes #39

Involved #46, #47

Added the `CheckUsernameRequest` containing the username to check for. Added the `CheckUsernameParser` to parse the `PrimitiveRequest` into the `CheckUsernameRequest` while using the `RequestParameterAccessor` to access the required _USERNAME_ parameter. Added the `UsernameAvailabilty` package-private enum to contain the possible two states for the availability (`FREE` and `TAKEN`). Added the `CheckUsernameResponse` using the `ResponseBodyBuilder` to build the body of the response. Added the `CheckUsernameHandler` to execute the request and check if the requested username is available or not. Closes #39 Involved #46, #47
lars.winzer (Migrated from git.scicore.unibas.ch) scheduled this pull request to auto merge when all checks succeed 2026-04-02 15:09:24 +02:00
lars.winzer commented 2026-04-02 15:10:29 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 5568c8a073

mentioned in commit 5568c8a073aeb986bfc8c204db4e250ba0ab6d40
lars.winzer (Migrated from git.scicore.unibas.ch) merged commit 5568c8a073 into main 2026-04-02 15:10:29 +02:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#231