public User getUser() {
        ClientResource resource = new ClientResource(Route.ME.url());
        resource.setChallengeResponse(this.auth.toChallenge());

        try {
            Representation repr = resource.get();
            return mapper.readValue(repr.getText(), User.class);
        } catch (IOException ex) {
            LEX4JLogger.log(Level.WARNING, "Could not retrieve user (me) correctly!");
            return null;
        }
    }
public User getUser ( ) { ClientResource resource = new ClientResource ( Route . ME . url ( ) ) ; resource . setChallengeResponse ( this . auth . toChallenge ( ) ) ; try { Representation repr = resource . get ( ) ; return mapper . readValue ( repr . getText ( ) , User . class ) ; } catch ( IOException ex ) { LEX4JLogger . log ( Level . WARNING , "Could not retrieve user (me) correctly!" ) ; return null ; } }
Returns the current user

@return the current user
@custom.require Authentication