Created
March 16, 2017 17:57
-
-
Save kinathru/2897f79ae5b86fee5af015d9043f0667 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.kinath.interwar; | |
import org.springframework.web.bind.annotation.CrossOrigin; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
import org.springframework.web.bind.annotation.RequestMethod; | |
import org.springframework.web.bind.annotation.RestController; | |
/** | |
* Created by Kinath on 3/15/2017. | |
*/ | |
@CrossOrigin | |
@RestController | |
@RequestMapping("/frontservice") | |
public class FronRestController | |
{ | |
@RequestMapping(value = "/frontmessage",method = RequestMethod.GET) | |
public String getFrontMessage() | |
{ | |
return ServiceHandler.getiGroundService().getMessage(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment