Package org.springframework.security.samples.data

Examples of org.springframework.security.samples.data.Message


        return new ResponseEntity<Iterable<Message>>(messages, HttpStatus.OK);
    }

    @RequestMapping("{id}")
    public ResponseEntity<Message> view(@PathVariable Long id) {
        Message message = messageRepository.findOne(id);
        return new ResponseEntity<Message>(message, HttpStatus.OK);
    }
View Full Code Here

TOP

Related Classes of org.springframework.security.samples.data.Message

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.