SlideShare a Scribd company logo
Developing RESTful APIs using JAX-RS
HTTP MESSAGES
 16 years of Industry Experience
 Worked in Hughes, HCL India PVT LTD, IBM India PVT LTD, CSC India ( > 4 years)
Proficiency
 Project managed full life cycle application & product development and run/
maintenance projects
 Agile Coach, Certified PMP®, and Certified ITIL® Foundation Associate
Passion
 Imparting Knowledge through Trainings, webinars, conference & Articles
Contact Details
Email: sureshkumarmadhra@yahoo.com
LinkedIn: https://www.linkedin.com/in/sureshmadhra
About Suresh Madhra
HTTP Communication
HTTP Request Message
HTTP request message is sent from the client (Brower) to HTTP Web-Server.
Request message contain:
 location of a resource or resource URI
 HTTP method to use when accessing the resource.
 Optional request headers (name-value pairs) providing additional
information
 Request body that identifies additional data to be uploaded to the
server (e.g. form parameters, attachments, etc.)
HTTP Response Message
HTTP response message is sent from HTTP Web-Server back to the client
(Web-Browser).
Response message contain:
 Carry status of processed request.
 Provide response headers (name-value pairs) providing additional
information about the response
 Supplies optional response body that identifies additional data to be
downloaded to the server (e.g. html, images, attachments etc.
HTTP Request and Response Message
HTTP Request/ Response Message Format
Request
HTTP Request Line
/fruits/list?category=fruits&limits=20
Path to resource Query string
HTTP /1.1
HTTP Methods
HTTP General Header
Request/ Response General Header
 Carry information about the HTTP transaction
 Can be a part of request, as well as response
General Headers
HTTP Request Header
Request Header
 Specific to an HTTP Request
 Carry information about the client, and the type of request
 Facilitates better understanding between client and server
Request Headers
HTTP Entity Header
Request/ Response Entity Header
 Carry information about the content
 Mainly part of HTTP Response
Entity Headers
HTTP Response Status code
Response Status Code
 Indicate the server’s processed status corresponding to a request
 Combination of a numerical code, and a short description

More Related Content

PPTX
Restful Fundamentals
PDF
ReST (Representational State Transfer) Explained
PDF
ReSTful API Final
PPT
The Rest Architectural Style
PDF
REST - Representational state transfer
PPTX
RESTful web services using java and spring
PPT
Deploying RDF Linked Data via Virtuoso Universal Server
PPTX
Restful web services
Restful Fundamentals
ReST (Representational State Transfer) Explained
ReSTful API Final
The Rest Architectural Style
REST - Representational state transfer
RESTful web services using java and spring
Deploying RDF Linked Data via Virtuoso Universal Server
Restful web services

What's hot (20)

PDF
The never-ending REST API design debate -- Devoxx France 2016
PPT
Virtuoso Universal Server Overview
PPTX
PPTX
REST API Design
PPTX
WebLogic Developer Webcast 1: JPA 2.0
PDF
How to design a good REST API: Tools, techniques and best practices
PPT
Solving Real Problems Using Linked Data
ODP
Introduction to OData
PPT
B08 A3pc 90 Diapo Damy En
ODP
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
PDF
A Look at OData
KEY
REpresentational State Transfer
PDF
M.sc. engg (ict) admission guide database management system 4
PDF
Novelties in Java EE 7: JAX-RS 2.0 + IPT REST HATEOAS Polling Demo @ BGOUG Co...
PPT
EAD Revision, EAC-CPF introduction
PDF
IRJET- Rest API for E-Commerce Site
PDF
Web 13 | REST API
PPTX
RESTful APIs in .NET
PPT
Building RESTful Applications with OData
PPTX
JAX-RS 2.0 and OData
The never-ending REST API design debate -- Devoxx France 2016
Virtuoso Universal Server Overview
REST API Design
WebLogic Developer Webcast 1: JPA 2.0
How to design a good REST API: Tools, techniques and best practices
Solving Real Problems Using Linked Data
Introduction to OData
B08 A3pc 90 Diapo Damy En
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
A Look at OData
REpresentational State Transfer
M.sc. engg (ict) admission guide database management system 4
Novelties in Java EE 7: JAX-RS 2.0 + IPT REST HATEOAS Polling Demo @ BGOUG Co...
EAD Revision, EAC-CPF introduction
IRJET- Rest API for E-Commerce Site
Web 13 | REST API
RESTful APIs in .NET
Building RESTful Applications with OData
JAX-RS 2.0 and OData
Ad

Similar to Rest http basics (20)

PPTX
hhtp (3).pptx hyper text transfer protocol
PPTX
PPTX
Hypertex transfer protocol
PPTX
Web technology Unit-I Part D - message format
PPTX
PDF
Ch2 the application layer protocols_http_3
PPTX
HTTP Protocol.pptx network and security protocol
PPTX
HTTP fundamentals for developers
PPT
Web Services 2009
PPT
Web Services 2009
PPTX
The HTTP and Web
PDF
Introduction to HTTP
PPT
web_01_HTTP.ppt
PPT
Http request&response
PPTX
HTTP request and response
PDF
PDF
About Http Connection
PPTX
PPT
Http VS. Https
hhtp (3).pptx hyper text transfer protocol
Hypertex transfer protocol
Web technology Unit-I Part D - message format
Ch2 the application layer protocols_http_3
HTTP Protocol.pptx network and security protocol
HTTP fundamentals for developers
Web Services 2009
Web Services 2009
The HTTP and Web
Introduction to HTTP
web_01_HTTP.ppt
Http request&response
HTTP request and response
About Http Connection
Http VS. Https
Ad

Recently uploaded (20)

PPT
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
PDF
Key Trends in Website Development 2025 | B3AITS - Bow & 3 Arrows IT Solutions
PPTX
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
PPTX
mahatma gandhi bus terminal in india Case Study.pptx
PPTX
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
PDF
Quality Control Management for RMG, Level- 4, Certificate
PPTX
YV PROFILE PROJECTS PROFILE PRES. DESIGN
PPTX
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
PPTX
Fundamental Principles of Visual Graphic Design.pptx
PPT
UNIT I- Yarn, types, explanation, process
PDF
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
PPTX
Special finishes, classification and types, explanation
PPTX
CLASS_11_BUSINESS_STUDIES_PPT_CHAPTER_1_Business_Trade_Commerce.pptx
PDF
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
PPT
Machine printing techniques and plangi dyeing
PPTX
building Planning Overview for step wise design.pptx
PPTX
Tenders & Contracts Works _ Services Afzal.pptx
DOCX
actividad 20% informatica microsoft project
DOCX
The story of the first moon landing.docx
PDF
Skskkxiixijsjsnwkwkaksixindndndjdjdjsjjssk
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
Key Trends in Website Development 2025 | B3AITS - Bow & 3 Arrows IT Solutions
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
mahatma gandhi bus terminal in india Case Study.pptx
Complete Guide to Microsoft PowerPoint 2019 – Features, Tools, and Tips"
Quality Control Management for RMG, Level- 4, Certificate
YV PROFILE PROJECTS PROFILE PRES. DESIGN
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
Fundamental Principles of Visual Graphic Design.pptx
UNIT I- Yarn, types, explanation, process
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
Special finishes, classification and types, explanation
CLASS_11_BUSINESS_STUDIES_PPT_CHAPTER_1_Business_Trade_Commerce.pptx
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
Machine printing techniques and plangi dyeing
building Planning Overview for step wise design.pptx
Tenders & Contracts Works _ Services Afzal.pptx
actividad 20% informatica microsoft project
The story of the first moon landing.docx
Skskkxiixijsjsnwkwkaksixindndndjdjdjsjjssk

Rest http basics

  • 1. Developing RESTful APIs using JAX-RS HTTP MESSAGES
  • 2.  16 years of Industry Experience  Worked in Hughes, HCL India PVT LTD, IBM India PVT LTD, CSC India ( > 4 years) Proficiency  Project managed full life cycle application & product development and run/ maintenance projects  Agile Coach, Certified PMP®, and Certified ITIL® Foundation Associate Passion  Imparting Knowledge through Trainings, webinars, conference & Articles Contact Details Email: sureshkumarmadhra@yahoo.com LinkedIn: https://www.linkedin.com/in/sureshmadhra About Suresh Madhra
  • 4. HTTP Request Message HTTP request message is sent from the client (Brower) to HTTP Web-Server. Request message contain:  location of a resource or resource URI  HTTP method to use when accessing the resource.  Optional request headers (name-value pairs) providing additional information  Request body that identifies additional data to be uploaded to the server (e.g. form parameters, attachments, etc.)
  • 5. HTTP Response Message HTTP response message is sent from HTTP Web-Server back to the client (Web-Browser). Response message contain:  Carry status of processed request.  Provide response headers (name-value pairs) providing additional information about the response  Supplies optional response body that identifies additional data to be downloaded to the server (e.g. html, images, attachments etc.
  • 6. HTTP Request and Response Message
  • 7. HTTP Request/ Response Message Format Request
  • 10. HTTP General Header Request/ Response General Header  Carry information about the HTTP transaction  Can be a part of request, as well as response General Headers
  • 11. HTTP Request Header Request Header  Specific to an HTTP Request  Carry information about the client, and the type of request  Facilitates better understanding between client and server Request Headers
  • 12. HTTP Entity Header Request/ Response Entity Header  Carry information about the content  Mainly part of HTTP Response Entity Headers
  • 13. HTTP Response Status code Response Status Code  Indicate the server’s processed status corresponding to a request  Combination of a numerical code, and a short description