Class Headers__ServiceDescriptor<T extends Headers>
java.lang.Object
io.helidon.http.Headers__ServiceDescriptor<T>
- Type Parameters:
T- type of the service, for extensibility
- All Implemented Interfaces:
Weighted, ServiceDescriptor<T>, ServiceInfo, Comparable<Weighted>
public class Headers__ServiceDescriptor<T extends Headers>
extends Object
implements ServiceDescriptor<T>
Service descriptor for
Headers.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Headers__ServiceDescriptor<Headers> Global singleton instance for this descriptor.Fields inherited from interface Weighted
DEFAULT_WEIGHTModifier and TypeFieldDescriptionstatic final doubleDefault weight for any weighted component (whether it implements this interface or usesWeightannotation). -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor with no side effects -
Method Summary
Modifier and TypeMethodDescriptionSet of contracts the described service implements or provides through a factory method.Type of the service descriptor (usually generated).What factory type is the described service.scope()Scope of this service.Type of the service this descriptor describes.typeSet(ResolvedType contract) Provide a mapping of a contracts of this service to its contract type set.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ServiceDescriptor
inject, instantiate, postConstruct, preDestroyModifier and TypeMethodDescriptiondefault voidinject(DependencyContext ctx, InterceptionMetadata interceptionMetadata, Set<String> injected, T instance) Inject fields and methods.default Objectinstantiate(DependencyContext ctx, InterceptionMetadata interceptionMetadata) Create a new service instance.default voidpostConstruct(T instance) InvokeService.PostConstructannotated method(s).default voidpreDestroy(T instance) InvokeService.PreDestroyannotated method(s).Methods inherited from interface ServiceInfo
dependencies, factoryContracts, isAbstract, providedType, qualifiers, runLevelModifier and TypeMethodDescriptiondefault List<Dependency> List of dependencies required by this service.default Set<ResolvedType> Set of contracts that identify the factory provider itself.default booleanReturnstruefor abstract classes and interfaces, returnsfalseby default.default TypeNameThe type that implementsServiceInfo.contracts().Service qualifiers.runLevel()Run level of this service.
-
Field Details
-
INSTANCE
Global singleton instance for this descriptor.
-
-
Constructor Details
-
Headers__ServiceDescriptor
protected Headers__ServiceDescriptor()Constructor with no side effects
-
-
Method Details
-
serviceType
Description copied from interface:ServiceInfoType of the service this descriptor describes.- Specified by:
serviceTypein interfaceServiceInfo- Returns:
- service type
-
descriptorType
Description copied from interface:ServiceInfoType of the service descriptor (usually generated).- Specified by:
descriptorTypein interfaceServiceInfo- Returns:
- descriptor type
-
scope
Description copied from interface:ServiceDescriptorScope of this service.- Specified by:
scopein interfaceServiceDescriptor<T extends Headers>- Specified by:
scopein interfaceServiceInfo- Returns:
- scope of the service
-
contracts
Description copied from interface:ServiceInfoSet of contracts the described service implements or provides through a factory method.- Specified by:
contractsin interfaceServiceInfo- Returns:
- set of contracts
-
typeSet
Description copied from interface:ServiceDescriptorProvide a mapping of a contracts of this service to its contract type set. If the result is empty, it will be ignored.- Specified by:
typeSetin interfaceServiceDescriptor<T extends Headers>- Parameters:
contract- contract to get types for- Returns:
- type map for each type that is a contract of this service
-
factoryType
Description copied from interface:ServiceInfoWhat factory type is the described service. Inject services can be any of the types in theenum.- Specified by:
factoryTypein interfaceServiceInfo- Returns:
- factory type
-