Examples of dumpHttpHeader()


Examples of org.archive.io.arc.ARCRecord.dumpHttpHeader()

    ARCRecord arcRecord = (ARCRecord) arcReader.get(this.offset);
    ArchiveRecordHeader header = arcRecord.getHeader();
    if (arcRecord.hasErrors())
      logger.warning("record has errors: " + arcRecord.getErrors());
    System.out.println("========== dumping HTTP header:");
    arcRecord.dumpHttpHeader();
    System.out.println("========== selected metadata:");
    arcRecord.close(); // must close record to get digest
    printMetadata(arcRecord,header);
    System.out.println("========== getting metadata:");
    System.out.println(arcRecord.getMetaData());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.