com.alibaba.rocketmq.common.protocol.header.namesrv.GetKVConfigRequestHeader Maven / Gradle / Ivy
package com.alibaba.rocketmq.common.protocol.header.namesrv;
import com.alibaba.rocketmq.remoting.CommandCustomHeader;
import com.alibaba.rocketmq.remoting.annotation.CFNotNull;
import com.alibaba.rocketmq.remoting.exception.RemotingCommandException;
/**
* @author shijia.wxr
* @since 2013-7-1
*/
public class GetKVConfigRequestHeader implements CommandCustomHeader {
@CFNotNull
private String namespace;
@CFNotNull
private String key;
@Override
public void checkFields() throws RemotingCommandException {
}
public String getNamespace() {
return namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
}