Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Unknown
Description
final Client client = ClientBuilder.newClient() .register(new ClientRequestFilter() { @Override public void filter(final ClientRequestContext requestContext) throws IOException { requestContext.getHeaders().put("Authorization", singletonList("....")); } });
this code works but if you migrate as allowed by java 8 to filter to a lambda then cxf doesnt identify the type properly and bypass it