Uses of Class
com.soklet.ResourcePathDeclaration
Packages that use ResourcePathDeclaration
-
Uses of ResourcePathDeclaration in com.soklet
Methods in com.soklet that return ResourcePathDeclarationModifier and TypeMethodDescriptionMcpEndpointRegistration.endpointPathDeclaration()Returns the value of theendpointPathDeclarationrecord component.static @NonNull ResourcePathDeclarationVends an instance that represents a compile-time path declaration, for example/users/{userId}.ResourceMethod.getResourcePathDeclaration()Returns the HTTP path for this Resource Method, which might contain placeholders - for example,/example/{exampleId}.MetricsCollector.HttpServerRouteKey.route()Returns the value of therouterecord component.MetricsCollector.HttpServerRouteStatusKey.route()Returns the value of therouterecord component.MetricsCollector.SseCommentRouteDropKey.route()Returns the value of therouterecord component.MetricsCollector.SseCommentRouteEnqueueOutcomeKey.route()Returns the value of therouterecord component.MetricsCollector.SseCommentRouteKey.route()Returns the value of therouterecord component.MetricsCollector.SseEventRouteDropKey.route()Returns the value of therouterecord component.MetricsCollector.SseEventRouteEnqueueOutcomeKey.route()Returns the value of therouterecord component.MetricsCollector.SseEventRouteHandshakeFailureKey.route()Returns the value of therouterecord component.MetricsCollector.SseEventRouteKey.route()Returns the value of therouterecord component.MetricsCollector.SseEventRouteTerminationKey.route()Returns the value of therouterecord component.Methods in com.soklet with parameters of type ResourcePathDeclarationModifier and TypeMethodDescriptiondefault voidMetricsCollector.didBroadcastSseComment(@NonNull ResourcePathDeclaration route, @NonNull SseComment.CommentType commentType, int attempted, int enqueued, int dropped) Called after a broadcast attempt for a Server-Sent Event comment payload.default voidMetricsCollector.didBroadcastSseEvent(@NonNull ResourcePathDeclaration route, int attempted, int enqueued, int dropped) Called after a broadcast attempt for a Server-Sent Event payload.ResourcePath.extractPlaceholders(@NonNull ResourcePathDeclaration resourcePathDeclaration) What is the mapping between this resource path's placeholder values to the given resource path declaration's placeholder names?static @NonNull ResourceMethodResourceMethod.fromComponents(@NonNull HttpMethod httpMethod, @NonNull ResourcePathDeclaration resourcePathDeclaration, @NonNull Method method, @NonNull Boolean sseEventSource) Vends a Resource Method given its unique components.ResourcePath.matches(@NonNull ResourcePathDeclaration resourcePathDeclaration) Does this resource path match the given resource path (taking placeholders/varargs into account, if present)?Constructors in com.soklet with parameters of type ResourcePathDeclarationModifierConstructorDescriptionHttpServerRouteKey(@NonNull HttpMethod method, @NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route) Creates an instance of aHttpServerRouteKeyrecord class.HttpServerRouteStatusKey(@NonNull HttpMethod method, @NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull String statusClass) Creates an instance of aHttpServerRouteStatusKeyrecord class.McpEndpointRegistration(@NonNull Class<? extends McpEndpoint> endpointClass, @NonNull ResourcePathDeclaration endpointPathDeclaration, @NonNull String name, @NonNull String version, @Nullable String instructions, @Nullable String title, @Nullable String description, @Nullable String websiteUrl, @NonNull Set<@NonNull String> toolNames, @NonNull Set<@NonNull String> promptNames, @NonNull Set<@NonNull String> resourceUris, @NonNull Boolean hasResourceListHandler) Creates an instance of aMcpEndpointRegistrationrecord class.SseCommentRouteDropKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull SseComment.CommentType commentType, @NonNull MetricsCollector.SseEventDropReason dropReason) Creates an instance of aSseCommentRouteDropKeyrecord class.SseCommentRouteEnqueueOutcomeKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull SseComment.CommentType commentType, @NonNull MetricsCollector.SseEventEnqueueOutcome outcome) Creates an instance of aSseCommentRouteEnqueueOutcomeKeyrecord class.SseCommentRouteKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull SseComment.CommentType commentType) Creates an instance of aSseCommentRouteKeyrecord class.SseEventRouteDropKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull MetricsCollector.SseEventDropReason dropReason) Creates an instance of aSseEventRouteDropKeyrecord class.SseEventRouteEnqueueOutcomeKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull MetricsCollector.SseEventEnqueueOutcome outcome) Creates an instance of aSseEventRouteEnqueueOutcomeKeyrecord class.SseEventRouteHandshakeFailureKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull SseConnection.HandshakeFailureReason handshakeFailureReason) Creates an instance of aSseEventRouteHandshakeFailureKeyrecord class.SseEventRouteKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route) Creates an instance of aSseEventRouteKeyrecord class.SseEventRouteTerminationKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull SseConnection.TerminationReason terminationReason) Creates an instance of aSseEventRouteTerminationKeyrecord class.