Class SubscriberController


  • @RestController
    @CrossOrigin(origins="*")
    public class SubscriberController
    extends Object
    Created by argirok on 2/3/2018.
    • Constructor Detail

      • SubscriberController

        public SubscriberController()
    • Method Detail

      • getSubscriber

        @RequestMapping(value="/subscriber",
                        method=GET)
        public List<Subscriber> getSubscriber()
                                       throws eu.dnetlib.uoaadmintoolslibrary.handlers.ContentNotFoundException
        Throws:
        eu.dnetlib.uoaadmintoolslibrary.handlers.ContentNotFoundException
      • getSubscriber

        @RequestMapping(value="/subscriber/{email}",
                        method=GET)
        public Subscriber getSubscriber​(@PathVariable(value="email",required=true)
                                        String email)
                                 throws eu.dnetlib.uoaadmintoolslibrary.handlers.ContentNotFoundException
        Throws:
        eu.dnetlib.uoaadmintoolslibrary.handlers.ContentNotFoundException