- getAttribute(String) - Method in class de.otto.edison.hal.HalRepresentation
-
Returns the value of an extra attribute as a JsonNode, or null if no such attribute is present.
- getAttributes() - Method in class de.otto.edison.hal.HalRepresentation
-
Returns extra attributes that were not mapped to properties of the HalRepresentation.
- getCuri() - Method in class de.otto.edison.hal.CuriTemplate
-
Returns the curi
Link
of this template.
- getCuries() - Method in class de.otto.edison.hal.Curies
-
- getCurrentContextUrl() - Method in class de.otto.edison.hal.traverson.Traverson
-
Returns the current contextUrl of the Traverson.
- getDeprecation() - Method in class de.otto.edison.hal.Link
-
Returns the deprecation information, or an empty string, if the link is not deprecated.
- getEmbedded() - Method in class de.otto.edison.hal.HalRepresentation
-
Returns the Embedded objects of the HalRepresentation.
- getHref() - Method in class de.otto.edison.hal.Link
-
Returns the href of the link.
- getHrefAsTemplate() - Method in class de.otto.edison.hal.Link
-
Returns the href of the link as a UriTemplate
that can be expanded by providing the required template variables.
- getHreflang() - Method in class de.otto.edison.hal.Link
-
Returns the hreflang of the link, or an empty String if no hreflang is specified.
- getItemsBy(String) - Method in class de.otto.edison.hal.Embedded
-
Returns the embedded items by link-relation type.
- getItemsBy(String, Class<E>) - Method in class de.otto.edison.hal.Embedded
-
Returns the embedded items by link-relation type.
- getLastPage() - Method in class de.otto.edison.hal.paging.NumberedPaging
-
- getLimit() - Method in class de.otto.edison.hal.paging.SkipLimitPaging
-
The limit for the current page size.
- getLinkBy(String) - Method in class de.otto.edison.hal.Links
-
Returns the first (if any) link having the specified link-relation type.
- getLinkBy(String, Predicate<Link>) - Method in class de.otto.edison.hal.Links
-
Returns the first (if any) link having the specified link-relation type and matching the given predicate.
- getLinks() - Method in class de.otto.edison.hal.HalRepresentation
-
Returns the Links of the HalRepresentation.
- getLinksBy(String) - Method in class de.otto.edison.hal.Links
-
Returns the list of links having the specified link-relation type.
- getLinksBy(String, Predicate<Link>) - Method in class de.otto.edison.hal.Links
-
Returns the list of links having the specified link-relation type and matching the given predicate.
- getName() - Method in class de.otto.edison.hal.Link
-
Returns the name of the link, or an empty String if no name is specified.
- getNestedTypeInfo() - Method in class de.otto.edison.hal.EmbeddedTypeInfo
-
- getPageNumber() - Method in class de.otto.edison.hal.paging.NumberedPaging
-
- getPageSize() - Method in class de.otto.edison.hal.paging.NumberedPaging
-
- getProfile() - Method in class de.otto.edison.hal.Link
-
Returns the profile of the link, or an empty String if no profile is specified.
- getRel() - Method in class de.otto.edison.hal.EmbeddedTypeInfo
-
- getRel() - Method in class de.otto.edison.hal.Link
-
Returns the link-relation type of the link.
- getRels() - Method in class de.otto.edison.hal.Embedded
-
Returns all link-relation types of the embedded items.
- getRels() - Method in class de.otto.edison.hal.Links
-
Returns all link-relation types of the embedded items.
- getResource() - Method in class de.otto.edison.hal.traverson.Traverson
-
Return the selected resource as HalRepresentation.
- getResourceAs(Class<T>) - Method in class de.otto.edison.hal.traverson.Traverson
-
Return the selected resource and return it in the specified type.
- getResourceAs(Class<T>, EmbeddedTypeInfo, EmbeddedTypeInfo...) - Method in class de.otto.edison.hal.traverson.Traverson
-
Return the selected resource and return it in the specified type.
- getResourceAs(Class<T>, List<EmbeddedTypeInfo>) - Method in class de.otto.edison.hal.traverson.Traverson
-
Return the selected resource and return it in the specified type.
- getSkip() - Method in class de.otto.edison.hal.paging.SkipLimitPaging
-
Skipped number of items in the current selection.
- getTitle() - Method in class de.otto.edison.hal.Link
-
Returns the title of the link, or an empty String if no title is specified.
- getTotal() - Method in class de.otto.edison.hal.paging.NumberedPaging
-
The optional total number of available items in the current selection.
- getTotal() - Method in class de.otto.edison.hal.paging.SkipLimitPaging
-
Optional total number of items in the current selection.
- getType() - Method in class de.otto.edison.hal.EmbeddedTypeInfo
-
- getType() - Method in class de.otto.edison.hal.Link
-
Returns the type of the link, or an empty String if no type is specified.
- isArray(String) - Method in class de.otto.edison.hal.Embedded
-
Returns true if there is at least one embedded item with link-relation type rel
, and if the item will
be rendered as an array of embedded items instead of a single object.
- isArray(String) - Method in class de.otto.edison.hal.Links
-
Returns true if there is at least one link with link-relation type rel
, and if the link will
be rendered as an array of link-objects.
- isEmpty() - Method in class de.otto.edison.hal.Embedded
-
- isEmpty() - Method in class de.otto.edison.hal.Links
-
- isEquivalentTo(Link) - Method in class de.otto.edison.hal.Link
-
- isMatching(String) - Method in class de.otto.edison.hal.CuriTemplate
-
Returns true, if the given link-relation type is matching the CuriTemplate pattern, false if not.
- isMatchingCuriedRel(String) - Method in class de.otto.edison.hal.CuriTemplate
-
Returns true, if the given link-relation type is a CURI rel matching the CuriTemplate pattern, false if not.
- isMatchingExpandedRel(String) - Method in class de.otto.edison.hal.CuriTemplate
-
Returns true, if the given link-relation type is a non-CURI rel matching the CuriTemplate pattern, false if not.
- isTemplated() - Method in class de.otto.edison.hal.Link
-
Returns true, if the link is templated, false otherwise.
- item(String) - Static method in class de.otto.edison.hal.Link
-
Create a 'item' link from a href.
- item(String) - Method in class de.otto.edison.hal.Links.Builder
-
Adds an 'item' link to the builder.
- PAGE_NUMBER_VAR - Static variable in class de.otto.edison.hal.paging.NumberedPaging
-
The default template-variable name used to identify the number of the page.
- PAGE_SIZE_VAR - Static variable in class de.otto.edison.hal.paging.NumberedPaging
-
The default template-variable name used to identify the size of the page.
- PageHandler - Interface in de.otto.edison.hal.traverson
-
Functional interface used to traverse pages of linked or embedded resources.
- pageNumberVar() - Method in class de.otto.edison.hal.paging.NumberedPaging
-
The name of the uri-template variable used to identify the current page number.
- pageSizeVar() - Method in class de.otto.edison.hal.paging.NumberedPaging
-
The name of the uri-template variable used to specify the current page size.
- paginate(String, EmbeddedTypeInfo, PageHandler) - Method in class de.otto.edison.hal.traverson.Traverson
-
Iterates over pages by following {code rel} links.
- paginateAs(String, Class<T>, EmbeddedTypeInfo, PageHandler) - Method in class de.otto.edison.hal.traverson.Traverson
-
Iterates over pages by following {code rel} links.
- paginateNext(PageHandler) - Method in class de.otto.edison.hal.traverson.Traverson
-
Iterates over pages by following 'next' links.
- paginateNext(EmbeddedTypeInfo, PageHandler) - Method in class de.otto.edison.hal.traverson.Traverson
-
Iterates over pages by following 'next' links.
- paginateNextAs(Class<T>, PageHandler) - Method in class de.otto.edison.hal.traverson.Traverson
-
Iterates over pages by following 'next' links.
- paginateNextAs(Class<T>, EmbeddedTypeInfo, PageHandler) - Method in class de.otto.edison.hal.traverson.Traverson
-
Iterates over pages by following 'next' links.
- paginatePrev(PageHandler) - Method in class de.otto.edison.hal.traverson.Traverson
-
Iterates over pages by following 'prev' links.
- paginatePrev(EmbeddedTypeInfo, PageHandler) - Method in class de.otto.edison.hal.traverson.Traverson
-
Iterates over pages by following 'prev' links.
- paginatePrevAs(Class<T>, PageHandler) - Method in class de.otto.edison.hal.traverson.Traverson
-
Iterates over pages by following 'prev' links.
- paginatePrevAs(Class<T>, EmbeddedTypeInfo, PageHandler) - Method in class de.otto.edison.hal.traverson.Traverson
-
Iterates over pages by following 'prev' links.
- PagingRel - Enum in de.otto.edison.hal.paging
-
Link-relation types used in paged resources.
- parse(String) - Static method in class de.otto.edison.hal.HalParser
-
Create a new HalParser for a JSON document.
- parse(String, ObjectMapper) - Static method in class de.otto.edison.hal.HalParser
-
Create a new HalParser for a JSON document.
- profile(String) - Static method in class de.otto.edison.hal.Link
-
Create a 'profile' link from a href
- self(String) - Static method in class de.otto.edison.hal.Link
-
Create a 'self' link from a href.
- self(String) - Method in class de.otto.edison.hal.Links.Builder
-
Adds a 'self' link and returns the Builder.
- serialize(Embedded, JsonGenerator, SerializerProvider) - Method in class de.otto.edison.hal.Embedded.EmbeddedSerializer
-
- serialize(Links, JsonGenerator, SerializerProvider) - Method in class de.otto.edison.hal.Links.LinksSerializer
- single(Link, Link...) - Method in class de.otto.edison.hal.Links.Builder
-
Adds one or more link to the builder that will be rendered as a single link-object instead of an array of link-objects.
- single(List<Link>) - Method in class de.otto.edison.hal.Links.Builder
-
Adds a list of links to the builder that will be rendered as a single link-object instead of an array of
link-objects.
- SKIP_VAR - Static variable in class de.otto.edison.hal.paging.SkipLimitPaging
-
The default template-variable name used to identify the number of items to skip
- skipLimitPage(int, int, boolean) - Static method in class de.otto.edison.hal.paging.SkipLimitPaging
-
Create a NumberedPaging instances for pages where it is known whether or not there are more
items beyond the current page.
- skipLimitPage(int, int, int) - Static method in class de.otto.edison.hal.paging.SkipLimitPaging
-
Create a NumberedPaging instances for pages where it is known how many items are matching the initial query.
- SkipLimitPaging - Class in de.otto.edison.hal.paging
-
A helper class used to create paging links for paged resources that are using page URIs with skip and limit paramters.
- SkipLimitPaging(int, int, boolean) - Constructor for class de.otto.edison.hal.paging.SkipLimitPaging
-
Creates a NumberedPage instance.
- SkipLimitPaging(int, int, int) - Constructor for class de.otto.edison.hal.paging.SkipLimitPaging
-
Creates a NumberedPage instance.
- skipVar() - Method in class de.otto.edison.hal.paging.SkipLimitPaging
-
Return the name of the template variable used to specify the number of skipped items.
- startWith(String, Map<String, Object>) - Method in class de.otto.edison.hal.traverson.Traverson
-
Start traversal at the application/hal+json resource idenfied by uri
.
- startWith(String) - Method in class de.otto.edison.hal.traverson.Traverson
-
Start traversal at the application/hal+json resource idenfied by uri
.
- startWith(HalRepresentation) - Method in class de.otto.edison.hal.traverson.Traverson
-
Start traversal at the given HAL resource.
- startWith(URL, HalRepresentation) - Method in class de.otto.edison.hal.traverson.Traverson
-
Start traversal at the given HAL resource, using the contextUrl
to resolve relative links.
- stream() - Method in class de.otto.edison.hal.Links
-
Returns a Stream of links.
- stream() - Method in class de.otto.edison.hal.traverson.Traverson
-
Follow the
Link
s of the current resource, selected by its link-relation type and returns a
Stream
containing the returned
HalRepresentations
.
- streamAs(Class<T>) - Method in class de.otto.edison.hal.traverson.Traverson
-
Follow the
Link
s of the current resource, selected by its link-relation type and returns a
Stream
containing the returned
HalRepresentations
.
- streamAs(Class<T>, EmbeddedTypeInfo, EmbeddedTypeInfo...) - Method in class de.otto.edison.hal.traverson.Traverson
-
Follow the
Link
s of the current resource, selected by its link-relation type and returns a
Stream
containing the returned
HalRepresentations
.
- streamAs(Class<T>, List<EmbeddedTypeInfo>) - Method in class de.otto.edison.hal.traverson.Traverson
-
Follow the
Link
s of the current resource, selected by its link-relation type and returns a
Stream
containing the returned
HalRepresentations
.