- get() - Method in class com.github.jasminb.jsonapi.JSONAPIDocument
-
Gets resource object
- get(String) - Method in class com.github.jasminb.jsonapi.ResourceCache
-
Returns cached resource or null if resource was not found in cache.
- getAbout() - Method in class com.github.jasminb.jsonapi.models.errors.Links
-
- getAnnotatedFields(Class<?>, Class<? extends Annotation>, boolean) - Static method in class com.github.jasminb.jsonapi.ReflectionUtils
-
Returns all field from a given class that are annotated with provided annotation type.
- getCode() - Method in class com.github.jasminb.jsonapi.models.errors.Error
-
- getDefaultFeatures() - Static method in enum com.github.jasminb.jsonapi.DeserializationFeature
-
Returns set of features that are enabled by default.
- getDefaultFeatures() - Static method in enum com.github.jasminb.jsonapi.SerializationFeature
-
Returns set of features that are enabled by default.
- getDetail() - Method in class com.github.jasminb.jsonapi.models.errors.Error
-
- getErrors() - Method in exception com.github.jasminb.jsonapi.exceptions.ResourceParseException
-
Returns Errors or null
- getErrors() - Method in class com.github.jasminb.jsonapi.JSONAPIDocument
-
Returns error objects or null in case no errors were set.
- getErrors() - Method in class com.github.jasminb.jsonapi.models.errors.Errors
-
- getFieldRelationship(Field) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
- getFieldType(Field) - Static method in class com.github.jasminb.jsonapi.ReflectionUtils
-
- getFirst() - Method in class com.github.jasminb.jsonapi.Links
-
Convenience method for returning the first link.
- getHref() - Method in class com.github.jasminb.jsonapi.Link
-
Gets href.
- getId() - Method in class com.github.jasminb.jsonapi.models.errors.Error
-
- getIdField(Class<?>) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Returns the id field for given type.
- getIdHandler(Class<?>) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Returns handler registered for given type's id field.
- getLast() - Method in class com.github.jasminb.jsonapi.Links
-
Convenience method for returning the last link.
- getLink(String) - Method in class com.github.jasminb.jsonapi.Links
-
Convenience method for returning named link.
- getLinks() - Method in class com.github.jasminb.jsonapi.JSONAPIDocument
-
Gets links.
- getLinks() - Method in class com.github.jasminb.jsonapi.Links
-
Gets all registered links.
- getLinks() - Method in class com.github.jasminb.jsonapi.models.errors.Error
-
- getLinksField(Class<?>) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Resolves link field for given type.
- getMeta() - Method in class com.github.jasminb.jsonapi.JSONAPIDocument
-
Get meta data.
- getMeta(Class<?>) - Method in class com.github.jasminb.jsonapi.JSONAPIDocument
-
Returns typed meta-data object or null if no meta is present.
- getMeta() - Method in class com.github.jasminb.jsonapi.Link
-
Gets meta.
- getMeta() - Method in class com.github.jasminb.jsonapi.models.errors.Error
-
- getMetaField(Class<?>) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Returns field annotated with meta annotation for given type.
- getMetaType(Class<?>) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Returns meta-data type for given class.
- getNext() - Method in class com.github.jasminb.jsonapi.Links
-
Convenience method for returning the next link.
- getParameter() - Method in class com.github.jasminb.jsonapi.models.errors.Source
-
- getPointer() - Method in class com.github.jasminb.jsonapi.models.errors.Source
-
- getPrevious() - Method in class com.github.jasminb.jsonapi.Links
-
Convenience method for returning the prev link.
- getRelated() - Method in class com.github.jasminb.jsonapi.Links
-
Convenience method for returning the related link.
- getRelationshipField(Class<?>, String) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Returns relationship field.
- getRelationshipFields(Class<?>) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Returns list of all fields annotated with
Relationship annotation for given class.
- getRelationshipLinksField(Class<?>, String) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Returns relationship links field.
- getRelationshipMetaField(Class<?>, String) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Returns relationship meta field.
- getRelationshipMetaType(Class<?>, String) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Returns a type of a relationship meta field.
- getRelationshipType(Class<?>, String) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Returns a type of a relationship.
- getRelName() - Method in enum com.github.jasminb.jsonapi.RelType
-
Obtains the name of the relationship, suitable for use in serialized JSON.
- getSelf() - Method in class com.github.jasminb.jsonapi.Links
-
Convenience method for returning the self link.
- getSource() - Method in class com.github.jasminb.jsonapi.models.errors.Error
-
- getStatus() - Method in class com.github.jasminb.jsonapi.models.errors.Error
-
- getTitle() - Method in class com.github.jasminb.jsonapi.models.errors.Error
-
- getType(Class<?>) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Resolves and returns the type given to provided class.
- getType() - Method in exception com.github.jasminb.jsonapi.exceptions.UnregisteredTypeException
-
Returns the unregistered type for which this exception is applicable to.
- getType() - Method in class com.github.jasminb.jsonapi.retrofit.RetrofitType
-
Gets type.
- getTypeClass(String) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Resolves a type for given type name.
- getTypeName(Class<?>) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Resolves and returns name of the type given to provided class.
- getTypeName(Class<?>) - Static method in class com.github.jasminb.jsonapi.ReflectionUtils
-
Returns the type name defined using Type annotation on provided class.
- readDocument(byte[], Class<T>) - Method in class com.github.jasminb.jsonapi.ResourceConverter
-
Reads JSON API spec document and converts it into target type.
- readDocument(InputStream, Class<T>) - Method in class com.github.jasminb.jsonapi.ResourceConverter
-
Reads JSON API spec document and converts it into target type.
- readDocumentCollection(byte[], Class<T>) - Method in class com.github.jasminb.jsonapi.ResourceConverter
-
Reads JSON API spec document and converts it into collection of target type objects.
- readDocumentCollection(InputStream, Class<T>) - Method in class com.github.jasminb.jsonapi.ResourceConverter
-
Reads JSON API spec document and converts it into collection of target type objects.
- readObject(byte[], Class<T>) - Method in class com.github.jasminb.jsonapi.ResourceConverter
-
Deprecated.
- readObjectCollection(byte[], Class<T>) - Method in class com.github.jasminb.jsonapi.ResourceConverter
-
Deprecated.
- ReflectionUtils - Class in com.github.jasminb.jsonapi
-
Various utility methods that simplify JAVA reflection actions.
- registerType(Class<?>) - Method in class com.github.jasminb.jsonapi.ConverterConfiguration
-
Registers new type with this configuration instance.
- registerType(Class<?>) - Method in class com.github.jasminb.jsonapi.ResourceConverter
-
Registers new type to be used with this converter instance.
- RELATED - Static variable in interface com.github.jasminb.jsonapi.JSONAPISpecConstants
-
- Relationship - Annotation Type in com.github.jasminb.jsonapi.annotations
-
Annotation used to configure relationship field in JSON API resources.
- RelationshipLinks - Annotation Type in com.github.jasminb.jsonapi.annotations
-
Relationship links annotation.
- RelationshipMeta - Annotation Type in com.github.jasminb.jsonapi.annotations
-
Relationship meta annotation.
- RelationshipResolver - Interface in com.github.jasminb.jsonapi
-
Relationship resolver contract.
- RELATIONSHIPS - Static variable in interface com.github.jasminb.jsonapi.JSONAPISpecConstants
-
- RelType - Enum in com.github.jasminb.jsonapi
-
- requestBodyConverter(Type, Annotation[], Annotation[], Retrofit) - Method in class com.github.jasminb.jsonapi.retrofit.JSONAPIConverterFactory
-
- resolve(String) - Method in interface com.github.jasminb.jsonapi.RelationshipResolver
-
Resolve relationship data.
- ResourceCache - Class in com.github.jasminb.jsonapi
-
Resource caching provider.
- ResourceCache() - Constructor for class com.github.jasminb.jsonapi.ResourceCache
-
- ResourceConverter - Class in com.github.jasminb.jsonapi
-
JSON API data converter.
- ResourceConverter(Class<?>...) - Constructor for class com.github.jasminb.jsonapi.ResourceConverter
-
Creates new ResourceConverter.
- ResourceConverter(String, Class<?>...) - Constructor for class com.github.jasminb.jsonapi.ResourceConverter
-
Creates new ResourceConverter.
- ResourceConverter(ObjectMapper, Class<?>...) - Constructor for class com.github.jasminb.jsonapi.ResourceConverter
-
- ResourceConverter(ObjectMapper, String, Class<?>...) - Constructor for class com.github.jasminb.jsonapi.ResourceConverter
-
Creates new ResourceConverter.
- ResourceIdHandler - Interface in com.github.jasminb.jsonapi
-
Resource identifier handler.
- ResourceParseException - Exception in com.github.jasminb.jsonapi.exceptions
-
ResourceParseException implementation.
- ResourceParseException(Errors) - Constructor for exception com.github.jasminb.jsonapi.exceptions.ResourceParseException
-
- responseBodyConverter(Type, Annotation[], Retrofit) - Method in class com.github.jasminb.jsonapi.retrofit.JSONAPIConverterFactory
-
- RetrofitType - Class in com.github.jasminb.jsonapi.retrofit
-
Simple class used to simplify type management in Retrofit converter factory.
- RetrofitType(Type) - Constructor for class com.github.jasminb.jsonapi.retrofit.RetrofitType
-
Instantiates a new Retrofit type.