@Named public class MembershipsController extends AbstractResourceController
Modifier and Type | Class and Description |
---|---|
class |
MembershipsController.PreparedResponse |
Constructor and Description |
---|
MembershipsController(ApplicationService applicationService,
AuthenticatedApplicationHolder authenticatedApplicationHolder) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.StreamingOutput |
asXml(Iterable<? extends Membership> memberships) |
static List<ImmutableMembership> |
copyOf(Iterable<? extends Membership> memberships) |
ApplicationService.MembershipsIterable |
getMemberships(Application application) |
MembershipsController.PreparedResponse |
prepareQuery() |
static String |
tagFor(Iterable<? extends Membership> memberships)
This method should produce a different tag for semantically distinct
collections of memberships.
|
getAuthenticatedApplication
@Inject public MembershipsController(ApplicationService applicationService, AuthenticatedApplicationHolder authenticatedApplicationHolder)
public javax.ws.rs.core.StreamingOutput asXml(Iterable<? extends Membership> memberships)
public MembershipsController.PreparedResponse prepareQuery()
public ApplicationService.MembershipsIterable getMemberships(Application application)
public static List<ImmutableMembership> copyOf(Iterable<? extends Membership> memberships)
public static String tagFor(Iterable<? extends Membership> memberships) throws NoSuchAlgorithmException
NoSuchAlgorithmException
Copyright © 2021 Atlassian. All rights reserved.