public interface ServiceRestMetadataResolver
REST metadata from the specified
Dubbo Service interface or type.| 限定符和类型 | 方法和说明 |
|---|---|
ServiceRestMetadata |
resolve(Class<?> serviceType)
Resolve the
REST metadata from the specified
Dubbo Service interface or type |
boolean |
supports(Class<?> serviceType)
Support to resolve
REST metadata or not |
boolean supports(Class<?> serviceType)
REST metadata or notserviceType - Dubbo Service interface or typetrue, or falseServiceRestMetadata resolve(Class<?> serviceType)
REST metadata from the specified
Dubbo Service interface or typeserviceType - Dubbo Service interface or typeCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.