Package reactor.netty.http.server
Interface HttpRouteHandlerMetadata
public interface HttpRouteHandlerMetadata
Provides the metadata that a given handler can handle.
Used with the
HttpServerRoutes.comparator(Comparator)
.- Since:
- 1.0.7
- Author:
- chentong
-
Method Summary
Modifier and TypeMethodDescription@Nullable HttpMethod
Get the http method this handler can handle.@Nullable String
getPath()
Get the http path this handler can handle.
-
Method Details
-
getPath
@Nullable String getPath()Get the http path this handler can handle.- Returns:
- the http path
-
getMethod
@Nullable HttpMethod getMethod()Get the http method this handler can handle.- Returns:
- the http method
HttpMethod
- Since:
- 1.0.11
-