public class ServerEndpointIndexer extends EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>
| Modifier and Type | Class and Description |
|---|---|
static class |
ServerEndpointIndexer.AbstractBuilder<B extends EndpointIndexer.Builder<ServerEndpointIndexer,B,ServerResourceMethod>> |
static class |
ServerEndpointIndexer.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected EndpointInvokerFactory |
endpointInvokerFactory |
protected List<MethodScanner> |
methodScanners |
config, EMPTY_STRING_ARRAY, index, log, primitiveTypes| Modifier | Constructor and Description |
|---|---|
protected |
ServerEndpointIndexer(ServerEndpointIndexer.AbstractBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addReaderForType(AdditionalReaders additionalReaders,
org.jboss.jandex.Type paramType) |
protected void |
addWriterForType(AdditionalWriters additionalWriters,
org.jboss.jandex.Type paramType) |
protected ServerIndexedParameter |
createIndexedParam() |
protected org.jboss.resteasy.reactive.common.model.MethodParameter |
createMethodParameter(org.jboss.jandex.ClassInfo currentClassInfo,
org.jboss.jandex.ClassInfo actualEndpointInfo,
boolean encoded,
org.jboss.jandex.Type paramType,
ServerIndexedParameter parameterResult,
String name,
String defaultValue,
org.jboss.resteasy.reactive.common.model.ParameterType type,
String elementType,
boolean single,
String signature) |
protected ServerResourceMethod |
createResourceMethod(org.jboss.jandex.MethodInfo methodInfo,
Map<String,Object> methodContext) |
protected ParameterConverterSupplier |
extractConverter(String elementType,
org.jboss.jandex.IndexView indexView,
Map<String,String> existingConverters,
String errorLocation,
boolean hasRuntimeConverters) |
protected void |
handleAdditionalMethodProcessing(ServerResourceMethod method,
org.jboss.jandex.ClassInfo currentClassInfo,
org.jboss.jandex.MethodInfo info) |
protected void |
handleConverter(String currentTypeName,
org.jboss.jandex.FieldInfo field) |
protected boolean |
handleCustomParameter(Map<org.jboss.jandex.DotName,org.jboss.jandex.AnnotationInstance> anns,
ServerIndexedParameter builder,
org.jboss.jandex.Type paramType,
boolean field,
Map<String,Object> methodContext) |
protected void |
handleFieldExtractors(String currentTypeName,
Map<org.jboss.jandex.FieldInfo,ServerIndexedParameter> fieldExtractors,
boolean superTypeIsInjectable) |
protected void |
handleListParam(Map<String,String> existingConverters,
String errorLocation,
boolean hasRuntimeConverters,
ServerIndexedParameter builder,
String elementType) |
protected void |
handleOptionalParam(Map<String,String> existingConverters,
String errorLocation,
boolean hasRuntimeConverters,
ServerIndexedParameter builder,
String elementType) |
protected void |
handleOtherParam(Map<String,String> existingConverters,
String errorLocation,
boolean hasRuntimeConverters,
ServerIndexedParameter builder,
String elementType) |
protected void |
handlePathSegmentParam(ServerIndexedParameter builder) |
protected void |
handleSetParam(Map<String,String> existingConverters,
String errorLocation,
boolean hasRuntimeConverters,
ServerIndexedParameter builder,
String elementType) |
protected void |
handleSortedSetParam(Map<String,String> existingConverters,
String errorLocation,
boolean hasRuntimeConverters,
ServerIndexedParameter builder,
String elementType) |
protected org.jboss.resteasy.reactive.common.model.InjectableBean |
scanInjectableBean(org.jboss.jandex.ClassInfo currentClassInfo,
org.jboss.jandex.ClassInfo actualEndpointInfo,
Map<String,String> existingConverters,
AdditionalReaders additionalReaders,
Map<String,org.jboss.resteasy.reactive.common.model.InjectableBean> injectableBeans,
boolean hasRuntimeConverters) |
applyAdditionalDefaults, createEndpoints, createEndpoints, extractParameterInfo, handleMultipart, isContextType, nameBindingNames, nameBindingNames, readStringValue, toClassNameprotected final EndpointInvokerFactory endpointInvokerFactory
protected final List<MethodScanner> methodScanners
protected ServerEndpointIndexer(ServerEndpointIndexer.AbstractBuilder builder)
protected void addWriterForType(AdditionalWriters additionalWriters, org.jboss.jandex.Type paramType)
addWriterForType in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>protected void addReaderForType(AdditionalReaders additionalReaders, org.jboss.jandex.Type paramType)
addReaderForType in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>protected ServerIndexedParameter createIndexedParam()
createIndexedParam in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>protected boolean handleCustomParameter(Map<org.jboss.jandex.DotName,org.jboss.jandex.AnnotationInstance> anns, ServerIndexedParameter builder, org.jboss.jandex.Type paramType, boolean field, Map<String,Object> methodContext)
handleCustomParameter in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>protected ServerResourceMethod createResourceMethod(org.jboss.jandex.MethodInfo methodInfo, Map<String,Object> methodContext)
createResourceMethod in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>protected void handleAdditionalMethodProcessing(ServerResourceMethod method, org.jboss.jandex.ClassInfo currentClassInfo, org.jboss.jandex.MethodInfo info)
protected org.jboss.resteasy.reactive.common.model.InjectableBean scanInjectableBean(org.jboss.jandex.ClassInfo currentClassInfo,
org.jboss.jandex.ClassInfo actualEndpointInfo,
Map<String,String> existingConverters,
AdditionalReaders additionalReaders,
Map<String,org.jboss.resteasy.reactive.common.model.InjectableBean> injectableBeans,
boolean hasRuntimeConverters)
scanInjectableBean in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>protected void handleFieldExtractors(String currentTypeName, Map<org.jboss.jandex.FieldInfo,ServerIndexedParameter> fieldExtractors, boolean superTypeIsInjectable)
protected void handleConverter(String currentTypeName, org.jboss.jandex.FieldInfo field)
protected org.jboss.resteasy.reactive.common.model.MethodParameter createMethodParameter(org.jboss.jandex.ClassInfo currentClassInfo,
org.jboss.jandex.ClassInfo actualEndpointInfo,
boolean encoded,
org.jboss.jandex.Type paramType,
ServerIndexedParameter parameterResult,
String name,
String defaultValue,
org.jboss.resteasy.reactive.common.model.ParameterType type,
String elementType,
boolean single,
String signature)
createMethodParameter in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>protected void handleOtherParam(Map<String,String> existingConverters, String errorLocation, boolean hasRuntimeConverters, ServerIndexedParameter builder, String elementType)
handleOtherParam in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>protected void handleSortedSetParam(Map<String,String> existingConverters, String errorLocation, boolean hasRuntimeConverters, ServerIndexedParameter builder, String elementType)
handleSortedSetParam in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>protected void handleOptionalParam(Map<String,String> existingConverters, String errorLocation, boolean hasRuntimeConverters, ServerIndexedParameter builder, String elementType)
handleOptionalParam in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>protected void handleSetParam(Map<String,String> existingConverters, String errorLocation, boolean hasRuntimeConverters, ServerIndexedParameter builder, String elementType)
handleSetParam in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>protected void handleListParam(Map<String,String> existingConverters, String errorLocation, boolean hasRuntimeConverters, ServerIndexedParameter builder, String elementType)
handleListParam in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>protected void handlePathSegmentParam(ServerIndexedParameter builder)
handlePathSegmentParam in class EndpointIndexer<ServerEndpointIndexer,ServerIndexedParameter,ServerResourceMethod>Copyright © 2021 JBoss by Red Hat. All rights reserved.