public abstract class AbstractDescribeRecord extends AbstractCSWRequest implements DescribeRecordRequest
DescribeRecordRequest
, which defines the
parameters for a DescribeRecord request.Defined in the geotk-client-csw
module
Modifier and Type | Field and Description |
---|---|
protected String |
version
The version to use for this webservice request.
|
LOGGER, POOL
DONT_ENCODE_EQUAL, headerMap, requestParameters, security, serverURL, subPath, timeout
Modifier | Constructor and Description |
---|---|
protected |
AbstractDescribeRecord(String serverURL,
String version,
ClientSecurity security)
Defines the server url and the service version for this kind of request.
|
Modifier and Type | Method and Description |
---|---|
String |
getNamespace() |
String |
getOutputFormat() |
InputStream |
getResponseStream()
Returns the response stream of the request.
|
String |
getSchemaLanguage() |
QName[] |
getTypeNames() |
protected void |
prepareParameters()
Called by the getURL method to fill the request parameter map.
|
void |
setNamespace(String namespace) |
void |
setOutputFormat(String outputFormat) |
void |
setSchemaLanguage(String schemaLanguage) |
void |
setTypeNames(QName... typeName) |
equals, followLink, getHeaderMap, getSubPath, getTimeout, getURL, hashCode, openConnection, openRichException, openRichException, openRichException, setTimeout
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getHeaderMap, getURL
protected final String version
protected AbstractDescribeRecord(String serverURL, String version, ClientSecurity security)
serverURL
- The server url.version
- The version of the request.public String getNamespace()
getNamespace
in interface DescribeRecordRequest
public String getOutputFormat()
getOutputFormat
in interface DescribeRecordRequest
public String getSchemaLanguage()
getSchemaLanguage
in interface DescribeRecordRequest
public QName[] getTypeNames()
getTypeNames
in interface DescribeRecordRequest
public void setNamespace(String namespace)
setNamespace
in interface DescribeRecordRequest
public void setOutputFormat(String outputFormat)
setOutputFormat
in interface DescribeRecordRequest
public void setSchemaLanguage(String schemaLanguage)
setSchemaLanguage
in interface DescribeRecordRequest
public void setTypeNames(QName... typeName)
setTypeNames
in interface DescribeRecordRequest
protected void prepareParameters()
AbstractRequest
prepareParameters
in class AbstractRequest
public InputStream getResponseStream() throws IOException
getResponseStream
in interface Request
getResponseStream
in class AbstractRequest
IOException
- if an exception occurs while getting the output stream.Copyright © 2009–2017 Geotoolkit.org. All rights reserved.