Package | Description |
---|---|
org.apache.arrow.flight | |
org.apache.arrow.flight.grpc |
Modifier and Type | Field and Description |
---|---|
static FlightServerMiddleware.Key<ServerHeaderMiddleware> |
FlightConstants.HEADER_KEY |
Modifier and Type | Method and Description |
---|---|
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 | 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.
|
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. |
Constructor and Description |
---|
KeyFactory(FlightServerMiddleware.Key<T> key,
FlightServerMiddleware.Factory<T> factory) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.