Class SubscriberController
- java.lang.Object
-
- eu.dnetlib.uoaadmintools.controllers.SubscriberController
-
@RestController @CrossOrigin(origins="*") public class SubscriberController extends Object
Created by argirok on 2/3/2018.
-
-
Constructor Summary
Constructors Constructor Description SubscriberController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Subscriber>getSubscriber()SubscribergetSubscriber(String email)
-
-
-
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
-
-