A B C D F G H I J M N O P S T U X 

A

ACCEPT - Static variable in class org.resthub.web.Http
Accept header name, define response content type
AUTHORIZATION - Static variable in class org.resthub.web.Http
Authorization header name

B

BAD_REQUEST - Static variable in class org.resthub.web.Http
BAD_REQUEST HTTP status code value
BadRequestClientException - Exception in org.resthub.web.exception
Exception mapped to Bad Request HTTP status code (400)
BadRequestClientException() - Constructor for exception org.resthub.web.exception.BadRequestClientException
 
BadRequestClientException(String, Throwable) - Constructor for exception org.resthub.web.exception.BadRequestClientException
 
BadRequestClientException(String) - Constructor for exception org.resthub.web.exception.BadRequestClientException
 
BadRequestClientException(Throwable) - Constructor for exception org.resthub.web.exception.BadRequestClientException
 

C

ClientException - Exception in org.resthub.web.exception
Base exception class for HTTP error requests
ClientException() - Constructor for exception org.resthub.web.exception.ClientException
 
ClientException(int) - Constructor for exception org.resthub.web.exception.ClientException
 
ClientException(int, String) - Constructor for exception org.resthub.web.exception.ClientException
 
ClientException(String, Throwable) - Constructor for exception org.resthub.web.exception.ClientException
 
ClientException(String) - Constructor for exception org.resthub.web.exception.ClientException
 
ClientException(Throwable) - Constructor for exception org.resthub.web.exception.ClientException
 
ClientExceptionFactory - Class in org.resthub.web.exception
 
ClientExceptionFactory() - Constructor for class org.resthub.web.exception.ClientExceptionFactory
 
CONFLICT - Static variable in class org.resthub.web.Http
CONFLICT HTTP status code value
ConflictClientException - Exception in org.resthub.web.exception
Exception mapped to Conflict HTTP status code (409)
ConflictClientException() - Constructor for exception org.resthub.web.exception.ConflictClientException
 
ConflictClientException(String, Throwable) - Constructor for exception org.resthub.web.exception.ConflictClientException
 
ConflictClientException(String) - Constructor for exception org.resthub.web.exception.ConflictClientException
 
ConflictClientException(Throwable) - Constructor for exception org.resthub.web.exception.ConflictClientException
 
content - Variable in class org.resthub.web.PageResponse
 
CONTENT_TYPE - Static variable in class org.resthub.web.Http
Content type header name, define request content type
CREATED - Static variable in class org.resthub.web.Http
CREATED HTTP status code value
createHttpExceptionFromStatusCode(int) - Static method in class org.resthub.web.exception.ClientExceptionFactory
 
createHttpExceptionFromStatusCode(int, String) - Static method in class org.resthub.web.exception.ClientExceptionFactory
 

D

deserialize(String, Class<T>) - Static method in class org.resthub.web.JsonHelper
Deserialize a JSON string
deserialize(String, TypeReference) - Static method in class org.resthub.web.JsonHelper
Deserialize a JSON string
deserialize(String, Class<T>) - Static method in class org.resthub.web.XmlHelper
Deserialize a XML string
deserialize(String, TypeReference) - Static method in class org.resthub.web.XmlHelper
Deserialize a XML string

F

FORBIDDEN - Static variable in class org.resthub.web.Http
FORBIDDEN HTTP status code value
ForbiddenClientException - Exception in org.resthub.web.exception
Exception mapped to forbidden Request HTTP status code (403)
ForbiddenClientException() - Constructor for exception org.resthub.web.exception.ForbiddenClientException
 
ForbiddenClientException(String, Throwable) - Constructor for exception org.resthub.web.exception.ForbiddenClientException
 
ForbiddenClientException(String) - Constructor for exception org.resthub.web.exception.ForbiddenClientException
 
ForbiddenClientException(Throwable) - Constructor for exception org.resthub.web.exception.ForbiddenClientException
 
FORM - Static variable in class org.resthub.web.Http
Form content type value, can be used for Accept or Content-type header
FOUND - Static variable in class org.resthub.web.Http
FOUND HTTP status code value

G

getContent() - Method in class org.resthub.web.PageResponse
 
getNumber() - Method in class org.resthub.web.PageResponse
 
