java.lang.Object
io.qt.QtObject
io.qt.httpserver.QHttpServerRouter
- All Implemented Interfaces:
QtObjectInterface
Provides functions to bind a URL to a ViewHandler
Java wrapper for Qt's class QHttpServerRouter
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addConverter
(QMetaType metaType, String regexp) final void
addConverter
(Class<?> type, String regexp) final void
final boolean
handleRequest
(QHttpServerRequest request, QTcpSocket socket) final void
removeConverter
(QMetaType metaType) final void
removeConverter
(Class<?> type) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QHttpServerRouter
public QHttpServerRouter() -
QHttpServerRouter
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addConverter
-
clearConverters
-
converters
-
handleRequest
-
removeConverter
-
addConverter
-
removeConverter
-