Package | Description |
---|---|
org.apache.arrow.flight | |
org.apache.arrow.flight.auth2 | |
org.apache.arrow.flight.grpc |
Modifier and Type | Interface and Description |
---|---|
static interface |
FlightServerMiddleware.Factory<T extends FlightServerMiddleware>
A factory for Flight server middleware.
|
static class |
FlightServerMiddleware.Key<T extends FlightServerMiddleware>
A key for Flight server middleware.
|
Modifier and Type | Class and Description |
---|---|
class |
ServerHeaderMiddleware
Middleware that's used to extract and pass headers to the server during requests.
|
Modifier and Type | Method and Description |
---|---|
<T extends FlightServerMiddleware> |
FlightProducer.CallContext.getMiddleware(FlightServerMiddleware.Key<T> key)
Get the middleware instance of the given type for this call.
|
<T extends FlightServerMiddleware> |
FlightServer.Builder.middleware(FlightServerMiddleware.Key<T> key,
FlightServerMiddleware.Factory<T> factory)
Add a Flight middleware component to inspect and modify requests to this service.
|
static <T extends FlightServerMiddleware> |
FlightServerMiddleware.Key.of(String key)
Create a new key for the given type.
|
Modifier and Type | Method and Description |
---|---|
Map<FlightServerMiddleware.Key<?>,FlightServerMiddleware> |
FlightProducer.CallContext.getMiddleware()
Get an immutable map of middleware for this call.
|
Modifier and Type | Class and Description |
---|---|
class |
ServerCallHeaderAuthMiddleware
Middleware that's used to validate credentials during the handshake and verify
the bearer token in subsequent requests.
|
Modifier and Type | Class and Description |
---|---|
static class |
ServerInterceptorAdapter.KeyFactory<T extends FlightServerMiddleware>
A combination of a middleware Key and factory.
|
Modifier and Type | Field and Description |
---|---|
static io.grpc.Context.Key<Map<FlightServerMiddleware.Key<?>,FlightServerMiddleware>> |
ServerInterceptorAdapter.SERVER_MIDDLEWARE_KEY
The
Context.Key that stores the Flight middleware active for a particular call. |
Copyright © 2023 The Apache Software Foundation. All rights reserved.