Class MembershipsController
java.lang.Object
com.atlassian.crowd.plugin.rest.service.controller.AbstractResourceController
com.atlassian.crowd.plugin.rest.service.controller.MembershipsController
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMembershipsController
(ApplicationService applicationService, AuthenticatedApplicationHolder authenticatedApplicationHolder) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.StreamingOutput
asXml
(Iterable<? extends Membership> memberships) static List
<ImmutableMembership> copyOf
(Iterable<? extends Membership> memberships) getMemberships
(Application application) static String
tagFor
(Iterable<? extends Membership> memberships) This method should produce a different tag for semantically distinct collections of memberships.Methods inherited from class com.atlassian.crowd.plugin.rest.service.controller.AbstractResourceController
getAuthenticatedApplication
-
Constructor Details
-
MembershipsController
@Inject public MembershipsController(ApplicationService applicationService, AuthenticatedApplicationHolder authenticatedApplicationHolder)
-
-
Method Details
-
asXml
-
prepareQuery
-
getMemberships
-
copyOf
-
tagFor
public static String tagFor(Iterable<? extends Membership> memberships) throws NoSuchAlgorithmException This method should produce a different tag for semantically distinct collections of memberships. That's the only requirement, and the algorithm can be changed at any time at the cost of invalidating any client caches.- Throws:
NoSuchAlgorithmException
-