| 限定符和类型 | 类和说明 |
|---|---|
class |
JlHttpContextHandler |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,HTTPServer.ContextHandler> |
HTTPServer.VirtualHost.ContextInfo.handlers |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,HTTPServer.ContextHandler> |
HTTPServer.VirtualHost.ContextInfo.getHandlers()
Returns the map of supported HTTP methods and their corresponding handlers.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HTTPServer.VirtualHost.addContext(String path,
HTTPServer.ContextHandler handler,
String... methods)
Adds a context and its corresponding context handler to this server.
|
void |
HTTPServer.VirtualHost.ContextInfo.addHandler(HTTPServer.ContextHandler handler,
String... methods)
Adds (or replaces) a context handler for the given HTTP methods.
|
Copyright © 2023. All rights reserved.