public interface SearchResource
SearchResource
defines METHODS required in order to handle
a SEARCH request.Modifier and Type | Field and Description |
---|---|
static String |
METHODS
The 'SEARCH' method
|
Modifier and Type | Method and Description |
---|---|
QueryGrammerSet |
getQueryGrammerSet()
Returns the protected DAV:supported-method-set property which is defined
mandatory by RTF 3253.
|
MultiStatus |
search(SearchInfo sInfo)
Runs a search with the language and query defined in the
SearchInfo
object specified and returns a MultiStatus object listing the
results. |
static final String METHODS
QueryGrammerSet getQueryGrammerSet()
DavResource.getProperty(SearchConstants.QUERY_GRAMMER_SET)
.SearchConstants.QUERY_GRAMMER_SET
MultiStatus search(SearchInfo sInfo) throws DavException
SearchInfo
object specified and returns a MultiStatus
object listing the
results.sInfo
- SearchInfo
element encapsulating the SEARCH
request body.MultiStatus
object listing the results.DavException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.