Package io.deephaven.server.session
Class TicketResolverBase
java.lang.Object
io.deephaven.server.session.TicketResolverBase
- All Implemented Interfaces:
TicketResolver
- Direct Known Subclasses:
ApplicationTicketResolver
,ExportTicketResolver
,ScopeTicketResolver
,SharedTicketResolver
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.server.session.TicketResolver
TicketResolver.Authorization
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTicketResolverBase
(AuthorizationProvider authProvider, byte ticketPrefix, String flightDescriptorRoute) -
Method Summary
Modifier and TypeMethodDescriptionThe first path entry on a route indicates which resolver to use.byte
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.server.session.TicketResolver
flightInfoFor, forAllFlightInfo, getLogNameFor, publish, publish, publish, resolve, resolve
-
Field Details
-
authorization
-
-
Constructor Details
-
TicketResolverBase
public TicketResolverBase(AuthorizationProvider authProvider, byte ticketPrefix, String flightDescriptorRoute)
-
-
Method Details
-
ticketRoute
public byte ticketRoute()- Specified by:
ticketRoute
in interfaceTicketResolver
- Returns:
- the single byte prefix used as a route on the ticket
-
flightDescriptorRoute
Description copied from interface:TicketResolver
The first path entry on a route indicates which resolver to use. The remaining path elements are used to resolve the descriptor.- Specified by:
flightDescriptorRoute
in interfaceTicketResolver
- Returns:
- the string that will route from flight descriptor to this resolver
-