Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. @FeignClient(value="auth", configuration = AuthClientConfiguration.class)
  2.  
  3. public interface AuthClient {
  4. @RequestMapping(method = RequestMethod.GET, value = "/tokens", consumes = MediaType.APPLICATION_JSON_VALUE)
  5. Single<Session> getSession(@RequestHeader("Authorization") String token);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement