@Component public class TrustedKeyConversionFunction extends Object implements RestConversionFunction<TrustedKey,RestTrustedKey>
Constructor and Description |
---|
TrustedKeyConversionFunction(LinkService linkService) |
Modifier and Type | Method and Description |
---|---|
@NotNull RestTrustedKey |
apply(@NotNull TrustedKey input,
@NotNull Expansion expansion,
@NotNull javax.ws.rs.core.UriInfo uriInfo)
Transforms a domain object to a
AbstractRestModel . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toFunction
@Autowired public TrustedKeyConversionFunction(LinkService linkService)
@NotNull public @NotNull RestTrustedKey apply(@NotNull @NotNull TrustedKey input, @NotNull @NotNull Expansion expansion, @NotNull @NotNull javax.ws.rs.core.UriInfo uriInfo)
RestConversionFunction
AbstractRestModel
. The resource will include links.apply
in interface RestConversionFunction<TrustedKey,RestTrustedKey>
input
- The domain object to transformexpansion
- The expansion to use when transforming the objecturiInfo
- URI info from the requestCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.