getNumberOfElements() - Method in class org.resthub.web.PageResponse
 
getObjectMapper() - Method in class org.resthub.web.JsonHelper
Return the ObjectMapper.
getObjectMapper() - Method in class org.resthub.web.XmlHelper
 
getSize() - Method in class org.resthub.web.PageResponse
 
getSort() - Method in class org.resthub.web.PageResponse
 
getStatusCode() - Method in exception org.resthub.web.exception.ClientException
 
getTotalElements() - Method in class org.resthub.web.PageResponse
 
getTotalPages() - Method in class org.resthub.web.PageResponse
 

H

hasContent() - Method in class org.resthub.web.PageResponse
 
hasNextPage() - Method in class org.resthub.web.PageResponse
 
hasPreviousPage() - Method in class org.resthub.web.PageResponse
 
Http - Class in org.resthub.web
HTTP status code and header constant definitions
Http() - Constructor for class org.resthub.web.Http
 

I

initialize() - Static method in class org.resthub.web.JsonHelper
 
initialize() - Static method in class org.resthub.web.XmlHelper
 
INTERNAL_SERVER_ERROR - Static variable in class org.resthub.web.Http
INTERNAL_SERVER_ERROR HTTP status code value
InternalServerErrorClientException - Exception in org.resthub.web.exception
Exception mapped to Internal Server Error HTTP status code (500)
InternalServerErrorClientException() - Constructor for exception org.resthub.web.exception.InternalServerErrorClientException
 
InternalServerErrorClientException(String, Throwable) - Constructor for exception org.resthub.web.exception.InternalServerErrorClientException
 
InternalServerErrorClientException(String) - Constructor for exception org.resthub.web.exception.InternalServerErrorClientException
 
InternalServerErrorClientException(Throwable) - Constructor for exception org.resthub.web.exception.InternalServerErrorClientException
 
isFirstPage() - Method in class org.resthub.web.PageResponse
 
isLastPage() - Method in class org.resthub.web.PageResponse
 
iterator() - Method in class org.resthub.web.PageResponse
 

J

JSON - Static variable in class org.resthub.web.Http
JSON content type value, can be used for Accept or Content-type header
JsonHelper - Class in org.resthub.web
Helper for JSON serialization and deserialization
JsonHelper() - Constructor for class org.resthub.web.JsonHelper
 

M

MOVED_PERMANENTLY - Static variable in class org.resthub.web.Http
MOVED_PERMANENTLY HTTP status code value

N

nextPageable() - Method in class org.resthub.web.PageResponse
 
NO_CONTENT - Static variable in class org.resthub.web.Http
OK NO_CONTENT status code value
NOT_ACCEPTABLE - Static variable in class org.resthub.web.Http
NOT_ACCEPTABLE HTTP status code value
NOT_FOUND - Static variable in class org.resthub.web.Http
NOT_FOUND HTTP status code value
NOT_IMPLEMENTED - Static variable in class org.resthub.web.Http
NOT_IMPLEMENTED HTTP status code value
NOT_MODIFIED - Static variable in class org.resthub.web.Http
NOT_MODIFIED HTTP status code value
NotAcceptableClientException - Exception in org.resthub.web.exception
Exception mapped to not acceptable Error HTTP status code (406)
NotAcceptableClientException() - Constructor for exception org.resthub.web.exception.NotAcceptableClientException
 
NotAcceptableClientException(String, Throwable) - Constructor for exception org.resthub.web.exception.NotAcceptableClientException
 
NotAcceptableClientException(String) - Constructor for exception org.resthub.web.exception.NotAcceptableClientException
 
NotAcceptableClientException(Throwable) - Constructor for exception org.resthub.web.exception.NotAcceptableClientException
 
NotFoundClientException - Exception in org.resthub.web.exception
Exception mapped to not found Error HTTP status code (404)
NotFoundClientException() - Constructor for exception org.resthub.web.exception.NotFoundClientException
 
NotFoundClientException(String, Throwable) - Constructor for exception org.resthub.web.exception.NotFoundClientException
 
NotFoundClientException(String) - Constructor for exception org.resthub.web.exception.NotFoundClientException
 
NotFoundClientException(Throwable) - Constructor for exception org.resthub.web.exception.NotFoundClientException
 
