public class DefaultHeaderFillerFactory extends Object implements HeaderFillerFactory
Constructor and Description |
---|
DefaultHeaderFillerFactory() |
Modifier and Type | Method and Description |
---|---|
HeaderFiller |
createFiller(String value,
String headerName,
boolean required,
Class<?> interfaceClass,
Object clientProxy)
Creates
HeaderFiller , will be called once for each method with
ClientHeaderParam annotation |
int |
getPriority()
If multiple
HeaderFillerFactory 's are defined, the one with the highest priority is used |
public int getPriority()
HeaderFillerFactory
HeaderFillerFactory
's are defined, the one with the highest priority is usedgetPriority
in interface HeaderFillerFactory
public HeaderFiller createFiller(String value, String headerName, boolean required, Class<?> interfaceClass, Object clientProxy)
HeaderFillerFactory
HeaderFiller
, will be called once for each method with
ClientHeaderParam
annotationcreateFiller
in interface HeaderFillerFactory
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 objectCopyright © 2021 JBoss by Red Hat. All rights reserved.