@Test public void testGetUserInfoPost() throws Exception { }
public ResponseEntity<UserInfo> getUserInfoPost(@ApiParam(value = "") @Valid @RequestBody UserId body) { String accept = request.getHeader("Accept"); if (accept != null && accept.contains("application/json")) { try { UserInfo userInfo = userInfoService.getUserInfo(body); return new ResponseEntity<UserInfo>(userInfo, HttpStatus.OK); } catch (UserInfoServiceImpl.UserInfoServiceException e) { ResponseEntity<UserInfo> objectResponseEntity = new ResponseEntity<>(HttpStatus.BAD_REQUEST); e.printStackTrace(); return objectResponseEntity; } } return new ResponseEntity<UserInfo>(HttpStatus.NOT_IMPLEMENTED); }
GetUserInfoApiController implements GetUserInfoApi { public ResponseEntity<UserInfo> getUserInfoPost(@ApiParam(value = "") @Valid @RequestBody UserId body) { String accept = request.getHeader("Accept"); if (accept != null && accept.contains("application/json")) { try { UserInfo userInfo = userInfoService.getUserInfo(body); return new ResponseEntity<UserInfo>(userInfo, HttpStatus.OK); } catch (UserInfoServiceImpl.UserInfoServiceException e) { ResponseEntity<UserInfo> objectResponseEntity = new ResponseEntity<>(HttpStatus.BAD_REQUEST); e.printStackTrace(); return objectResponseEntity; } } return new ResponseEntity<UserInfo>(HttpStatus.NOT_IMPLEMENTED); } }
GetUserInfoApiController implements GetUserInfoApi { public ResponseEntity<UserInfo> getUserInfoPost(@ApiParam(value = "") @Valid @RequestBody UserId body) { String accept = request.getHeader("Accept"); if (accept != null && accept.contains("application/json")) { try { UserInfo userInfo = userInfoService.getUserInfo(body); return new ResponseEntity<UserInfo>(userInfo, HttpStatus.OK); } catch (UserInfoServiceImpl.UserInfoServiceException e) { ResponseEntity<UserInfo> objectResponseEntity = new ResponseEntity<>(HttpStatus.BAD_REQUEST); e.printStackTrace(); return objectResponseEntity; } } return new ResponseEntity<UserInfo>(HttpStatus.NOT_IMPLEMENTED); } @org.springframework.beans.factory.annotation.Autowired  GetUserInfoApiController(ObjectMapper objectMapper, HttpServletRequest request); }
GetUserInfoApiController implements GetUserInfoApi { public ResponseEntity<UserInfo> getUserInfoPost(@ApiParam(value = "") @Valid @RequestBody UserId body) { String accept = request.getHeader("Accept"); if (accept != null && accept.contains("application/json")) { try { UserInfo userInfo = userInfoService.getUserInfo(body); return new ResponseEntity<UserInfo>(userInfo, HttpStatus.OK); } catch (UserInfoServiceImpl.UserInfoServiceException e) { ResponseEntity<UserInfo> objectResponseEntity = new ResponseEntity<>(HttpStatus.BAD_REQUEST); e.printStackTrace(); return objectResponseEntity; } } return new ResponseEntity<UserInfo>(HttpStatus.NOT_IMPLEMENTED); } @org.springframework.beans.factory.annotation.Autowired  GetUserInfoApiController(ObjectMapper objectMapper, HttpServletRequest request); ResponseEntity<UserInfo> getUserInfoPost(@ApiParam(value = "") @Valid @RequestBody UserId body); }
GetUserInfoApiController implements GetUserInfoApi { public ResponseEntity<UserInfo> getUserInfoPost(@ApiParam(value = "") @Valid @RequestBody UserId body) { String accept = request.getHeader("Accept"); if (accept != null && accept.contains("application/json")) { try { UserInfo userInfo = userInfoService.getUserInfo(body); return new ResponseEntity<UserInfo>(userInfo, HttpStatus.OK); } catch (UserInfoServiceImpl.UserInfoServiceException e) { ResponseEntity<UserInfo> objectResponseEntity = new ResponseEntity<>(HttpStatus.BAD_REQUEST); e.printStackTrace(); return objectResponseEntity; } } return new ResponseEntity<UserInfo>(HttpStatus.NOT_IMPLEMENTED); } @org.springframework.beans.factory.annotation.Autowired  GetUserInfoApiController(ObjectMapper objectMapper, HttpServletRequest request); ResponseEntity<UserInfo> getUserInfoPost(@ApiParam(value = "") @Valid @RequestBody UserId body);  }