Skip navigation links
A B C D E F G H I J M N O P R S T U V W Y 

A

add(String, Object) - Method in class si.mazi.rescu.Params
 
addBasicAuthCredentials(ClientConfig, String, String) - Static method in enum si.mazi.rescu.ClientConfigUtil
 
addDefaultParam(Class<? extends Annotation>, String, Object) - Method in class si.mazi.rescu.ClientConfig
 
addReader(String, ResponseReader) - Method in class si.mazi.rescu.ResponseReaderResolver
 
addWriter(String, RequestWriter) - Method in class si.mazi.rescu.RequestWriterResolver
 
AnnotationUtils - Class in si.mazi.rescu
 
AnnotationUtils() - Constructor for class si.mazi.rescu.AnnotationUtils
 
applyToPath(String) - Method in class si.mazi.rescu.Params
 
aroundInvoke(InvocationHandler, Object, Method, Object[]) - Method in interface si.mazi.rescu.Interceptor
 
asFormEncodedRequestBody() - Method in class si.mazi.rescu.Params
 
asHttpHeaders() - Method in class si.mazi.rescu.Params
 
asQueryString() - Method in class si.mazi.rescu.Params
 
AwareException - Exception in si.mazi.rescu
 
AwareException(Exception, RestInvocation) - Constructor for exception si.mazi.rescu.AwareException
 

B

BasicAuthCredentials - Class in si.mazi.rescu
 
BasicAuthCredentials(String, String) - Constructor for class si.mazi.rescu.BasicAuthCredentials
 
BODY_FRAGMENT_CHARS - Static variable in class si.mazi.rescu.ResponseReader
 
BooleanDeserializer - Class in si.mazi.rescu.serialization.jackson.serializers
 
BooleanDeserializer(String, String) - Constructor for class si.mazi.rescu.serialization.jackson.serializers.BooleanDeserializer
 

C

ClientConfig - Class in si.mazi.rescu
 
ClientConfig() - Constructor for class si.mazi.rescu.ClientConfig
 
ClientConfigUtil - Enum in si.mazi.rescu
 
clip(String, int) - Static method in class si.mazi.rescu.Utils
 
configureObjectMapper(ObjectMapper) - Method in interface si.mazi.rescu.serialization.jackson.JacksonConfigureListener
Called during the construction of each REST proxy object, after setting the default or implied ObjectMapper properties.
createEmptyParamsMap(Map<Class<? extends Annotation>, Params>) - Static method in class si.mazi.rescu.RestInvocation
 
createInstance(String) - Static method in class si.mazi.rescu.HmacPostBodyDigest
 
createProxy(Class<I>, String, ClientConfig, Interceptor...) - Static method in class si.mazi.rescu.RestProxyFactory
Create a proxy implementation of restInterface.
createProxy(Class<I>, String) - Static method in class si.mazi.rescu.RestProxyFactory
 
createValue() - Method in interface si.mazi.rescu.SynchronizedValueFactory
 

D

deserialize(JsonParser, DeserializationContext) - Method in class si.mazi.rescu.serialization.jackson.serializers.BooleanDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class si.mazi.rescu.serialization.jackson.serializers.EnumIntDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class si.mazi.rescu.serialization.jackson.serializers.FloatingTimestampDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class si.mazi.rescu.serialization.jackson.serializers.SqlTimeDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class si.mazi.rescu.serialization.jackson.serializers.TimestampDeserializer
 
digestAll(RestInvocation) - Method in class si.mazi.rescu.Params
 
digestParams(RestInvocation) - Method in class si.mazi.rescu.BasicAuthCredentials
 
digestParams(RestInvocation) - Method in class si.mazi.rescu.HmacPostBodyDigest
 
digestParams(RestInvocation) - Method in interface si.mazi.rescu.ParamsDigest
 

E

EnumIntDeserializer<E extends Enum<E>> - Class in si.mazi.rescu.serialization.jackson.serializers
 
EnumIntDeserializer(Class<E>) - Constructor for class si.mazi.rescu.serialization.jackson.serializers.EnumIntDeserializer
 
EnumIntDeserializerOneBased<E extends Enum<E>> - Class in si.mazi.rescu.serialization.jackson.serializers
 
EnumIntDeserializerOneBased(Class<E>) - Constructor for class si.mazi.rescu.serialization.jackson.serializers.EnumIntDeserializerOneBased
 
