T
- The middleware class stored in this key. This provides a compile-time check when retrieving instances.public static class FlightServerMiddleware.Key<T extends FlightServerMiddleware> extends Object
Keys use reference equality, so instances should be shared.
Modifier and Type | Method and Description |
---|---|
static <T extends FlightServerMiddleware> |
of(String key)
Create a new key for the given type.
|
public static <T extends FlightServerMiddleware> FlightServerMiddleware.Key<T> of(String key)
Copyright © 2023 The Apache Software Foundation. All rights reserved.