Add serverside CHECK_NICK-command #231
Reference in New Issue
Block a user
Delete Branch "feat/39-add-serverside-check-nick-command"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added the
CheckUsernameRequestcontaining the username to check for.Added the
CheckUsernameParserto parse thePrimitiveRequestinto theCheckUsernameRequestwhile using theRequestParameterAccessorto access the required USERNAME parameter.Added the
UsernameAvailabiltypackage-private enum to contain the possible two states for the availability (FREEandTAKEN).Added the
CheckUsernameResponseusing theResponseBodyBuilderto build the body of the response.Added the
CheckUsernameHandlerto execute the request and check if the requested username is available or not.Closes #39
Involved #46, #47
mentioned in commit
5568c8a073