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 Summary
All 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
- 
createMethodHandle
public static MethodHandle createMethodHandle(Method method, Object clientProxy)
Create method handle to call a default method- Parameters:
 method- method to create the handle forclientProxy- proxy of the rest client- Returns:
 - method handle
 
 
- 
resolveMethod
public 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.]methodNameinterfaceClass- class of the interface, on which the method was definedheaderName- name of the header for which the method should be called- Returns:
 - method to be called
 
 
 - 
 
 -