@Override
    public <T extends RequestCommand> boolean serializeHeader(T request, InvokeContext invokeContext)
                                                                                                     throws SerializationException {
        if (request instanceof RpcRequestCommand) {
            RpcRequestCommand requestCommand = (RpcRequestCommand) request;
            try {
                requestCommand.setHeader(EXECUTOR1.getBytes("UTF-8"));
            } catch (UnsupportedEncodingException e) {
                System.err.println("UnsupportedEncodingException");
            }
            return true;
        }
        return false;
    }
@see com.alipay.remoting.CustomSerializer#serializeHeader(com.alipay.remoting.rpc.RequestCommand, InvokeContext)
src/test/java/com/alipay/remoting/rpc/userprocessor/executorselector/CustomHeaderSerializer.java