Decoder decoder = serializeFactory.getDecoder(codeName);
//
if (decoder == null && this.returnData != null)
throw new UndefinedException("Undefined ‘" + codeName + "’ serialize decoder ");
//
return decoder.decode(this.returnData);
}
/**设置要返回的值*/
public void setReturnData(Object data, SerializeFactory serializeFactory) throws Throwable {
String codeName = this.getSerializeType();
Encoder encoder = serializeFactory.getEncoder(codeName);