Project

General

Profile

« Previous | Next » 

Revision 6611

use SSL to get content from stream

View differences:

ReplicationHandler.java
577 577
                                            "&action=readdata&docid="+accNumber;
578 578
      readDataURLString = MetacatUtil.replaceWhiteSpaceForURL(readDataURLString);
579 579
      URL u = new URL(readDataURLString);
580
      InputStream input = u.openStream();
580
      InputStream input = ReplicationService.getURLStream(u);
581 581
      //register data file into xml_documents table and wite data file
582 582
      //into file system
583 583
      if ( input != null)

Also available in: Unified diff