public interface RestConversionFunction<F,T extends AbstractRestModel>
| Modifier and Type | Method and Description |
|---|---|
T |
apply(F input,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Transforms a domain object to a
AbstractRestModel. |
default Function<F,T> |
toFunction(@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo) |
@NotNull T apply(@NotNull F input, @NotNull @NotNull Expansion expansion, @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo)
AbstractRestModel. The resource will include links.input - The domain object to transformexpansion - The expansion to use when transforming the objecturiInfo - URI info from the requestCopyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.