public UserEntity getUser ( String username ) { UserEntity userEntity = restClient . get ( "users/" + username , UserEntity . class , new HashMap < String , String > ( ) ) ; return userEntity ; }
Gets the user .