
com.github.tonivade.resp.command.server.QuitCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resp-server Show documentation
Show all versions of resp-server Show documentation
Netty implementation of REdis Serialization Protocol, and a simple framework to implement command based protocols
/*
* Copyright (c) 2015-2019, Antonio Gabriel Muñoz Conejo
* Distributed under the terms of the MIT License
*/
package com.github.tonivade.resp.command.server;
import com.github.tonivade.resp.annotation.Command;
import com.github.tonivade.resp.command.RespCommand;
import com.github.tonivade.resp.command.Request;
import com.github.tonivade.resp.protocol.RedisToken;
@Command("quit")
public class QuitCommand implements RespCommand {
@Override
public RedisToken execute(Request request) {
return RedisToken.responseOk();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy