Class HeaderUtils
- java.lang.Object
- 
- org.jboss.resteasy.microprofile.client.header.HeaderUtils
 
- 
 public class HeaderUtils extends Object - Author:
- Michal Szynkiewicz, michal.l.szynkiewicz@gmail.com 2020-07-10
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>castListToListOfStrings(List<?> result)casts List<?> to List of Stringsstatic MethodHandlecreateMethodHandle(Method method, Object clientProxy)Create method handle to call a default methodstatic MethodresolveMethod(String methodSpecifier, Class<?> interfaceClass, String headerName)resolve method of a given name in a given interface class
 
- 
- 
- 
Method Detail- 
createMethodHandlepublic static MethodHandle createMethodHandle(Method method, Object clientProxy) Create method handle to call a default method- Parameters:
- method- method to create the handle for
- clientProxy- proxy of the rest client
- Returns:
- method handle
 
 - 
resolveMethodpublic static Method resolveMethod(String methodSpecifier, Class<?> interfaceClass, String headerName) resolve method of a given name in a given interface class- Parameters:
- methodSpecifier- [fully.quallified.ClassName.]methodName
- interfaceClass- class of the interface, on which the method was defined
- headerName- name of the header for which the method should be called
- Returns:
- method to be called
 
 
- 
 
-