Interface HeaderFillerFactory
- 
- All Known Implementing Classes:
 DefaultHeaderFillerFactory
public interface HeaderFillerFactory- Author:
 - Michal Szynkiewicz, michal.l.szynkiewicz@gmail.com 2020-07-10
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract 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
int getPriority()
If multipleHeaderFillerFactory's are defined, the one with the highest priority is used- Returns:
 - the priority
 
 
- 
createFiller
HeaderFiller createFiller(String value, String headerName, boolean required, Class<?> interfaceClass, Object clientProxy)
CreatesHeaderFiller, will be called once for each method withClientHeaderParamannotation- 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
 
 
 - 
 
 -