public class HeaderUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
castListToListOfStrings(List<?> result)
casts List<?> to List of Strings
|
static MethodHandle |
createMethodHandle(Method method,
Object clientProxy)
Create method handle to call a default method
|
static Method |
resolveMethod(String methodSpecifier,
Class<?> interfaceClass,
String headerName)
resolve method of a given name in a given interface class
|
public static MethodHandle createMethodHandle(Method method, Object clientProxy)
method - method to create the handle forclientProxy - proxy of the rest clientpublic static Method resolveMethod(String methodSpecifier, Class<?> interfaceClass, String headerName)
methodSpecifier - [fully.quallified.ClassName.]methodNameinterfaceClass - class of the interface, on which the method was definedheaderName - name of the header for which the method should be calledCopyright © 2021 JBoss by Red Hat. All rights reserved.