Uses of Class
com.soklet.ResourcePathDeclaration
Packages that use ResourcePathDeclaration
-
Uses of ResourcePathDeclaration in com.soklet
Methods in com.soklet that return ResourcePathDeclarationModifier and TypeMethodDescriptionstatic @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.ServerRouteKey.route()Returns the value of therouterecord component.MetricsCollector.ServerRouteStatusKey.route()Returns the value of therouterecord component.MetricsCollector.ServerSentEventCommentRouteDropKey.route()Returns the value of therouterecord component.MetricsCollector.ServerSentEventCommentRouteEnqueueOutcomeKey.route()Returns the value of therouterecord component.MetricsCollector.ServerSentEventCommentRouteKey.route()Returns the value of therouterecord component.MetricsCollector.ServerSentEventRouteDropKey.route()Returns the value of therouterecord component.MetricsCollector.ServerSentEventRouteEnqueueOutcomeKey.route()Returns the value of therouterecord component.MetricsCollector.ServerSentEventRouteHandshakeFailureKey.route()Returns the value of therouterecord component.MetricsCollector.ServerSentEventRouteKey.route()Returns the value of therouterecord component.MetricsCollector.ServerSentEventRouteTerminationKey.route()Returns the value of therouterecord component.Methods in com.soklet with parameters of type ResourcePathDeclarationModifier and TypeMethodDescriptiondefault voidMetricsCollector.didBroadcastServerSentEvent(@NonNull ResourcePathDeclaration route, int attempted, int enqueued, int dropped) Called after a broadcast attempt for a Server-Sent Event payload.default voidMetricsCollector.didBroadcastServerSentEventComment(@NonNull ResourcePathDeclaration route, @NonNull ServerSentEventComment.CommentType commentType, int attempted, int enqueued, int dropped) Called after a broadcast attempt for a Server-Sent Event comment 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 serverSentEventSource) 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 ResourcePathDeclarationModifierConstructorDescriptionServerRouteKey(@NonNull HttpMethod method, @NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route) Creates an instance of aServerRouteKeyrecord class.ServerRouteStatusKey(@NonNull HttpMethod method, @NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull String statusClass) Creates an instance of aServerRouteStatusKeyrecord class.ServerSentEventCommentRouteDropKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull ServerSentEventComment.CommentType commentType, @NonNull MetricsCollector.ServerSentEventDropReason dropReason) Creates an instance of aServerSentEventCommentRouteDropKeyrecord class.ServerSentEventCommentRouteEnqueueOutcomeKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull ServerSentEventComment.CommentType commentType, @NonNull MetricsCollector.ServerSentEventEnqueueOutcome outcome) Creates an instance of aServerSentEventCommentRouteEnqueueOutcomeKeyrecord class.ServerSentEventCommentRouteKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull ServerSentEventComment.CommentType commentType) Creates an instance of aServerSentEventCommentRouteKeyrecord class.ServerSentEventRouteDropKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull MetricsCollector.ServerSentEventDropReason dropReason) Creates an instance of aServerSentEventRouteDropKeyrecord class.ServerSentEventRouteEnqueueOutcomeKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull MetricsCollector.ServerSentEventEnqueueOutcome outcome) Creates an instance of aServerSentEventRouteEnqueueOutcomeKeyrecord class.ServerSentEventRouteHandshakeFailureKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull ServerSentEventConnection.HandshakeFailureReason handshakeFailureReason) Creates an instance of aServerSentEventRouteHandshakeFailureKeyrecord class.ServerSentEventRouteKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route) Creates an instance of aServerSentEventRouteKeyrecord class.ServerSentEventRouteTerminationKey(@NonNull MetricsCollector.RouteType routeType, @Nullable ResourcePathDeclaration route, @NonNull ServerSentEventConnection.TerminationReason terminationReason) Creates an instance of aServerSentEventRouteTerminationKeyrecord class.