Conditions | 1 |
Total Lines | 5 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | package com.hltech.pact.gen.domain.client.jaxrs; |
||
28 | private RequestRepresentation extractRequestProperties(Method clientMethod) { |
||
29 | return this.annotatedMethodHandlers.stream() |
||
30 | .filter(annotationHandler -> annotationHandler.isSupported(clientMethod)) |
||
31 | .findFirst().orElseThrow(() -> new IllegalArgumentException("Unknown HTTP method")) |
||
32 | .handleRequest(clientMethod); |
||
33 | } |
||
35 |