- All Implemented Interfaces:
QtObjectInterface
API for sending replies from an HTTP server
Java wrapper for Qt class QHttpServerResponder
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQHttpServerResponder::StatusCode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Method Summary
Modifier and TypeMethodDescriptionfinal QPair<QByteArray,
QByteArray>[] headerList
(QPair<QByteArray, QByteArray> ... pairs) final void
sendResponse
(QHttpServerResponse response) final void
write()
Overloaded function forwrite(io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
.final void
write
(byte [] data, byte [] mimeType) Overloaded function forwrite(byte[], byte[], io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
.final void
write
(byte [] data, byte [] mimeType, QHttpServerResponder.StatusCode status) final void
write
(byte [] data, QByteArray mimeType) Overloaded function forwrite(byte[], io.qt.core.QByteArray, io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
.final void
write
(byte [] data, QByteArray mimeType, QHttpServerResponder.StatusCode status) final void
write
(byte [] data, QPair<QByteArray, QByteArray> [] headers, QHttpServerResponder.StatusCode status) Overloaded function forwrite(io.qt.core.QByteArray, io.qt.core.QPair[], io.qt.httpserver.QHttpServerResponder.StatusCode)
.final void
write
(QByteArray data, byte [] mimeType) Overloaded function forwrite(io.qt.core.QByteArray, byte[], io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
.final void
write
(QByteArray data, byte [] mimeType, QHttpServerResponder.StatusCode status) final void
write
(QByteArray data, QByteArray mimeType) Overloaded function forwrite(io.qt.core.QByteArray, io.qt.core.QByteArray, io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
.final void
write
(QByteArray data, QByteArray mimeType, QHttpServerResponder.StatusCode status) final void
write
(QByteArray data, QPair<QByteArray, QByteArray> ... headers) final void
write
(QByteArray data, QPair<QByteArray, QByteArray> [] headers, QHttpServerResponder.StatusCode status) final void
write
(QByteArray data, String mimeType) final void
write
(QByteArray data, String mimeType, QHttpServerResponder.StatusCode status) final void
write
(QIODevice data, QPair<QByteArray, QByteArray> ... headers) final void
final void
write
(QIODevice data, String mimeType, QHttpServerResponder.StatusCode status) final void
write
(QJsonDocument document) Overloaded function forwrite(io.qt.core.QJsonDocument, io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
.final void
write
(QJsonDocument document, QPair<QByteArray, QByteArray> ... headers) final void
write
(QJsonDocument document, QPair<QByteArray, QByteArray> [] headers, QHttpServerResponder.StatusCode status) final void
write
(QJsonDocument document, QHttpServerResponder.StatusCode status) final void
write
(QPair<QByteArray, QByteArray> ... headers) final void
write
(QPair<QByteArray, QByteArray> [] headers, QHttpServerResponder.StatusCode status) final void
Overloaded function forwrite(io.qt.core.QIODevice, byte[], io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
.final void
write
(QIODevice data, byte [] mimeType, QHttpServerResponder.StatusCode status) Overloaded function forwrite(io.qt.core.QIODevice, io.qt.core.QByteArray, io.qt.httpserver.QHttpServerResponder.StatusCode)
.final void
write
(QIODevice data, QByteArray mimeType) Overloaded function forwrite(io.qt.core.QIODevice, io.qt.core.QByteArray, io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
.final void
write
(QIODevice data, QByteArray mimeType, QHttpServerResponder.StatusCode status) final void
write
(QIODevice data, QPair<QByteArray, QByteArray> [] headers, QHttpServerResponder.StatusCode status) final void
write
(QHttpServerResponder.StatusCode status) final void
final void
write
(String data, String mimeType, QHttpServerResponder.StatusCode status) final void
writeBody
(byte [] body) Overloaded function forwriteBody(io.qt.core.QByteArray)
.final void
writeBody
(QByteArray body) final void
final void
writeBody
(ByteBuffer body) final void
writeHeader
(byte [] key, byte [] value) Overloaded function forwriteHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
.final void
writeHeader
(byte [] key, QByteArray value) Overloaded function forwriteHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
.final void
writeHeader
(QByteArray key, byte [] value) Overloaded function forwriteHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
.final void
writeHeader
(QByteArray key, QByteArray value) final void
writeHeader
(QByteArray key, String value) final void
writeHeader
(String key, QByteArray value) final void
writeHeaders
(QPair<QByteArray, QByteArray> ... headers) final void
Overloaded function forwriteStatusLine(io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
.final void
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Method Details
-
sendResponse
-
write
@QtUninvokable public final void write(QByteArray data, QByteArray mimeType, QHttpServerResponder.StatusCode status) -
write
@QtUninvokable public final void write(QByteArray data, QPair<QByteArray, QByteArray> [] headers, QHttpServerResponder.StatusCode status) -
write
@QtUninvokable public final void write(QPair<QByteArray, QByteArray> [] headers, QHttpServerResponder.StatusCode status) -
write
-
write
@QtUninvokable public final void write(QIODevice data, QByteArray mimeType, QHttpServerResponder.StatusCode status) -
write
@QtUninvokable public final void write(QIODevice data, QPair<QByteArray, QByteArray> [] headers, QHttpServerResponder.StatusCode status) -
write
@QtUninvokable public final void write(QJsonDocument document, QPair<QByteArray, QByteArray> [] headers, QHttpServerResponder.StatusCode status) -
write
@QtUninvokable public final void write(QJsonDocument document, QHttpServerResponder.StatusCode status) -
writeBody
-
writeBody
-
writeBody
-
writeHeader
-
writeHeaders
@SafeVarargs @QtUninvokable public final void writeHeaders(QPair<QByteArray, QByteArray> ... headers) -
writeStatusLine
-
write
-
write
@QtUninvokable public final void write(String data, String mimeType, QHttpServerResponder.StatusCode status) -
write
-
write
@QtUninvokable public final void write(QIODevice data, String mimeType, QHttpServerResponder.StatusCode status) -
write
-
write
@QtUninvokable public final void write(QByteArray data, String mimeType, QHttpServerResponder.StatusCode status) -
writeHeader
-
writeHeader
-
headerList
@SafeVarargs @QtUninvokable public final QPair<QByteArray,QByteArray>[] headerList(QPair<QByteArray, QByteArray> ... pairs) -
write
@SafeVarargs @QtUninvokable public final void write(QByteArray data, QPair<QByteArray, QByteArray> ... headers) -
write
@SafeVarargs @QtUninvokable public final void write(QIODevice data, QPair<QByteArray, QByteArray> ... headers) -
write
@SafeVarargs @QtUninvokable public final void write(QJsonDocument document, QPair<QByteArray, QByteArray> ... headers) -
write
-
write
Overloaded function for
write(io.qt.core.QByteArray, io.qt.core.QByteArray, io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
. -
write
Overloaded function for
write(byte[], io.qt.core.QByteArray, io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
. -
write
@QtUninvokable public final void write(byte [] data, QByteArray mimeType, QHttpServerResponder.StatusCode status) -
write
Overloaded function for
write(io.qt.core.QByteArray, byte[], io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
. -
write
@QtUninvokable public final void write(QByteArray data, byte [] mimeType, QHttpServerResponder.StatusCode status) -
write
Overloaded function for
write(byte[], byte[], io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
. -
write
@QtUninvokable public final void write(byte [] data, byte [] mimeType, QHttpServerResponder.StatusCode status) -
write
@QtUninvokable public final void write(byte [] data, QPair<QByteArray, QByteArray> [] headers, QHttpServerResponder.StatusCode status) Overloaded function for
write(io.qt.core.QByteArray, io.qt.core.QPair[], io.qt.httpserver.QHttpServerResponder.StatusCode)
. -
write
Overloaded function for
write(io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
. -
write
Overloaded function for
write(io.qt.core.QIODevice, io.qt.core.QByteArray, io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
. -
write
Overloaded function for
write(io.qt.core.QIODevice, byte[], io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
. -
write
@QtUninvokable public final void write(QIODevice data, byte [] mimeType, QHttpServerResponder.StatusCode status) Overloaded function for
write(io.qt.core.QIODevice, io.qt.core.QByteArray, io.qt.httpserver.QHttpServerResponder.StatusCode)
. -
write
Overloaded function for
write(io.qt.core.QJsonDocument, io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
. -
writeBody
Overloaded function for
writeBody(io.qt.core.QByteArray)
. -
writeHeader
Overloaded function for
writeHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
. -
writeHeader
Overloaded function for
writeHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
. -
writeHeader
Overloaded function for
writeHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
. -
writeStatusLine
Overloaded function for
writeStatusLine(io.qt.httpserver.QHttpServerResponder.StatusCode)
withstatus = io.qt.httpserver.QHttpServerResponder.StatusCode.Ok
.
-