private void serverSideRegResponseProcessing(RegistrationResponse resp) throws Exception {
  RegistrationResponseProcessing respProcessing=new RegistrationResponseProcessing();
  RegistrationRecord[] regRecord=respProcessing.processResponse(resp);
  storage=new Storage(regRecord[0].PublicKey);
  logger.info(" : Reg records : " + gson.toJson(regRecord,RegistrationRecord[].class));
}

private void serverSideRegResponseProcessing ( RegistrationResponse resp ) throws Exception { RegistrationResponseProcessing respProcessing = new RegistrationResponseProcessing ( ) ; RegistrationRecord [ ] regRecord = respProcessing . processResponse ( resp ) ; storage = new Storage ( regRecord [ 0 ] . PublicKey ) ; logger . info ( " : Reg records : " + gson . toJson ( regRecord , RegistrationRecord [ ] . class ) ) ; }
shows an example on what should be processing on uaf server
