06100nam 22007215 450 991030063930332120200705234715.09781484208236148420823410.1007/978-1-4842-0823-6(CKB)3710000000433708(EBL)2094193(SSID)ssj0001525114(PQKBManifestationID)11820824(PQKBTitleCode)TC0001525114(PQKBWorkID)11485254(PQKB)11051545(DE-He213)978-1-4842-0823-6(MiAaPQ)EBC2094193(CaSebORM)9781484208236(PPN)186394713(OCoLC)914301319(OCoLC)ocn914301319(EXLCZ)99371000000043370820150619d2015 u| 0engur|n|---|||||txtccrSpring REST /by Balaji Varanasi, Sudha Belida1st ed. 2015.Berkeley, CA :Apress :Imprint: Apress,2015.1 online resource (195 p.)The expert's voice in SpringIncludes index.9781484208243 1484208242 Contents at a Glance; Introduction; Chapter 1: Introduction to REST; What is REST?; Understanding Resources; Identifying Resources; URI Templates; Representation; HTTP Methods; Safety; Idempotency; GET; HEAD; DELETE; PUT; POST; PATCH; HTTP Status Codes; Richardson's Maturity Model; Level Zero; Level One; Level Two; Level Three; Building a RESTful API; Summary; Chapter 2: Spring Web MVC Primer; Spring Overview; Dependency Injection; Aspect Oriented Programming; Spring Web MVC Overview; Model View Controller Pattern; Spring Web MVC ArchitectureSpring Web MVC ComponentsController; Model; View ; @RequestParam; @ RequestMapping ; Path Variables; View Resolver; Exception Handler ; Interceptors; Summary; Chapter 3: RESTful Spring; Generating a Spring Boot Project; Installing a Build Tool; Generating a Project using start.spring.io; Generating a Project using STS; Generating a Project Using the CLI; Accessing REST Applications; Postman; RESTClient; Summary; Chapter 4: Beginning QuickPoll Application ; Introducing QuickPoll; Designing QuickPoll; Resource Identification; Resource Representation; Endpoint IdentificationAction Identification QuickPoll Architecture; Implementing QuickPoll; Domain Implementation; Repository Implementation; Embedded Database; API Implementation; PollController Implementation; VoteController Implementation; ComputeResultController Implementation; Summary; Chapter 5: Error Handling; QuickPoll Error Handling ; Error Responses; Input Field Validation; Externalizing Error Messages; Improving RestExceptionHandler ; Summary; Chapter 6: Documenting REST Services ; Swagger; Integrating Swagger; Swagger UI; Customizing Swagger; Configuring Controllers; Configuring UISummaryChapter 7: Versioning, Paging, and Sor ting; Versioning; Versioning Approaches; URI Versioning; URI Parameter Versioning; Accept Header Versioning; Custom Header Versioning; Deprecating an API; QuickPoll Versioning; Swagger config; Pagination ; Page Number Pagination ; Limit Offset Pagination; Cursor-Based Pagination; Time-Based Pagination; Pagination Data; QuickPoll Pagination; Changing Default Page Size; Sor ting; Sort Ascending or Sort Descending; QuickPoll Sorting ; Summary; Chapter 8: Security ; Securing REST Services; Session-based SecurityHTTP Basic Authentication Digest Authentication; Certificate-Based Security; XAuth; OAuth 2.0; OAuth Client Profiles; Refresh Tokens versus Access Tokens; Spring Security Overview; Note; Securing QuickPoll; cURL; User Infrastructure Setup; UserDetailsService Implementation; Customizing Spring Security; Securing URI; QuickPoll OAuth 2.0 Provider Implementation; Testing QuickPoll OAuth 2.0 Implementation; Note; Summary; Chapter 9: Clients and Testing; QuickPoll Java Client ; RestTemplate; Getting Polls; Creating a Poll; PUT Method; DELETE Method; Handling PaginationHandling Basic AuthenticationSpring REST is a practical guide for designing and developing RESTful APIs using the Spring Framework. This book walks you through the process of designing and building a REST application while taking a deep dive into design principles and best practices for versioning, security, documentation, error handling, paging, and sorting. This book provides a brief introduction to REST, HTTP, and web infrastructure. You will learn about several Spring projects such as Spring Boot, Spring MVC, Spring Data JPA, and Spring Security and the role they play in simplifying REST application development. You will learn how to build clients that consume REST services. Finally, you will learn how to use the Spring MVC test framework to unit test and integration test your REST API. After reading this book, you will come away with all the skills to build sophisticated REST applications using Spring technologies.Spring representational state transferJava (Computer program language)Software engineeringJavahttps://scigraph.springernature.com/ontologies/product-market-codes/I29070Software Engineering/Programming and Operating Systemshttps://scigraph.springernature.com/ontologies/product-market-codes/I14002Java (Computer program language)Software engineering.Java.Software Engineering/Programming and Operating Systems.004Varanasi Balajiauthttp://id.loc.gov/vocabulary/relators/aut879537Belida Sudhaauthttp://id.loc.gov/vocabulary/relators/autUMIUMIBOOK9910300639303321Spring REST2595314UNINA