Ignore:
Timestamp:
06/16/12 17:12:37 (12 years ago)
Author:
oschonef
Message:
  • add SRUServerServlet and SRUSearchEngineBase
  • add close() method to response objects
  • remove hasMore*() methods and modify next*() to return boolean from SRUScanResponse and SRUSearchResponse

HEADS UP:
This commit breaks existing API and requires changes to your SRUScanResponse and SRUSearchResponse implementations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SRUServer/trunk/src/main/java/eu/clarin/sru/server/SRUAbstractResult.java

    r1881 r1990  
    105105    }
    106106
     107
     108    /**
     109     * Release this result and free any associated resources.
     110     * <p>
     111     * This method <strong>must not</strong> throw any exceptions
     112     * </p>
     113     * <p>
     114     * Calling the method <code>close</code> on a result object that is already
     115     * closed is a no-op.
     116     * </p>
     117     */
     118    public void close() {
     119    }
     120
    107121} // abstract class SRUAbstractResult
Note: See TracChangeset for help on using the changeset viewer.