A B C D E G M P Q R S V 

A

api(Request) - Method in class com.sendgrid.Client
A thin wrapper around the HTTP methods.

B

baseUri - Variable in class com.sendgrid.Request
 
buildUri(String, String, Map<String, String>) - Method in class com.sendgrid.Client
Add query parameters to a URL.

C

Client - Class in com.sendgrid
Class Client allows for quick and easy access any REST or REST-like API.
Client() - Constructor for class com.sendgrid.Client
Constructor for using the default CloseableHttpClient.
Client(CloseableHttpClient) - Constructor for class com.sendgrid.Client
Constructor for passing in an httpClient for mocking.
com.sendgrid - package com.sendgrid
 

D

delete(Request) - Method in class com.sendgrid.Client
Make a DELETE request and provide the status code and response headers.

E

endpoint - Variable in class com.sendgrid.Request
 

G

get(Request) - Method in class com.sendgrid.Client
Make a GET request and provide the status code, response body and response headers.
getResponse(CloseableHttpResponse) - Method in class com.sendgrid.Client
Prepare a Response object from an API call via Apache's HTTP client.

M

Method - Enum in com.sendgrid
Currently supported HTTP methods.
method - Variable in class com.sendgrid.Request
 

P

patch(Request) - Method in class com.sendgrid.Client
Make a PATCH request and provide the status code, response body and response headers.
post(Request) - Method in class com.sendgrid.Client
Make a POST request and provide the status code, response body and response headers.
put(Request) - Method in class com.sendgrid.Client
Make a PUT request and provide the status code, response body and response headers.

Q

queryParams - Variable in class com.sendgrid.Request
 

R

Request - Class in com.sendgrid
Class Response provides a standard interface to an API's HTTP request.
Request() - Constructor for class com.sendgrid.Request
 
requestBody - Variable in class com.sendgrid.Request
 
requestHeaders - Variable in class com.sendgrid.Request
 
reset() - Method in class com.sendgrid.Request
Place the object into an empty state.
reset() - Method in class com.sendgrid.Response
Place the object into an empty state.
Response - Class in com.sendgrid
Class Response provides a standard interface to an API's response.
Response(int, String, Map<String, String>) - Constructor for class com.sendgrid.Response
Set the API's response.
Response() - Constructor for class com.sendgrid.Response
 
responseBody - Variable in class com.sendgrid.Response
 
responseHeaders - Variable in class com.sendgrid.Response
 

S

statusCode - Variable in class com.sendgrid.Response
 

V

valueOf(String) - Static method in enum com.sendgrid.Method
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.sendgrid.Method
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G M P Q R S V