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

A

AbstractAnnotationEntityExpanderResolver - Class in com.atlassian.plugins.rest.common.expand.resolver
An EntityExpander resolver that uses the Expander annotation for resolution.
AbstractAnnotationEntityExpanderResolver() - Constructor for class com.atlassian.plugins.rest.common.expand.resolver.AbstractAnnotationEntityExpanderResolver
 
AbstractRecursiveEntityExpander<T> - Class in com.atlassian.plugins.rest.common.expand
 
AbstractRecursiveEntityExpander() - Constructor for class com.atlassian.plugins.rest.common.expand.AbstractRecursiveEntityExpander
 
add(URI) - Static method in class com.atlassian.plugins.rest.common.Link
Creates a link using the given URI builder to build the URI.
AnonymousAllowed - Annotation Type in com.atlassian.plugins.rest.common.security
An annotation to tell that resources are accessible by anonymous users (i.e.
APPLICATION_JAVASCRIPT - Static variable in class com.atlassian.plugins.rest.common.MediaTypes
 
APPLICATION_JAVASCRIPT_TYPE - Static variable in class com.atlassian.plugins.rest.common.MediaTypes
 
AuthenticatedResourceFilterFactory - Class in com.atlassian.plugins.rest.common.security.jersey
A ResourceFilterFactory that checks wether the client is authenticated or not.
AuthenticatedResourceFilterFactory(AuthenticationContext) - Constructor for class com.atlassian.plugins.rest.common.security.jersey.AuthenticatedResourceFilterFactory
 
AuthenticationContext - Interface in com.atlassian.plugins.rest.common.security
An authentication context to retrieve the principal and authentication status.
AuthenticationContextInjectableProvider - Class in com.atlassian.plugins.rest.common.security.jersey
 
AuthenticationContextInjectableProvider(AuthenticationContext) - Constructor for class com.atlassian.plugins.rest.common.security.jersey.AuthenticationContextInjectableProvider
 
AuthenticationRequiredException - Exception in com.atlassian.plugins.rest.common.security
Exception thrown when a client tries to access a resources that requires authentication and the client is not authenticated.
AuthenticationRequiredException() - Constructor for exception com.atlassian.plugins.rest.common.security.AuthenticationRequiredException
 

B

build() - Method in class com.atlassian.plugins.rest.common.Status.StatusResponseBuilder
 

C

ChainingEntityExpanderResolver - Class in com.atlassian.plugins.rest.common.expand.resolver
 
ChainingEntityExpanderResolver(List<EntityExpanderResolver>) - Constructor for class com.atlassian.plugins.rest.common.expand.resolver.ChainingEntityExpanderResolver
 
CollectionEntityExpanderResolver - Class in com.atlassian.plugins.rest.common.expand.resolver
 
CollectionEntityExpanderResolver() - Constructor for class com.atlassian.plugins.rest.common.expand.resolver.CollectionEntityExpanderResolver
 
com.atlassian.plugins.rest.common - package com.atlassian.plugins.rest.common
 
com.atlassian.plugins.rest.common.error.jersey - package com.atlassian.plugins.rest.common.error.jersey
 
com.atlassian.plugins.rest.common.expand - package com.atlassian.plugins.rest.common.expand
 
com.atlassian.plugins.rest.common.expand.entity - package com.atlassian.plugins.rest.common.expand.entity
 
com.atlassian.plugins.rest.common.expand.jersey - package com.atlassian.plugins.rest.common.expand.jersey
 
com.atlassian.plugins.rest.common.expand.parameter - package com.atlassian.plugins.rest.common.expand.parameter
 
com.atlassian.plugins.rest.common.expand.resolver - package com.atlassian.plugins.rest.common.expand.resolver
 
com.atlassian.plugins.rest.common.json - package com.atlassian.plugins.rest.common.json
 
com.atlassian.plugins.rest.common.multipart - package com.atlassian.plugins.rest.common.multipart
 
com.atlassian.plugins.rest.common.multipart.fileupload - package com.atlassian.plugins.rest.common.multipart.fileupload
 
com.atlassian.plugins.rest.common.multipart.jersey - package com.atlassian.plugins.rest.common.multipart.jersey
 
com.atlassian.plugins.rest.common.security - package com.atlassian.plugins.rest.common.security
 
com.atlassian.plugins.rest.common.security.jersey - package com.atlassian.plugins.rest.common.security.jersey
 
com.atlassian.plugins.rest.common.template - package com.atlassian.plugins.rest.common.template
 
com.atlassian.plugins.rest.common.util - package com.atlassian.plugins.rest.common.util
 
CommonsFileUploadMultipartHandler - Class in com.atlassian.plugins.rest.common.multipart.fileupload
 
CommonsFileUploadMultipartHandler(long) - Constructor for class com.atlassian.plugins.rest.common.multipart.fileupload.CommonsFileUploadMultipartHandler
 
contains(int, int) - Method in interface com.atlassian.plugins.rest.common.expand.parameter.Indexes
Checks wether the index is
crawl(Object, ExpandParameter, EntityExpanderResolver) - Method in class com.atlassian.plugins.rest.common.expand.EntityCrawler
Crawls an entity for fields that should be expanded and expands them.
create(AbstractMethod) - Method in class com.atlassian.plugins.rest.common.security.jersey.AuthenticatedResourceFilterFactory
 
createContext(Class...) - Method in class com.atlassian.plugins.rest.common.json.DefaultJsonJaxbContextFactory
 
createContext(Class...) - Method in interface com.atlassian.plugins.rest.common.json.JsonJaxbContextFactory
Given a list of JAXB classes, this method creates a JSONJAXBContext
created(Link) - Static method in class com.atlassian.plugins.rest.common.Status
 
created(Link) - Method in class com.atlassian.plugins.rest.common.Status.StatusResponseBuilder
 

D

DefaultExpandContext<T> - Class in com.atlassian.plugins.rest.common.expand
 
DefaultExpandContext(T, Expandable, ExpandParameter) - Constructor for class com.atlassian.plugins.rest.common.expand.DefaultExpandContext
 
DefaultExpandParameter - Class in com.atlassian.plugins.rest.common.expand.parameter
Parses and allow easy retrieval of information of expansion parameter.
DefaultExpandParameter(Collection<String>) - Constructor for class com.atlassian.plugins.rest.common.expand.parameter.DefaultExpandParameter
 
DefaultJaxbJsonMarshaller - Class in com.atlassian.plugins.rest.common.json
 
DefaultJaxbJsonMarshaller() - Constructor for class com.atlassian.plugins.rest.common.json.DefaultJaxbJsonMarshaller
 
DefaultJsonJaxbContextFactory - Class in com.atlassian.plugins.rest.common.json
Creates a JSONJAXBContext using the JSONConfiguration.natural() configuration.
DefaultJsonJaxbContextFactory() - Constructor for class com.atlassian.plugins.rest.common.json.DefaultJsonJaxbContextFactory
 
delete(URI) - Static method in class com.atlassian.plugins.rest.common.Link
Creates a link using the given URI builder to build the URI.

E

edit(URI) - Static method in class com.atlassian.plugins.rest.common.Link
Creates a link using the given URI builder to build the URI.
EntityCrawler - Class in com.atlassian.plugins.rest.common.expand
This allows for crawling the fields of any arbitrary object, looking for fields that should be expanded.
EntityCrawler() - Constructor for class com.atlassian.plugins.rest.common.expand.EntityCrawler
 
EntityExpander<T> - Interface in com.atlassian.plugins.rest.common.expand
Interface for expanding entities.
EntityExpanderResolver - Interface in com.atlassian.plugins.rest.common.expand.resolver
A resolver to find the expander for object or classes.
equals(Object) - Method in class com.atlassian.plugins.rest.common.Link
 
equals(Object) - Method in class com.atlassian.plugins.rest.common.Status.Plugin
 
error() - Static method in class com.atlassian.plugins.rest.common.Status
 
expand(ExpandContext<T>, EntityExpanderResolver, EntityCrawler) - Method in class com.atlassian.plugins.rest.common.expand.AbstractRecursiveEntityExpander
 
expand(ExpandContext<T>, EntityExpanderResolver, EntityCrawler) - Method in interface com.atlassian.plugins.rest.common.expand.EntityExpander
 
Expandable - Annotation Type in com.atlassian.plugins.rest.common.expand
This is an annotation to design field on REST resources that can be expanded.
ExpandConstraint - Annotation Type in com.atlassian.plugins.rest.common.expand
 
ExpandConstraintEntityExpanderResolver - Class in com.atlassian.plugins.rest.common.expand.resolver
 
ExpandConstraintEntityExpanderResolver() - Constructor for class com.atlassian.plugins.rest.common.expand.resolver.ExpandConstraintEntityExpanderResolver
 
ExpandContext<T> - Interface in com.atlassian.plugins.rest.common.expand
The context for expansions.
Expander - Annotation Type in com.atlassian.plugins.rest.common.expand
Annotation available for types to declare which is their EntityExpander
ExpandException - Exception in com.atlassian.plugins.rest.common.expand
 
ExpandException(Throwable) - Constructor for exception com.atlassian.plugins.rest.common.expand.ExpandException
 
ExpandException(String) - Constructor for exception com.atlassian.plugins.rest.common.expand.ExpandException
 
expandInternal(T) - Method in class com.atlassian.plugins.rest.common.expand.AbstractRecursiveEntityExpander
 
ExpandParameter - Interface in com.atlassian.plugins.rest.common.expand.parameter
Represents an expand query parameter.
ExpandResponseFilter - Class in com.atlassian.plugins.rest.common.expand.jersey
The response filter that handled entity expansion.
ExpandResponseFilter(EntityExpanderResolver) - Constructor for class com.atlassian.plugins.rest.common.expand.jersey.ExpandResponseFilter
 
ExpandResponseFilter(String, EntityExpanderResolver) - Constructor for class com.atlassian.plugins.rest.common.expand.jersey.ExpandResponseFilter
 

F

FilePart - Interface in com.atlassian.plugins.rest.common.multipart
 
filter(ContainerRequest, ContainerResponse) - Method in class com.atlassian.plugins.rest.common.expand.jersey.ExpandResponseFilter
 
forbidden() - Static method in class com.atlassian.plugins.rest.common.Status
 

G

getCallback() - Method in interface com.atlassian.plugins.rest.common.expand.entity.ListWrapper
 
getCode() - Method in class com.atlassian.plugins.rest.common.Status
 
getEntity() - Method in class com.atlassian.plugins.rest.common.expand.DefaultExpandContext
 
getEntity() - Method in interface com.atlassian.plugins.rest.common.expand.ExpandContext
 
getEntityExpander(Expander) - Method in class com.atlassian.plugins.rest.common.expand.resolver.AbstractAnnotationEntityExpanderResolver
Retrieves the EntityExpander associated to the Expander annotation.
getEntityExpandParameter() - Method in class com.atlassian.plugins.rest.common.expand.DefaultExpandContext
 
getEntityExpandParameter() - Method in interface com.atlassian.plugins.rest.common.expand.ExpandContext
 
getETag() - Method in class com.atlassian.plugins.rest.common.Status
 
getExpandable() - Method in class com.atlassian.plugins.rest.common.expand.DefaultExpandContext
 
getExpandable() - Method in interface com.atlassian.plugins.rest.common.expand.ExpandContext
 
getExpander(T) - Method in class com.atlassian.plugins.rest.common.expand.resolver.AbstractAnnotationEntityExpanderResolver
Gets an EntityExpander for the given instance.
getExpander(Class<? extends T>) - Method in class com.atlassian.plugins.rest.common.expand.resolver.AbstractAnnotationEntityExpanderResolver
Gets an EntityExpander for the given type.
getExpander(T) - Method in class com.atlassian.plugins.rest.common.expand.resolver.ChainingEntityExpanderResolver
 
getExpander(Class<? extends T>) - Method in class com.atlassian.plugins.rest.common.expand.resolver.ChainingEntityExpanderResolver
 
getExpander(Class<? extends T>) - Method in class com.atlassian.plugins.rest.common.expand.resolver.CollectionEntityExpanderResolver
 
getExpander(T) - Method in interface com.atlassian.plugins.rest.common.expand.resolver.EntityExpanderResolver
Gets an EntityExpander for the given instance.
getExpander(Class<? extends T>) - Method in interface com.atlassian.plugins.rest.common.expand.resolver.EntityExpanderResolver
Gets an EntityExpander for the given type.
getExpander(Class<? extends T>) - Method in class com.atlassian.plugins.rest.common.expand.resolver.ExpandConstraintEntityExpanderResolver
 
getExpander(Class<? extends T>) - Method in class com.atlassian.plugins.rest.common.expand.resolver.IdentityEntityExpanderResolver
 
getExpander(Class<? extends T>) - Method in class com.atlassian.plugins.rest.common.expand.resolver.ListWrapperEntityExpanderResolver
 
getExpandParameter(Expandable) - Method in class com.atlassian.plugins.rest.common.expand.parameter.DefaultExpandParameter
 
getExpandParameter(Expandable) - Method in interface com.atlassian.plugins.rest.common.expand.parameter.ExpandParameter
 
getFieldValue(Field, Object) - Static method in class com.atlassian.plugins.rest.common.util.ReflectionUtils
Gets the value of the field for the given object.
getFilePart(HttpServletRequest, String) - Method in class com.atlassian.plugins.rest.common.multipart.fileupload.CommonsFileUploadMultipartHandler
 
getFilePart(HttpServletRequest, String) - Method in interface com.atlassian.plugins.rest.common.multipart.MultipartHandler
 
getHref() - Method in class com.atlassian.plugins.rest.common.Link
 
getIndexes(Expandable) - Method in class com.atlassian.plugins.rest.common.expand.parameter.DefaultExpandParameter
 
getIndexes(Expandable) - Method in interface com.atlassian.plugins.rest.common.expand.parameter.ExpandParameter
 
getIndexes(int) - Method in interface com.atlassian.plugins.rest.common.expand.parameter.Indexes
Gets a sorted set of all indexes, negative indexes having been translated into their positive counter part.
getInputStream() - Method in interface com.atlassian.plugins.rest.common.multipart.FilePart
 
getItems(Indexes) - Method in interface com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback
 
getKey() - Method in class com.atlassian.plugins.rest.common.Status.Plugin
 
getMaxIndex(int) - Method in interface com.atlassian.plugins.rest.common.expand.parameter.Indexes
Gets the maximum index in the range, given the total size of the collection to consider.
getMessage() - Method in class com.atlassian.plugins.rest.common.Status
 
getMinIndex(int) - Method in interface com.atlassian.plugins.rest.common.expand.parameter.Indexes
Gets the minimum index in the range, given the total size of the collection to consider.
getName() - Method in interface com.atlassian.plugins.rest.common.multipart.FilePart
 
getPlugin() - Method in class com.atlassian.plugins.rest.common.Status
 
getPrincipal() - Method in interface com.atlassian.plugins.rest.common.security.AuthenticationContext
 
getRel() - Method in class com.atlassian.plugins.rest.common.Link
 
getResourcesCreated() - Method in class com.atlassian.plugins.rest.common.Status
 
getResourcesUpdated() - Method in class com.atlassian.plugins.rest.common.Status
 
getSubCode() - Method in class com.atlassian.plugins.rest.common.Status
 
getVersion() - Method in class com.atlassian.plugins.rest.common.Status.Plugin
 

H

hashCode() - Method in class com.atlassian.plugins.rest.common.Link
 
hashCode() - Method in class com.atlassian.plugins.rest.common.Status.Plugin
 

I

identity(List<T>) - Static method in class com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallBacks
 
IdentityEntityExpanderResolver - Class in com.atlassian.plugins.rest.common.expand.resolver
 
IdentityEntityExpanderResolver() - Constructor for class com.atlassian.plugins.rest.common.expand.resolver.IdentityEntityExpanderResolver
 
Indexes - Interface in com.atlassian.plugins.rest.common.expand.parameter
Represents indexes as used in expand parameters.
IndexException - Exception in com.atlassian.plugins.rest.common.expand.parameter
 
IndexException(String) - Constructor for exception com.atlassian.plugins.rest.common.expand.parameter.IndexException
 
isAuthenticated() - Method in interface com.atlassian.plugins.rest.common.security.AuthenticationContext
 
isEmpty() - Method in class com.atlassian.plugins.rest.common.expand.parameter.DefaultExpandParameter
 
isEmpty() - Method in interface com.atlassian.plugins.rest.common.expand.parameter.ExpandParameter
 
isRange() - Method in interface com.atlassian.plugins.rest.common.expand.parameter.Indexes
Tells whether this represents a contiguous range.

J

JaxbJsonMarshaller - Interface in com.atlassian.plugins.rest.common.json
Utility service that will allow clients to marshall a Jaxb bean to Json using the same configuration that the REST module uses internally to create Json.
JsonJaxbContextFactory - Interface in com.atlassian.plugins.rest.common.json
Factory responsible for creating a JSONJAXBContext used for marshalling and un-marshalling JAXB beans to JSON.

L

Link - Class in com.atlassian.plugins.rest.common
Represents a link to a given entity.
link(URI, String) - Static method in class com.atlassian.plugins.rest.common.Link
Creates a link using the given URI builder to build the URI.
ListWrapper<T> - Interface in com.atlassian.plugins.rest.common.expand.entity
 
ListWrapperCallback<T> - Interface in com.atlassian.plugins.rest.common.expand.entity
 
ListWrapperCallBacks - Class in com.atlassian.plugins.rest.common.expand.entity
 
ListWrapperCallBacks() - Constructor for class com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallBacks
 
ListWrapperEntityExpanderResolver - Class in com.atlassian.plugins.rest.common.expand.resolver
 
ListWrapperEntityExpanderResolver() - Constructor for class com.atlassian.plugins.rest.common.expand.resolver.ListWrapperEntityExpanderResolver
 

M

marshal(Object, Class...) - Method in class com.atlassian.plugins.rest.common.json.DefaultJaxbJsonMarshaller
 
marshal(Object, Class...) - Method in interface com.atlassian.plugins.rest.common.json.JaxbJsonMarshaller
Given a jaxbBean and all the jaxb classes required to convert the bean to JSON this method will return a JSON string.
MediaTypes - Class in com.atlassian.plugins.rest.common
This class holds additional media types to the one present in MediaType.
message(String) - Method in class com.atlassian.plugins.rest.common.Status.StatusResponseBuilder
 
MULTIPART_MIXED - Static variable in class com.atlassian.plugins.rest.common.MediaTypes
 
MULTIPART_MIXED_TYPE - Static variable in class com.atlassian.plugins.rest.common.MediaTypes
 
MultipartHandler - Interface in com.atlassian.plugins.rest.common.multipart
 
MultipartHandlerInjectableProvider - Class in com.atlassian.plugins.rest.common.multipart.jersey
 
MultipartHandlerInjectableProvider(MultipartHandler) - Constructor for class com.atlassian.plugins.rest.common.multipart.jersey.MultipartHandlerInjectableProvider
Construct a new instance with the Type and the instance.

N

noCache() - Method in class com.atlassian.plugins.rest.common.Status.StatusResponseBuilder
 
noStore() - Method in class com.atlassian.plugins.rest.common.Status.StatusResponseBuilder
 
notFound() - Static method in class com.atlassian.plugins.rest.common.Status
 
NotFoundExceptionMapper - Class in com.atlassian.plugins.rest.common.error.jersey
A generic exception mapper that will map not found exceptions.
NotFoundExceptionMapper() - Constructor for class com.atlassian.plugins.rest.common.error.jersey.NotFoundExceptionMapper
 

O

ofList(List<T>) - Static method in class com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallBacks
 
ok() - Static method in class com.atlassian.plugins.rest.common.Status
 

P

plugin(String, String) - Method in class com.atlassian.plugins.rest.common.Status.StatusResponseBuilder
 

R

ReflectionUtils - Class in com.atlassian.plugins.rest.common.util
A class to simplify some reflection calls.
ReflectionUtils() - Constructor for class com.atlassian.plugins.rest.common.util.ReflectionUtils
 
render(Object, String) - Method in interface com.atlassian.plugins.rest.common.template.Renderer
 
Renderer - Interface in com.atlassian.plugins.rest.common.template
Provides a means for REST plugins to use the REST renderer programmatically
response() - Method in class com.atlassian.plugins.rest.common.Status.StatusResponseBuilder
 
responseBuilder() - Method in class com.atlassian.plugins.rest.common.Status.StatusResponseBuilder
 

S

SecurityExceptionMapper - Class in com.atlassian.plugins.rest.common.security.jersey
Exception mapper that takes care of security exceptions
SecurityExceptionMapper() - Constructor for class com.atlassian.plugins.rest.common.security.jersey.SecurityExceptionMapper
 
self(URI) - Static method in class com.atlassian.plugins.rest.common.Link
Creates a link using the given URI builder to build the URI.
setFieldValue(Field, Object, Object) - Static method in class com.atlassian.plugins.rest.common.util.ReflectionUtils
Sets the value of the field for the given object.
shouldExpand(Expandable) - Method in class com.atlassian.plugins.rest.common.expand.parameter.DefaultExpandParameter
 
shouldExpand(Expandable) - Method in interface com.atlassian.plugins.rest.common.expand.parameter.ExpandParameter
 
Status - Class in com.atlassian.plugins.rest.common
Status entity for those responses that don't have any other entity body.
Status.Plugin - Class in com.atlassian.plugins.rest.common
 
Status.Plugin(String, String) - Constructor for class com.atlassian.plugins.rest.common.Status.Plugin
 
Status.StatusResponseBuilder - Class in com.atlassian.plugins.rest.common
 

T

tag(String) - Method in class com.atlassian.plugins.rest.common.Status.StatusResponseBuilder
 
ThrowableExceptionMapper - Class in com.atlassian.plugins.rest.common.error.jersey
A generic exception mapper that will map any throwable.
ThrowableExceptionMapper() - Constructor for class com.atlassian.plugins.rest.common.error.jersey.ThrowableExceptionMapper
 
toResponse(NotFoundException) - Method in class com.atlassian.plugins.rest.common.error.jersey.NotFoundExceptionMapper
 
toResponse(Throwable) - Method in class com.atlassian.plugins.rest.common.error.jersey.ThrowableExceptionMapper
 
toResponse(SecurityException) - Method in class com.atlassian.plugins.rest.common.security.jersey.SecurityExceptionMapper
 

U

unauthorized() - Static method in class com.atlassian.plugins.rest.common.Status
 
updated(Link) - Method in class com.atlassian.plugins.rest.common.Status.StatusResponseBuilder
 

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

Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.