Package io.deephaven.server.session
Class PathResolverPrefixedBase
java.lang.Object
io.deephaven.server.session.PathResolverPrefixedBase
- All Implemented Interfaces:
PathResolver
,TicketResolver
- Direct Known Subclasses:
TicketResolverBase
A specialization of
PathResolver
whose path Flight.FlightDescriptor
resolution is based on the first
path in the list.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.server.session.TicketResolver
TicketResolver.Authorization
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The first path entry on a route indicates which resolver to use.final boolean
handlesPath
(org.apache.arrow.flight.impl.Flight.FlightDescriptor descriptor) 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, ticketRoute
-
Constructor Details
-
PathResolverPrefixedBase
-
-
Method Details
-
flightDescriptorRoute
The first path entry on a route indicates which resolver to use. The remaining path elements are used to resolve the descriptor.- Returns:
- the string that will route from flight descriptor to this resolver
-
handlesPath
public final boolean handlesPath(org.apache.arrow.flight.impl.Flight.FlightDescriptor descriptor) - Specified by:
handlesPath
in interfacePathResolver
- Parameters:
descriptor
- the descriptor- Returns:
true
if this resolver handles the descriptor path
-