Uses of Class
com.soklet.ResourcePath
Packages that use ResourcePath
-
Uses of ResourcePath in com.soklet
Methods in com.soklet that return ResourcePathModifier and TypeMethodDescriptionRequest.getResourcePath()
Convenience method to acquire aResourcePath
representation ofRequest.getPath()
.ServerSentEventBroadcaster.getResourcePath()
The runtime Resource Path with which this broadcaster is associated.static ResourcePath
Vends an instance that represents a runtime representation of a resource path, for example/users/123
.Methods in com.soklet with parameters of type ResourcePathModifier and TypeMethodDescriptionOptional
<? extends ServerSentEventBroadcaster> ServerSentEventServer.acquireBroadcaster
(ResourcePath resourcePath) Given aResourcePath
that corresponds to a Resource Method annotated withServerSentEventSource
, acquire aServerSentEventBroadcaster
which 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/varargs into account, if present)?void
Simulator.registerServerSentEventConsumer
(ResourcePath resourcePath, Consumer<ServerSentEvent> serverSentEventConsumer) Registers aServerSentEvent
"consumer" for the givenResourcePath
- similar to how a real client would listen for Server-Sent Events.