NotImplementedClientException - Exception in org.resthub.web.exception
Exception mapped to not implemented Error HTTP status code (501)
NotImplementedClientException() - Constructor for exception org.resthub.web.exception.NotImplementedClientException
 
NotImplementedClientException(String, Throwable) - Constructor for exception org.resthub.web.exception.NotImplementedClientException
 
NotImplementedClientException(String) - Constructor for exception org.resthub.web.exception.NotImplementedClientException
 
NotImplementedClientException(Throwable) - Constructor for exception org.resthub.web.exception.NotImplementedClientException
 
number - Variable in class org.resthub.web.PageResponse
 
numberOfElements - Variable in class org.resthub.web.PageResponse
 

O

objectMapper - Static variable in class org.resthub.web.JsonHelper
Jackson Object Mapper used to serialization/deserialization
objectMapper - Static variable in class org.resthub.web.XmlHelper
Jackson Object Mapper used to serialization/deserialization
OK - Static variable in class org.resthub.web.Http
OK HTTP status code value
org.resthub.web - package org.resthub.web
RESThub Web root package
org.resthub.web.exception - package org.resthub.web.exception
HTTP related exceptions with Spring MVC mapping to HTTP status code

P

PageResponse<T> - Class in org.resthub.web
Implementation of Page compatible with Jackson deserialization (default constructor + setters)
PageResponse() - Constructor for class org.resthub.web.PageResponse
 
PageResponse.View - Interface in org.resthub.web
 
previousPageable() - Method in class org.resthub.web.PageResponse
 

S

SerializationException - Exception in org.resthub.web.exception
 
SerializationException() - Constructor for exception org.resthub.web.exception.SerializationException
 
SerializationException(String, Throwable) - Constructor for exception org.resthub.web.exception.SerializationException
 
SerializationException(String) - Constructor for exception org.resthub.web.exception.SerializationException
 
SerializationException(Throwable) - Constructor for exception org.resthub.web.exception.SerializationException
 
serialize(Object) - Static method in class org.resthub.web.JsonHelper
Serialize and object to a JSON String representation
serialize(Object, Class<?>) - Static method in class org.resthub.web.JsonHelper
Serialize and object to a JSON String representation with a Jackson view
serialize(Object) - Static method in class org.resthub.web.XmlHelper
Serialize and object to an XML String representation
serialize(Object, Class<?>) - Static method in class org.resthub.web.XmlHelper
Serialize and object to a JSON String representation with a Jackson view
setContent(List<T>) - Method in class org.resthub.web.PageResponse
 
setNumber(int) - Method in class org.resthub.web.PageResponse
 
setNumberOfElements(int) - Method in class org.resthub.web.PageResponse
 
setSize(int) - Method in class org.resthub.web.PageResponse
 
setStatusCode(int) - Method in exception org.resthub.web.exception.ClientException
 
setTotalElements(long) - Method in class org.resthub.web.PageResponse
 
setTotalPages(int) - Method in class org.resthub.web.PageResponse
 
size - Variable in class org.resthub.web.PageResponse
 

T

totalElements - Variable in class org.resthub.web.PageResponse
 
totalPages - Variable in class org.resthub.web.PageResponse
 

U

UNAUTHORIZED - Static variable in class org.resthub.web.Http
UNAUTHORIZED HTTP status code value
UnauthorizedClientException - Exception in org.resthub.web.exception
Exception mapped to unauthorized Request HTTP status code (401)
UnauthorizedClientException() - Constructor for exception org.resthub.web.exception.UnauthorizedClientException
 
UnauthorizedClientException(String, Throwable) - Constructor for exception org.resthub.web.exception.UnauthorizedClientException
 
UnauthorizedClientException(String) - Constructor for exception org.resthub.web.exception.UnauthorizedClientException
 
UnauthorizedClientException(Throwable) - Constructor for exception org.resthub.web.exception.UnauthorizedClientException
 

X

XML - Static variable in class org.resthub.web.Http
XML content type value, can be used for Accept or Content-type header
XmlHelper - Class in org.resthub.web
Helper for XML serialization and deserialization.
XmlHelper() - Constructor for class org.resthub.web.XmlHelper
 
A B C D F G H I J M N O P S T U X 

Copyright © 2009-2014. All Rights Reserved.