cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <>
Subject [jira] [Created] (CXF-7332) JAXRS Client API doesnt support lambda
Date Tue, 11 Apr 2017 17:22:41 GMT
Romain Manni-Bucau created CXF-7332:

             Summary: JAXRS Client API doesnt support lambda
                 Key: CXF-7332
             Project: CXF
          Issue Type: Bug
            Reporter: Romain Manni-Bucau

final Client client = ClientBuilder.newClient()
                .register(new ClientRequestFilter() {
                    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

This message was sent by Atlassian JIRA

View raw message