Uses of Class
com.soklet.core.ResourcePath
Packages that use ResourcePath
Package
Description
Core Soklet contracts and functionality.
Default implementations of Soklet contracts.
-
Uses of ResourcePath in com.soklet.core
Methods in com.soklet.core that return ResourcePathModifier and TypeMethodDescriptionRequest.getResourcePath()Convenience method to acquire aResourcePathrepresentation ofRequest.getPath().ServerSentEventBroadcaster.getResourcePath()The runtime Resource Path with which this broadcaster is associated.static ResourcePathVends an instance that represents a runtime representation of a resource path, for example/users/123.Methods in com.soklet.core with parameters of type ResourcePathModifier and TypeMethodDescriptionOptional<? extends ServerSentEventBroadcaster> ServerSentEventServer.acquireBroadcaster(ResourcePath resourcePath) Given aResourcePaththat corresponds to a Resource Method annotated withServerSentEventSource, acquire aServerSentEventBroadcasterwhich is capable of "pushing" messages to all connected Server-Sent Event clients.Simulator.acquireServerSentEventBroadcaster(ResourcePath resourcePath) Acquires a Server-Sent Event broadcaster for the givenResourcePath.ResourcePathDeclaration.extractPlaceholders(ResourcePath resourcePath) What is the mapping between this resource path declaration's placeholder names to the given resource path's placeholder values?ResourcePathDeclaration.matches(ResourcePath resourcePath) Does this resource path declaration match the given resource path (taking placeholders into account, if present)?voidSimulator.registerServerSentEventConsumer(ResourcePath resourcePath, Consumer<ServerSentEvent> serverSentEventConsumer) Registers aServerSentEvent"consumer" for the givenResourcePath- similar to how a real client would listen for Server-Sent Events. -
Uses of ResourcePath in com.soklet.core.impl
Methods in com.soklet.core.impl with parameters of type ResourcePathModifier and TypeMethodDescriptionOptional<? extends ServerSentEventBroadcaster> DefaultServerSentEventServer.acquireBroadcaster(ResourcePath resourcePath)