B C D E F G H I J L O P R T W

B

BASE_REST_PATH - Static variable in interface org.hudsonci.rest.common.Constants
 

C

checkBuilderIndex(int) - Static method in class org.hudsonci.rest.common.RestPreconditions
Check a project builder index for shallow validity
checkBuildNumber(int) - Static method in class org.hudsonci.rest.common.RestPreconditions
Check a project buildNumber for being greater than zero.
checkBuildStateIndex(int) - Static method in class org.hudsonci.rest.common.RestPreconditions
Check a project build state index for shallow validity.
checkDocumentId(String) - Static method in class org.hudsonci.rest.common.RestPreconditions
Check a DocumentDTO ID for shallow validity
checkNotNull(T, String) - Static method in class org.hudsonci.rest.common.RestPreconditions
Check an argument for null.
checkNotNull(T, Class<T>) - Static method in class org.hudsonci.rest.common.RestPreconditions
IF the passed reference is null, throws a WebApplicationException with status 400 and generates a response body containing suitable client message.
checkProjectName(String) - Static method in class org.hudsonci.rest.common.RestPreconditions
Check the projectName for shallow validity
checkUUID(String) - Static method in class org.hudsonci.rest.common.RestPreconditions
Check a uuid string for validity.
Constants - Interface in org.hudsonci.rest.common
REST sub-system constants.

D

decode(String, Class<T>) - Method in class org.hudsonci.rest.common.JacksonCodec
 
decode(String, Class<T>) - Method in interface org.hudsonci.rest.common.JsonCodec
 
decode(String) - Method in class org.hudsonci.rest.common.ProjectNameCodec
 

E

encode(Object) - Method in class org.hudsonci.rest.common.JacksonCodec
 
encode(Object) - Method in interface org.hudsonci.rest.common.JsonCodec
 
encode(String) - Method in class org.hudsonci.rest.common.ProjectNameCodec
 

F

FAULT_v1_JSON - Static variable in interface org.hudsonci.rest.common.Constants
 
FAULT_v1_JSON_TYPE - Static variable in interface org.hudsonci.rest.common.Constants
 
FAULT_v1_XML - Static variable in interface org.hudsonci.rest.common.Constants
 
FAULT_v1_XML_TYPE - Static variable in interface org.hudsonci.rest.common.Constants
 

G

get() - Method in class org.hudsonci.rest.common.ObjectMapperProvider
 
getMapper() - Method in class org.hudsonci.rest.common.JacksonCodec
 
getSize(Object, Class<?>, Type, Annotation[], MediaType) - Method in class org.hudsonci.rest.common.JacksonProvider
 

H

HUDSON_HEADER - Static variable in interface org.hudsonci.rest.common.Constants
 

I

isNegative(int) - Static method in class org.hudsonci.rest.common.RestPreconditions
DSL style negative checking
isReadable(Class<?>, Type, Annotation[], MediaType) - Method in class org.hudsonci.rest.common.JacksonProvider
 
isWriteable(Class<?>, Type, Annotation[], MediaType) - Method in class org.hudsonci.rest.common.JacksonProvider
 

J

JacksonCodec - Class in org.hudsonci.rest.common
Jackson JSON codec.
JacksonCodec(ObjectMapper) - Constructor for class org.hudsonci.rest.common.JacksonCodec
 
JacksonCodec() - Constructor for class org.hudsonci.rest.common.JacksonCodec
 
JacksonProvider - Class in org.hudsonci.rest.common
Jackson JAX-RS provider.
JacksonProvider(ObjectMapper) - Constructor for class org.hudsonci.rest.common.JacksonProvider
 
JsonCodec - Interface in org.hudsonci.rest.common
Helper to handle JSON encode/decode.

L

log - Static variable in class org.hudsonci.rest.common.RestPreconditions
 

O

ObjectMapperProvider - Class in org.hudsonci.rest.common
Jackson ObjectMapper provider.
ObjectMapperProvider() - Constructor for class org.hudsonci.rest.common.ObjectMapperProvider
 
org.hudsonci.rest.common - package org.hudsonci.rest.common
 

P

ProjectNameCodec - Class in org.hudsonci.rest.common
Helper to encode/decode project names.
ProjectNameCodec() - Constructor for class org.hudsonci.rest.common.ProjectNameCodec
 

R

readFrom(Class<Object>, Type, Annotation[], MediaType, MultivaluedMap<String, String>, InputStream) - Method in class org.hudsonci.rest.common.JacksonProvider
 
RestPreconditions - Class in org.hudsonci.rest.common
Preconditions to check common arguments to REST calls
RestPreconditions() - Constructor for class org.hudsonci.rest.common.RestPreconditions
 

T

throwBadRequest(String) - Static method in class org.hudsonci.rest.common.RestPreconditions
Throws a WebApplicationException with status 400 and generates a response body containing the specified message.
throwConflict(String) - Static method in class org.hudsonci.rest.common.RestPreconditions
Throws a WebApplicationException with status 409 and generates a response body containing the specified message.
throwWebApplicationException(Response.Status, String) - Static method in class org.hudsonci.rest.common.RestPreconditions
Throws a WebApplicationException with specified status and generates a response body containing the specified message.

W

writeTo(Object, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class org.hudsonci.rest.common.JacksonProvider
 

B C D E F G H I J L O P R T W

Copyright © 2004-2011 Hudson. All Rights Reserved.