Class DefaultHeaderFillerFactory
- java.lang.Object
 - 
- org.jboss.resteasy.microprofile.client.header.DefaultHeaderFillerFactory
 
 
- 
- All Implemented Interfaces:
 HeaderFillerFactory
public class DefaultHeaderFillerFactory extends Object implements HeaderFillerFactory
- Author:
 - Michal Szynkiewicz, michal.l.szynkiewicz@gmail.com 2020-07-10
 
 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultHeaderFillerFactory() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeaderFillercreateFiller(String value, String headerName, boolean required, Class<?> interfaceClass, Object clientProxy)CreatesHeaderFiller, will be called once for each method withClientHeaderParamannotationintgetPriority()If multipleHeaderFillerFactory's are defined, the one with the highest priority is used 
 - 
 
- 
- 
Method Detail
- 
getPriority
public int getPriority()
Description copied from interface:HeaderFillerFactoryIf multipleHeaderFillerFactory's are defined, the one with the highest priority is used- Specified by:
 getPriorityin interfaceHeaderFillerFactory- Returns:
 - the priority
 
 
- 
createFiller
public HeaderFiller createFiller(String value, String headerName, boolean required, Class<?> interfaceClass, Object clientProxy)
Description copied from interface:HeaderFillerFactoryCreatesHeaderFiller, will be called once for each method withClientHeaderParamannotation- Specified by:
 createFillerin interfaceHeaderFillerFactory- Parameters:
 value- value of the annotationheaderName- name of the header to generaterequired- if true, a failure of header computation will fail the rest client invocationinterfaceClass- JAX-RS interface classclientProxy- proxy object- Returns:
 - an object that can generate the header value
 
 
 - 
 
 -