Commit 16e22833 by huangfusuper

Netty服务端 协议载体返回类型枚举实现

parent 88731035
package com.byit.enums;
/**
* 响应的类型
* @author huangfu
*/
public enum ResponseTyEnum {
TRANSFER("transfer"),
RESPONSE("response")
;
private String type;
public String getType() {
return type;
}
ResponseTyEnum(String type) {
this.type = type;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment