A C D E F G H I J L P R S T 

A

asLinkFor(URI) - Method in class de.otto.jsonhome.registry.store.Registry
 

C

clear() - Method in class de.otto.jsonhome.registry.store.InMemoryRegistryRepository
Removes all Registry from the repository.
clear() - Method in interface de.otto.jsonhome.registry.store.RegistryRepository
Removes all Registry from the repository.
createOrUpdate(Registry) - Method in class de.otto.jsonhome.registry.store.InMemoryRegistryRepository
Creates or updates Registry.
createOrUpdate(Registry) - Method in interface de.otto.jsonhome.registry.store.RegistryRepository
Creates or updates Registry.

D

de.otto.jsonhome.registry.controller - package de.otto.jsonhome.registry.controller
 
de.otto.jsonhome.registry.store - package de.otto.jsonhome.registry.store
 
DefaultRegistryJsonHomeSource - Class in de.otto.jsonhome.registry.controller
Provides access to a json-home document containing the merged json-home documents registered in the RegistryRepository.
DefaultRegistryJsonHomeSource() - Constructor for class de.otto.jsonhome.registry.controller.DefaultRegistryJsonHomeSource
 
delete(String) - Method in class de.otto.jsonhome.registry.store.InMemoryRegistryRepository
Deletes a Registry instance identified by it's name.
delete(String) - Method in interface de.otto.jsonhome.registry.store.RegistryRepository
Deletes a Registry instance identified by it's name.
deleteRegistry(String, HttpServletResponse) - Method in class de.otto.jsonhome.registry.controller.RegistriesController
Deletes the specified registry.

E

equals(Object) - Method in class de.otto.jsonhome.registry.store.Link
 

F

findByHref(URI) - Method in class de.otto.jsonhome.registry.store.Registry
Returns the entry referring to the specified href.

G

get(String) - Method in class de.otto.jsonhome.registry.store.InMemoryRegistryRepository
 
get(String) - Method in interface de.otto.jsonhome.registry.store.RegistryRepository
Returns the registry with the specifed name, or null if no such registry exists.
getAll() - Method in class de.otto.jsonhome.registry.store.Registry
Returns an unmodifiable collection of all registered links.
getAsApplicationJson(String, HttpServletResponse) - Method in class de.otto.jsonhome.registry.controller.RegistryJsonHomeController
 
getAsApplicationJsonHome(String, HttpServletResponse) - Method in class de.otto.jsonhome.registry.controller.RegistryJsonHomeController
 
getHref() - Method in class de.otto.jsonhome.registry.store.Link
The URI of the referred json-home document.
getHtmlHomeDocument(String, HttpServletRequest, HttpServletResponse) - Method in class de.otto.jsonhome.registry.controller.RegistryHtmlController
 
getJsonHome(String) - Method in class de.otto.jsonhome.registry.controller.DefaultRegistryJsonHomeSource
Returns the JsonHome document for the specified registryName.
getJsonHome(String) - Method in interface de.otto.jsonhome.registry.controller.RegistryJsonHomeSource
Returns a JsonHome instance for a specified environment.
getKnownNames() - Method in class de.otto.jsonhome.registry.store.InMemoryRegistryRepository
Returns the names of all known Registry instances.
getKnownNames() - Method in interface de.otto.jsonhome.registry.store.RegistryRepository
Returns the names of all known Registry instances.
getName() - Method in class de.otto.jsonhome.registry.store.Registry
Returns the name of the link collection.
getRegistries(HttpServletResponse) - Method in class de.otto.jsonhome.registry.controller.RegistriesController
Returns the registries as a list of URLs.
getRegistry(String, HttpServletResponse) - Method in class de.otto.jsonhome.registry.controller.RegistriesController
Returns the contents of the registry in application/json format.
getRelationshipType(String, HttpServletRequest) - Method in class de.otto.jsonhome.registry.controller.RegistryHtmlController
 
getTitle() - Method in class de.otto.jsonhome.registry.store.Link
Title of the system offering the json-home document.
getTitle() - Method in class de.otto.jsonhome.registry.store.Registry
Returns the human-readable title of the registry.

H

handleBadRequest() - Method in class de.otto.jsonhome.registry.controller.RegistriesController
 
handleNotFound(IllegalArgumentException, HttpServletResponse) - Method in class de.otto.jsonhome.registry.controller.RegistryHtmlController
 
hashCode() - Method in class de.otto.jsonhome.registry.store.Link
 

I

InMemoryRegistryRepository - Class in de.otto.jsonhome.registry.store
In-memory implementation of the RegistryRepository interface.
InMemoryRegistryRepository() - Constructor for class de.otto.jsonhome.registry.store.InMemoryRegistryRepository
 

J

jsonToLink(Map<String, String>) - Static method in class de.otto.jsonhome.registry.controller.LinkConverter
 
jsonToLinks(Collection<Map<String, String>>) - Static method in class de.otto.jsonhome.registry.controller.LinkConverter
 
jsonToRegistry(Map<String, ?>) - Static method in class de.otto.jsonhome.registry.controller.RegistryConverter
 

L

Link - Class in de.otto.jsonhome.registry.store
A link to a resource, consisting of a title and href.
Link(URI, String) - Constructor for class de.otto.jsonhome.registry.store.Link
Creates a new link to a resource.
LinkConverter - Class in de.otto.jsonhome.registry.controller
 
linksToJson(Collection<Link>) - Static method in class de.otto.jsonhome.registry.controller.LinkConverter
 
linkToJson(Link) - Static method in class de.otto.jsonhome.registry.controller.LinkConverter
 

P

putRegistry(String, Map<String, Object>, HttpServletResponse) - Method in class de.otto.jsonhome.registry.controller.RegistriesController
Creates or updates a registry.

R

RegistriesController - Class in de.otto.jsonhome.registry.controller
Controller responsible for requests to the /registry resource.
RegistriesController() - Constructor for class de.otto.jsonhome.registry.controller.RegistriesController
 
RegistriesConverter - Class in de.otto.jsonhome.registry.controller
Converter used to convert the registries resource documents.
registriesToJson(URI, RegistryRepository) - Static method in class de.otto.jsonhome.registry.controller.RegistriesConverter
 
registry - Variable in class de.otto.jsonhome.registry.store.InMemoryRegistryRepository
 
Registry - Class in de.otto.jsonhome.registry.store
An immutable named collection of Registry.
Registry(String, String, List<Link>) - Constructor for class de.otto.jsonhome.registry.store.Registry
 
RegistryConverter - Class in de.otto.jsonhome.registry.controller
A converter used to convert Registry and Link items into maps and vice versa.
RegistryHtmlController - Class in de.otto.jsonhome.registry.controller
This controller is handling the /rel resource of a registry.
RegistryHtmlController() - Constructor for class de.otto.jsonhome.registry.controller.RegistryHtmlController
 
RegistryJsonHomeController - Class in de.otto.jsonhome.registry.controller
 
RegistryJsonHomeController() - Constructor for class de.otto.jsonhome.registry.controller.RegistryJsonHomeController
 
RegistryJsonHomeSource - Interface in de.otto.jsonhome.registry.controller
A source for json-home documents.
RegistryRepository - Interface in de.otto.jsonhome.registry.store
A repository used to store Registry.
registryToJson(URI, Registry) - Static method in class de.otto.jsonhome.registry.controller.RegistryConverter
 

S

setApplicationBaseUri(String) - Method in class de.otto.jsonhome.registry.controller.RegistriesController
 
setDefaultRegistry(String) - Method in class de.otto.jsonhome.registry.controller.RegistryHtmlController
 
setDefaultRegistry(String) - Method in class de.otto.jsonhome.registry.controller.RegistryJsonHomeController
 
setMaxAgeSeconds(int) - Method in class de.otto.jsonhome.registry.controller.RegistryHtmlController
 
setMaxAgeSeconds(int) - Method in class de.otto.jsonhome.registry.controller.RegistryJsonHomeController
 
setRegistries(RegistryRepository) - Method in class de.otto.jsonhome.registry.controller.DefaultRegistryJsonHomeSource
 
setRegistryJsonHomeSource(RegistryJsonHomeSource) - Method in class de.otto.jsonhome.registry.controller.RegistryHtmlController
 
setRegistryJsonHomeSource(RegistryJsonHomeSource) - Method in class de.otto.jsonhome.registry.controller.RegistryJsonHomeController
 
setRegistryRepository(RegistryRepository) - Method in class de.otto.jsonhome.registry.controller.RegistriesController
Injects the registry implementation used to store registry entries.
shutdown() - Method in class de.otto.jsonhome.registry.controller.DefaultRegistryJsonHomeSource
 

T

toString() - Method in class de.otto.jsonhome.registry.store.Link
 
A C D E F G H I J L P R S T