@@ -0,0 +1,337 @@
+package com.demo2do.netty;%0A%0A/**%0A * %E5%8D%8F%E8%AE%AE%0A */%0Apublic enum Protocol %7B%0A%0A    /** Unsupported Protocol */%0A    UNKNOWN(%22unknown%22),%0A    /** Google Protocol Buffer */%0A    PROTOBUF(%22protobuf%22);%0A%0A    private String code;%0A%0A    private Protocol(String code) %7B%0A        this.code = code;%0A    %7D%0A%0A    public String getCode() %7B%0A        return code;%0A    %7D%0A%7D%0A

add protocol class