ExceptionalReturnContentException - Exception in si.mazi.rescu
Throw this exception (eg.
ExceptionalReturnContentException(String) - Constructor for exception si.mazi.rescu.ExceptionalReturnContentException
 

F

findCause(Throwable, C...) - Static method in class si.mazi.rescu.ResponseReader
Search the cause chain of t (starting from and including t) for a Throwable that is assignable to any of ofClasses, or null if not found.
FloatingTimestampDeserializer - Class in si.mazi.rescu.serialization.jackson.serializers
 
FloatingTimestampDeserializer() - Constructor for class si.mazi.rescu.serialization.jackson.serializers.FloatingTimestampDeserializer
 
FormUrlEncodedRequestWriter - Class in si.mazi.rescu
Writes the @FormParam annotated data as URL-encoded string.
FormUrlEncodedRequestWriter() - Constructor for class si.mazi.rescu.FormUrlEncodedRequestWriter
 

G

getAllHttpHeaders() - Method in class si.mazi.rescu.RestInvocation
Deprecated.
this method will be made package local very soon. Use RestInvocation.getHttpHeadersFromParams() instead.
getBaseUrl() - Method in class si.mazi.rescu.RestInvocation
 
getBaseUrl() - Method in class si.mazi.rescu.RestMethodMetadata
 
getDefaultParamsMap() - Method in class si.mazi.rescu.ClientConfig
 
getExceptionType() - Method in class si.mazi.rescu.RestMethodMetadata
 
getHostnameVerifier() - Method in class si.mazi.rescu.ClientConfig
Gets the override hostname verifier for HttpsURLConnection used if HTTPS protocol is requested.
getHttpBody() - Method in exception si.mazi.rescu.HttpStatusIOException
 
getHttpBody() - Method in class si.mazi.rescu.InvocationResult
 
getHttpConnTimeout() - Method in class si.mazi.rescu.ClientConfig
 
getHttpHeadersFromParams() - Method in class si.mazi.rescu.RestInvocation
 
getHttpMethod() - Method in class si.mazi.rescu.RestInvocation
 
getHttpMethod() - Method in class si.mazi.rescu.RestMethodMetadata
 
getHttpReadTimeout() - Method in class si.mazi.rescu.ClientConfig
 
getHttpStatusCode() - Method in interface si.mazi.rescu.HttpStatusException
 
getHttpStatusCode() - Method in exception si.mazi.rescu.HttpStatusExceptionSupport
 
getHttpStatusCode() - Method in exception si.mazi.rescu.HttpStatusIOException
 
getIndexBase() - Method in class si.mazi.rescu.serialization.jackson.serializers.EnumIntDeserializer
 
getIndexBase() - Method in class si.mazi.rescu.serialization.jackson.serializers.EnumIntDeserializerOneBased
 
getIntfacePath() - Method in class si.mazi.rescu.RestMethodMetadata
 
getInvocation() - Method in exception si.mazi.rescu.AwareException
 
getInvocation() - Method in interface si.mazi.rescu.InvocationAware
 
getInvocationUrl() - Method in class si.mazi.rescu.RestInvocation
 
getJacksonConfigureListener() - Method in class si.mazi.rescu.ClientConfig
 
getMessage() - Method in exception si.mazi.rescu.HttpStatusExceptionSupport
 
getMethodAnnotationMap() - Method in class si.mazi.rescu.RestMethodMetadata
 
getMethodMetadata() - Method in class si.mazi.rescu.RestInvocation
 
getMethodName() - Method in class si.mazi.rescu.RestMethodMetadata
 
getMethodPath() - Method in class si.mazi.rescu.RestInvocation
 
getMethodPathTemplate() - Method in class si.mazi.rescu.RestMethodMetadata
 
getObjectMapper() - Method in class si.mazi.rescu.serialization.jackson.JacksonMapper
 
getParameterAnnotations() - Method in class si.mazi.rescu.RestMethodMetadata
 
getParamsMap() - Method in class si.mazi.rescu.RestInvocation
 
getParamValue(String) - Method in class si.mazi.rescu.Params
 
getParamValue(Class<? extends Annotation>, String) - Method in class si.mazi.rescu.RestInvocation
 
getPath() - Method in class si.mazi.rescu.RestInvocation
 
getProxyHost() - Method in class si.mazi.rescu.ClientConfig
 
getProxyPort() - Method in class si.mazi.rescu.ClientConfig
 
getQueryString() - Method in class si.mazi.rescu.RestInvocation
 
getReqContentType() - Method in class si.mazi.rescu.RestInvocation
 
getReqContentType() - Method in class si.mazi.rescu.RestMethodMetadata
 
getRequestBody() - Method in class si.mazi.rescu.RestInvocation
 
getResContentType() - Method in class si.mazi.rescu.RestMethodMetadata
 
getResponseHeaders() - Method in exception si.mazi.rescu.AwareException
 
getResponseHeaders() - Method in interface si.mazi.rescu.HttpResponseAware
 
getReturnType() - Method in class si.mazi.rescu.RestMethodMetadata
 
getSslSocketFactory() - Method in class si.mazi.rescu.ClientConfig
Gets the override SSL socket factory for HttpsURLConnection used if HTTPS protocol is requested.
getStackTrace() - Method in exception si.mazi.rescu.HttpStatusExceptionSupport
 
getStatusCode() - Method in class si.mazi.rescu.InvocationResult
 
getUnannanotatedParams() - Method in class si.mazi.rescu.RestInvocation
 

H

hasIgnoreMarker(AnnotatedMember) - Method in class si.mazi.rescu.serialization.jackson.IgnoreThrowableProperties
 
HmacPostBodyDigest - Class in si.mazi.rescu
This may be used as the value of a @HeaderParam, @QueryParam or @PathParam to create a digest of the post body (composed of @FormParam's).
HttpMethod - Enum in si.mazi.rescu
 
HttpResponseAware - Interface in si.mazi.rescu
 
HttpStatusException - Interface in si.mazi.rescu
 
HttpStatusExceptionSupport - Exception in si.mazi.rescu
 
HttpStatusExceptionSupport() - Constructor for exception si.mazi.rescu.HttpStatusExceptionSupport
 
HttpStatusExceptionSupport(String) - Constructor for exception si.mazi.rescu.HttpStatusExceptionSupport
 
HttpStatusIOException - Exception in si.mazi.rescu
 
HttpStatusIOException(String, InvocationResult) - Constructor for exception si.mazi.rescu.HttpStatusIOException
 
HttpUtils - Class in si.mazi.rescu.utils
 

I

IgnoreThrowableProperties - Class in si.mazi.rescu.serialization.jackson
Deserializing Throwable objects has caused problems on some restricted platforms (in particular, GAE).
IgnoreThrowableProperties() - Constructor for class si.mazi.rescu.serialization.jackson.IgnoreThrowableProperties
 
Interceptor - Interface in si.mazi.rescu
 
InvocationAware - Interface in si.mazi.rescu
 
InvocationResult - Class in si.mazi.rescu
Result of a REST service invocation.
InvocationResult(String, int) - Constructor for class si.mazi.rescu.InvocationResult
 
invoke(Object, Method, Object[]) - Method in class si.mazi.rescu.RestInvocationHandler
 
invokeHttp(RestInvocation) - Method in class si.mazi.rescu.RestInvocationHandler
 
isEmpty() - Method in class si.mazi.rescu.Params
 
isErrorStatusCode() - Method in class si.mazi.rescu.InvocationResult
 
isErrorStatusCode(int) - Static method in class si.mazi.rescu.utils.HttpUtils
 
isIgnoreHttpErrorCodes() - Method in class si.mazi.rescu.ClientConfig
 
isIgnoreHttpErrorCodes() - Method in class si.mazi.rescu.ResponseReader
 
isParamSet(String) - Method in class si.mazi.rescu.Params
 
isWrapUnexpectedExceptions() - Method in class si.mazi.rescu.ClientConfig
 

J

JacksonConfigureListener - Interface in si.mazi.rescu.serialization.jackson
Provides hooks for additional configuration of the internally used JSON converter of Jackson library.
JacksonMapper - Class in si.mazi.rescu.serialization.jackson
Provides Jackson object mapping services.
JacksonMapper(JacksonConfigureListener) - Constructor for class si.mazi.rescu.serialization.jackson.JacksonMapper
 
JacksonRequestWriter - Class in si.mazi.rescu.serialization.jackson
Writes the data as JSON-serialized string using Jackson.
JacksonRequestWriter(JacksonMapper) - Constructor for class si.mazi.rescu.serialization.jackson.JacksonRequestWriter
 
JacksonResponseReader - Class in si.mazi.rescu.serialization.jackson
Reads the JSON responses into POJO object using Jackson.
JacksonResponseReader(JacksonMapper, boolean) - Constructor for class si.mazi.rescu.serialization.jackson.JacksonResponseReader
 

M

mapInvocationResult(InvocationResult, RestMethodMetadata) - Method in class si.mazi.rescu.RestInvocationHandler
 

N

NullRequestWriter - Class in si.mazi.rescu
 
NullRequestWriter() - Constructor for class si.mazi.rescu.NullRequestWriter
 

O

of() - Static method in class si.mazi.rescu.Params
 
of(String, Object) - Static method in class si.mazi.rescu.Params
 
of(String, Object, String, Object) - Static method in class si.mazi.rescu.Params
 
of(String, Object, String, Object, String, Object) - Static method in class si.mazi.rescu.Params
 
of(String, Object, String, Object, String, Object, String, Object) - Static method in class si.mazi.rescu.Params
 

P

PARAM_ANNOTATION_CLASSES - Static variable in class si.mazi.rescu.RestInvocation
 
Params - Class in si.mazi.rescu
This class provides support for various types of HTTP params, especially in the context of RESTful web services, but may be also used to construct urls in other contexts.
ParamsDigest - Interface in si.mazi.rescu
This may be used for REST APIs where some parameters' values must be digests of other parameters.
PlainTextResponseReader - Class in si.mazi.rescu.serialization
Returns the response body as a string.
PlainTextResponseReader(boolean) - Constructor for class si.mazi.rescu.serialization.PlainTextResponseReader
 

R

read(InvocationResult, RestMethodMetadata) - Method in class si.mazi.rescu.ResponseReader
 
read(String, Type) - Method in class si.mazi.rescu.ResponseReader
 
read(String, Type) - Method in class si.mazi.rescu.serialization.jackson.JacksonResponseReader
 
read(String, Type) - Method in class si.mazi.rescu.serialization.PlainTextResponseReader
 
readers - Variable in class si.mazi.rescu.ResponseReaderResolver
 
readException(String, Class<? extends RuntimeException>) - Method in class si.mazi.rescu.ResponseReader
 
readException(String, Class<? extends RuntimeException>) - Method in class si.mazi.rescu.serialization.jackson.JacksonResponseReader
 
readException(String, Class<? extends RuntimeException>) - Method in class si.mazi.rescu.serialization.PlainTextResponseReader
 
receiveAndMap(RestMethodMetadata, HttpURLConnection) - Method in class si.mazi.rescu.RestInvocationHandler
 
replaceValueFactories() - Method in class si.mazi.rescu.Params
 
RequestWriter - Interface in si.mazi.rescu
Interface for serializing data sent to REST services (HTTP body).
RequestWriterResolver - Class in si.mazi.rescu
Resolves which RequestWriter to use for REST requests.
RequestWriterResolver() - Constructor for class si.mazi.rescu.RequestWriterResolver
 
resolveReader(RestMethodMetadata) - Method in class si.mazi.rescu.ResponseReaderResolver
 
resolveWriter(RestMethodMetadata) - Method in class si.mazi.rescu.RequestWriterResolver
 
ResponseReader - Class in si.mazi.rescu
Interface for deserializing of REST returned data.
ResponseReader(boolean) - Constructor for class si.mazi.rescu.ResponseReader
 
ResponseReaderResolver - Class in si.mazi.rescu
Resolves which ResponseReader to use for REST responses.
ResponseReaderResolver() - Constructor for class si.mazi.rescu.ResponseReaderResolver
Constructor.
RestInvocation - Class in si.mazi.rescu
This holds name-value mapping for various types of params used in REST (QueryParam, PathParam, FormParam, HeaderParam).
RestInvocation(Map<Class<? extends Annotation>, Params>, List<Object>, RestMethodMetadata, String, String, String, String, RequestWriterResolver) - Constructor for class si.mazi.rescu.RestInvocation
 
RestInvocationHandler - Class in si.mazi.rescu
 
RestMethodMetadata - Class in si.mazi.rescu
 
RestMethodMetadata(Type, HttpMethod, String, String, String, Class<? extends RuntimeException>, String, String, String, Map<Class<? extends Annotation>, Annotation>, Annotation[][]) - Constructor for class si.mazi.rescu.RestMethodMetadata
 
RestProxyFactory - Class in si.mazi.rescu
 

S

setHostnameVerifier(HostnameVerifier) - Method in class si.mazi.rescu.ClientConfig
Sets the override hostname for HttpsURLConnection used if HTTPS protocol is requested.
setHttpConnTimeout(int) - Method in class si.mazi.rescu.ClientConfig
 
setHttpReadTimeout(int) - Method in class si.mazi.rescu.ClientConfig
 
setHttpStatusCode(int) - Method in interface si.mazi.rescu.HttpStatusException
 
setHttpStatusCode(int) - Method in exception si.mazi.rescu.HttpStatusExceptionSupport
 
setHttpStatusCode(int) - Method in exception si.mazi.rescu.HttpStatusIOException
 
setIgnoreHttpErrorCodes(boolean) - Method in class si.mazi.rescu.ClientConfig
 
setInvocation(RestInvocation) - Method in exception si.mazi.rescu.AwareException
 
setInvocation(RestInvocation) - Method in interface si.mazi.rescu.InvocationAware
 
setJacksonConfigureListener(JacksonConfigureListener) - Method in class si.mazi.rescu.ClientConfig
 
setProxyHost(String) - Method in class si.mazi.rescu.ClientConfig
 
setProxyPort(Integer) - Method in class si.mazi.rescu.ClientConfig
 
setResponseHeaders(Map<String, List<String>>) - Method in exception si.mazi.rescu.AwareException
 
setResponseHeaders(Map<String, List<String>>) - Method in interface si.mazi.rescu.HttpResponseAware
 
setSslSocketFactory(SSLSocketFactory) - Method in class si.mazi.rescu.ClientConfig
Sets the override SSL socket factory for HttpsURLConnection used if HTTPS protocol is requested.
setWrapUnexpectedExceptions(boolean) - Method in class si.mazi.rescu.ClientConfig
 
si.mazi.rescu - package si.mazi.rescu
Classes in this package may be used to create proxy client objects for REST web services.
si.mazi.rescu.serialization - package si.mazi.rescu.serialization
 
si.mazi.rescu.serialization.jackson - package si.mazi.rescu.serialization.jackson
 
si.mazi.rescu.serialization.jackson.serializers - package si.mazi.rescu.serialization.jackson.serializers
 
si.mazi.rescu.utils - package si.mazi.rescu.utils
 
SqlTimeDeserializer - Class in si.mazi.rescu.serialization.jackson.serializers
 
SqlTimeDeserializer() - Constructor for class si.mazi.rescu.serialization.jackson.serializers.SqlTimeDeserializer
 
SynchronizedValueFactory<T> - Interface in si.mazi.rescu
Allows services to accept a placeholder that is replaced with generated value just before message is serialized and sent.

T

TimestampDeserializer - Class in si.mazi.rescu.serialization.jackson.serializers
 
TimestampDeserializer() - Constructor for class si.mazi.rescu.serialization.jackson.serializers.TimestampDeserializer
 
toString() - Method in class si.mazi.rescu.Params
 
ToStringRequestWriter - Class in si.mazi.rescu.serialization
Writes the data as string using toString.
ToStringRequestWriter() - Constructor for class si.mazi.rescu.serialization.ToStringRequestWriter
 

U

Utils - Class in si.mazi.rescu
 
Utils() - Constructor for class si.mazi.rescu.Utils
 

V

valueOf(String) - Static method in enum si.mazi.rescu.ClientConfigUtil
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum si.mazi.rescu.HttpMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum si.mazi.rescu.ClientConfigUtil
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum si.mazi.rescu.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeBody(RestInvocation) - Method in class si.mazi.rescu.FormUrlEncodedRequestWriter
 
writeBody(RestInvocation) - Method in class si.mazi.rescu.NullRequestWriter
 
writeBody(RestInvocation) - Method in interface si.mazi.rescu.RequestWriter
 
writeBody(RestInvocation) - Method in class si.mazi.rescu.serialization.jackson.JacksonRequestWriter
 
writeBody(RestInvocation) - Method in class si.mazi.rescu.serialization.ToStringRequestWriter
 
writers - Variable in class si.mazi.rescu.RequestWriterResolver
 

Y

YesNoBooleanDeserializerImpl - Class in si.mazi.rescu.serialization.jackson.serializers
 
YesNoBooleanDeserializerImpl() - Constructor for class si.mazi.rescu.serialization.jackson.serializers.YesNoBooleanDeserializerImpl
 
A B C D E F G H I J M N O P R S T U V W Y 
Skip navigation links

Copyright © 2012–2016. All rights reserved.