@Override
    public <T extends RequestCommand> boolean deserializeHeader(T request)
                                                                          throws DeserializationException {
        if (request instanceof RpcRequestCommand) {
            RpcRequestCommand requestCommand = (RpcRequestCommand) request;
            byte[] header = requestCommand.getHeader();
            try {
                requestCommand.setRequestHeader(new String(header, "UTF-8"));
            } catch (UnsupportedEncodingException e) {
                System.err.println("UnsupportedEncodingException");
            }
            return true;
        }
        return false;
    }
@see com.alipay.remoting.CustomSerializer#deserializeHeader(com.alipay.remoting.rpc.RequestCommand)
src/test/java/com/alipay/remoting/rpc/userprocessor/executorselector/CustomHeaderSerializer.java