Package io.deephaven.server.session
Interface PathResolver
- All Superinterfaces:
TicketResolver
- All Known Implementing Classes:
ApplicationTicketResolver
,ExportTicketResolver
,PathResolverPrefixedBase
,ScopeTicketResolver
,SharedTicketResolver
,TicketResolverBase
A specialization of
TicketResolver
that signifies this resolver supports Flight descriptor paths.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.server.session.TicketResolver
TicketResolver.Authorization
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handlesPath
(org.apache.arrow.flight.impl.Flight.FlightDescriptor descriptor) Returnstrue
if this resolver is responsible for handling thedescriptor
path.Methods inherited from interface io.deephaven.server.session.TicketResolver
flightInfoFor, forAllFlightInfo, getLogNameFor, publish, publish, publish, resolve, resolve, ticketRoute
-
Method Details
-
handlesPath
boolean handlesPath(org.apache.arrow.flight.impl.Flight.FlightDescriptor descriptor) Returnstrue
if this resolver is responsible for handling thedescriptor
path. Implementations should prefer to returntrue
here if they know the path is in their domain even if they don't implement it; this allows them to provide a more specific error message for unsupported paths.- Parameters:
descriptor
- the descriptor- Returns:
true
if this resolver handles the descriptor path
-