Skip navigation links
A B C D G J N P R S X 

A

AbstractBodyHandler - Class in com.pkrete.xrd4j.rest.client
This abstract class offers method for adding HTTP request body to the HTTP request.
AbstractBodyHandler() - Constructor for class com.pkrete.xrd4j.rest.client.AbstractBodyHandler
 
AbstractClient - Class in com.pkrete.xrd4j.rest.client
This is an abstract base class for classes implementing GET, POST, PUT and DELETE HTTP clients.
AbstractClient() - Constructor for class com.pkrete.xrd4j.rest.client.AbstractClient
 

B

buildRequestEntity(String, Map<String, String>) - Method in class com.pkrete.xrd4j.rest.client.AbstractBodyHandler
Builds a new StringEntity object that's used as HTTP request body.
buildTargetURL(String, Map<String, ?>) - Static method in class com.pkrete.xrd4j.rest.util.ClientUtil
Builds the target URL based on the given based URL and parameters Map.
buildtHttpRequest(String, String, Map<String, String>) - Method in class com.pkrete.xrd4j.rest.client.AbstractClient
 
buildtHttpRequest(String, String, Map<String, String>) - Method in class com.pkrete.xrd4j.rest.client.DeleteClient
Builds a new HTTP DELETE request with the given URL and request body.
buildtHttpRequest(String, String, Map<String, String>) - Method in class com.pkrete.xrd4j.rest.client.GetClient
Builds a new HTTP GET request with the given URL.
buildtHttpRequest(String, String, Map<String, String>) - Method in class com.pkrete.xrd4j.rest.client.PostClient
Builds a new HTTP POST request with the given URL and request body.
buildtHttpRequest(String, String, Map<String, String>) - Method in class com.pkrete.xrd4j.rest.client.PutClient
Builds a new HTTP PUT request with the given URL and request body.

C

ClientResponse - Class in com.pkrete.xrd4j.rest
This class represents the response returned by HTTP clients.
ClientResponse(String, String, int, String) - Constructor for class com.pkrete.xrd4j.rest.ClientResponse
Constructs and initializes a new ClientResponse object.
ClientUtil - Class in com.pkrete.xrd4j.rest.util
This class contains utility methods for REST clients.
com.pkrete.xrd4j.rest - package com.pkrete.xrd4j.rest
 
com.pkrete.xrd4j.rest.client - package com.pkrete.xrd4j.rest.client
 
com.pkrete.xrd4j.rest.converter - package com.pkrete.xrd4j.rest.converter
 
com.pkrete.xrd4j.rest.util - package com.pkrete.xrd4j.rest.util
 
convert(String) - Method in interface com.pkrete.xrd4j.rest.converter.Converter
Converts the given string between formats defined by the implementing class.
convert(String) - Method in class com.pkrete.xrd4j.rest.converter.JSONToXMLConverter
Converts the given JSON string to XML string.
convert(String) - Method in class com.pkrete.xrd4j.rest.converter.XMLToJSONConverter
Converts the given XML string to JSON string.
Converter - Interface in com.pkrete.xrd4j.rest.converter
An interface for converting XML, JSON and JSON-LD.
createRESTClient(String) - Static method in class com.pkrete.xrd4j.rest.client.RESTClientFactory
Creates a new RESTClient object matching the given HTTP verb.

D

DeleteClient - Class in com.pkrete.xrd4j.rest.client
This class offers a REST client for HTTP DELETE requests.
DeleteClient() - Constructor for class com.pkrete.xrd4j.rest.client.DeleteClient
 

G

GetClient - Class in com.pkrete.xrd4j.rest.client
This class offers a REST client for HTTP GET requests.
GetClient() - Constructor for class com.pkrete.xrd4j.rest.client.GetClient
 
getContentType() - Method in class com.pkrete.xrd4j.rest.ClientResponse
Returns the content type of the response message.
getData() - Method in class com.pkrete.xrd4j.rest.ClientResponse
Returns the payload of the response message.
getReasonPhrase() - Method in class com.pkrete.xrd4j.rest.ClientResponse
Returns the reason phrase of this response.
getResponseString(HttpEntity) - Static method in class com.pkrete.xrd4j.rest.util.ClientUtil
Extracts the response string from the given HttpEntity.
getStatusCode() - Method in class com.pkrete.xrd4j.rest.ClientResponse
Returns the HTTP status code of the response message.

J

JSONToXMLConverter - Class in com.pkrete.xrd4j.rest.converter
This class converts JSON strings to XML strings.
JSONToXMLConverter() - Constructor for class com.pkrete.xrd4j.rest.converter.JSONToXMLConverter
 

N

normalizeObject(JSONObject) - Method in class com.pkrete.xrd4j.rest.converter.XMLToJSONConverter
 

P

PostClient - Class in com.pkrete.xrd4j.rest.client
This class offers a REST client for HTTP POST requests.
PostClient() - Constructor for class com.pkrete.xrd4j.rest.client.PostClient
 
PutClient - Class in com.pkrete.xrd4j.rest.client
This class offers a REST client for HTTP PUT requests.
PutClient() - Constructor for class com.pkrete.xrd4j.rest.client.PutClient
 

R

RESTClient - Interface in com.pkrete.xrd4j.rest.client
This class defines an interface for all the REST client classes that implement GET, POST, PUT and DELETE clients.
RESTClientFactory - Class in com.pkrete.xrd4j.rest.client
This is a factory class that's responsible for creating REST client objects according to the given parameters.

S

send(String, String, Map<String, ?>, Map<String, String>) - Method in class com.pkrete.xrd4j.rest.client.AbstractClient
Makes a HTTP request to the given URL using the given request body, parameters and HTTP headers.
send(String, String, Map<String, ?>, Map<String, String>) - Method in interface com.pkrete.xrd4j.rest.client.RESTClient
Makes a HTTP request to the given URL using the given request body, parameters and HTTP headers.
setContentType(String) - Method in class com.pkrete.xrd4j.rest.ClientResponse
Sets the content type of the response message.
setData(String) - Method in class com.pkrete.xrd4j.rest.ClientResponse
Sets the payload of the response message.
setReasonPhrase(String) - Method in class com.pkrete.xrd4j.rest.ClientResponse
Updates this response with a new reason phrase.
setStatusCode(int) - Method in class com.pkrete.xrd4j.rest.ClientResponse
Updates the status line of this response with a new status code.

X

XMLToJSONConverter - Class in com.pkrete.xrd4j.rest.converter
This class converts XML strings to JSON strings.
XMLToJSONConverter() - Constructor for class com.pkrete.xrd4j.rest.converter.XMLToJSONConverter
 
A B C D G J N P R S X 
Skip navigation links

Copyright © 2014–2017. All rights reserved.