public final class AnnotatedServiceFactory extends Object
AnnotatedServices from an Object.
This class is not supposed to be used by a user. Please check out the documentation
Annotated HTTP Service to use AnnotatedService.| Modifier and Type | Method and Description |
|---|---|
static List<AnnotatedServiceElement> |
find(String pathPrefix,
Object object,
List<RequestConverterFunction> requestConverterFunctions,
List<ResponseConverterFunction> responseConverterFunctions,
List<ExceptionHandlerFunction> exceptionHandlerFunctions)
Returns the list of
AnnotatedService defined by Path and HTTP method annotations
from the specified object, RequestConverterFunctions, ResponseConverterFunctions,
ExceptionHandlerFunctions and AnnotatedServiceExtensions. |
public static List<AnnotatedServiceElement> find(String pathPrefix, Object object, List<RequestConverterFunction> requestConverterFunctions, List<ResponseConverterFunction> responseConverterFunctions, List<ExceptionHandlerFunction> exceptionHandlerFunctions)
AnnotatedService defined by Path and HTTP method annotations
from the specified object, RequestConverterFunctions, ResponseConverterFunctions,
ExceptionHandlerFunctions and AnnotatedServiceExtensions.Copyright © 2020 LeanCloud. All rights reserved.