Package org.intermine.client.services
Class QueryService.QueryRequest
- java.lang.Object
-
- org.intermine.client.core.RequestImpl
-
- org.intermine.client.services.QueryService.QueryRequest
-
- All Implemented Interfaces:
Request
- Enclosing class:
- QueryService
protected static class QueryService.QueryRequest extends RequestImpl
The request class for handling queries - in particular this class is responsible for handling the query parameters. The only special one that query supports is "query"
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.intermine.client.core.Request
Request.RequestType
-
-
Field Summary
-
Fields inherited from class org.intermine.client.core.RequestImpl
FORMAT_PARAMETER_COUNT, FORMAT_PARAMETER_JSON_OBJ, FORMAT_PARAMETER_JSON_ROWS, FORMAT_PARAMETER_XML
-
-
Constructor Summary
Constructors Constructor Description QueryRequest(Request.RequestType type, java.lang.String serviceUrl, ContentType contentType)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setQuery(java.lang.String xml)
Adds the query to be run.-
Methods inherited from class org.intermine.client.core.RequestImpl
addParameter, getContentType, getEncodedUrl, getHeader, getHeaders, getParameter, getParameterMap, getParameterNames, getParameterValues, getServiceUrl, getType, getUnencodedUrl, setAuthToken, setContentType, setCountFormat, setFormat, setHeader, setJSONFormat, setJSONRowsFormat, setMaxCount, setPage, setParameter, setServiceUrl, setStart, setType, setUrl, setXMLFormat, toString
-
-
-
-
Constructor Detail
-
QueryRequest
public QueryRequest(Request.RequestType type, java.lang.String serviceUrl, ContentType contentType)
Constructor.- Parameters:
type
- GET or POSTserviceUrl
- the URL of the service, without parameterscontentType
- a ContentType object
-
-