@RestController public class UserController extends Object
| Constructor and Description |
|---|
UserController(UserInfoService userInfoService,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<User> |
getUserInfo() |
void |
redirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
@Autowired public UserController(UserInfoService userInfoService, Properties properties)
@RequestMapping(value="/userInfo",
method=GET)
public org.springframework.http.ResponseEntity<User> getUserInfo()
@RequestMapping(value="/redirect",
method=GET)
public void redirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionCopyright © 2023. All rights reserved.