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 class QHttpServerRouter
- Since:
- This class was introduced in Qt 6.4.
-
Constructor Summary
-
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, QHttpServerResponder responder) final void
removeConverter
(QMetaType metaType) final void
removeConverter
(Class<?> type) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QHttpServerRouter
- Parameters:
server
-
-
-
Method Details
-
addConverter
- Parameters:
metaType
-regexp
-
-
clearConverters
-
converters
- Returns:
-
handleRequest
@QtUninvokable public final boolean handleRequest(QHttpServerRequest request, QHttpServerResponder responder) - Parameters:
request
-responder
-- Returns:
-
removeConverter
- Parameters:
metaType
-
-
addConverter
-
removeConverter
-