35     response.
setHeader( QStringLiteral( 
"Content-Type" ), QStringLiteral( 
"text/xml; charset=utf-8" ) );
    36     response.
write( doc.toByteArray() );
    43     Q_UNUSED( serverIface )
    48     QFileInfo xsdFileInfo( resourcesDir, QStringLiteral( 
"schemaExtension.xsd" ) );
    50     if ( !xsdFileInfo.exists() )
    57     QString xsdFilePath = xsdFileInfo.absoluteFilePath();
    58     QFile xsdFile( xsdFilePath );
    59     if ( !xsdFile.exists() )
    66     if ( !xsdFile.open( QIODevice::ReadOnly ) )
    75     if ( !xsdDoc.setContent( &xsdFile, 
true, &errorMsg, &line, &column ) )
    78                                  QStringLiteral( 
"': parse error %1 at row %2, column %3" ).arg( errorMsg ).arg( line ).arg( column ),
 virtual void setHeader(const QString &key, const QString &value)=0
Set Header entry Add Header entry to the response Note that it is usually an error to set Header afte...
 
virtual void write(const QString &data)
Write string This is a convenient method that will write directly to the underlying I/O device...
 
QDomDocument getSchemaExtension(QgsServerInterface *serverIface, const QString &version, const QgsServerRequest &)
Returns the schemaExtension for WMS 1.3.0 capabilities. 
 
static void logMessage(const QString &message, const QString &tag=QString(), Qgis::MessageLevel level=Qgis::Warning, bool notifyUser=true)
Adds a message to the log instance (and creates it if necessary). 
 
Median cut implementation. 
 
QgsServerRequest Class defining request interface passed to services QgsService::executeRequest() met...
 
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins...
 
void writeGetSchemaExtension(QgsServerInterface *serverIface, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
Output GetSchemaExtension response. 
 
QgsServerResponse Class defining response interface passed to services QgsService::executeRequest() m...
 
static QString serverResourcesPath()
Returns the path to the server resources directory.