Demo entry 6762436

java-test1

   

Submitted by anonymous on Oct 15, 2018 at 03:21
Language: Java. Code size: 350 Bytes.

@FeignClient("vodapi")
public interface VideoFeignClient {
    @GetMapping(value = "/videos/v1/{videoId}", produces = MediaType.APPLICATION_JSON_VALUE)
    Video getVideo(
            @RequestHeader(Constants.KEY) String key,
            @PathVariable("videoId") String videoId,
            @RequestParam("webPath") Boolean webPath
    );
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).