Ignore:
Timestamp:
03/12/13 17:12:42 (11 years ago)
Author:
oschonef
Message:
  • if client did not provide values for parameters "startRecord" or "maximumTerms" set them to the defaults defined in SRU specification
File:
1 edited

Legend:

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

    r2623 r2680  
    102102    /**
    103103     * Get the <em>startRecord</em> parameter of this request. Only available
    104      * for <em>searchRetrieve</em> requests.
    105      *
    106      * @return the number of the start record or <code>-1</code> if no value was
    107      *         supplied for this request
     104     * for <em>searchRetrieve</em> requests. If the client did not provide
     105     * a value for the request, it is set to <code>1</code>.
     106     *
     107     * @return the number of the start record
    108108     */
    109109    public int getStartRecord();
     
    185185    /**
    186186     * Get the <em>responsePosition</em> parameter of this request. Only
    187      * available for <em>scan</em> requests.
    188      *
    189      * @return the response position or <code>-1</code> if no value was supplied
    190      *         for this request
     187     * available for <em>scan</em> requests. If the client did not provide
     188     * a value for the request, it is set to <code>1</code>.
     189     *
     190     * @return the response position
    191191     */
    192192    public int getResponsePosition();
Note: See TracChangeset for help on using the changeset viewer.