@Override
    public <T extends ResponseCommand> boolean deserializeHeader(T response,
                                                                 InvokeContext invokeContext)
                                                                                             throws DeserializationException {
        if (response instanceof RpcResponseCommand) {
            RpcResponseCommand responseCommand = (RpcResponseCommand) response;
            byte[] header = responseCommand.getHeader();
            try {
                responseCommand.setResponseHeader(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.ResponseCommand, InvokeContext)
src/test/java/com/alipay/remoting/rpc/userprocessor/executorselector/CustomHeaderSerializer.java