Package org.archive.wayback.resourcestore.http

Examples of org.archive.wayback.resourcestore.http.FileLocationDB


      HttpServletResponse httpResponse) throws IOException,
      ServletException {
    @SuppressWarnings("unchecked")
    Map<String,String[]> queryMap = httpRequest.getParameterMap();
    String message;
    FileLocationDB locationDB = getLocationDB();
    try {
      message = handleOperation(locationDB,queryMap);
      httpResponse.setStatus(HttpServletResponse.SC_OK);
      httpResponse.setContentType("text/plain");
      OutputStream os = httpResponse.getOutputStream();
View Full Code Here


    tmpLogFile = File.createTempFile("test-FileLocationDB",".log");
    assertTrue(tmpFile.delete());
    assertTrue(tmpFile.mkdirs());
    dbPath = tmpFile.getAbsolutePath();
    dbName = "test-FileLocationDB";
    db = new FileLocationDB();
   
    db.setBdbName(dbName);
    db.setBdbPath(dbPath);
    db.setLogPath(tmpLogFile.getAbsolutePath());
    db.init();
View Full Code Here

TOP

Related Classes of org.archive.wayback.resourcestore.http.FileLocationDB

Copyright © 2018 www.massapicom. 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.