@Path(value="/packages") @Produces(value="application/json") @Consumes(value="application/json") public class Packages extends PackagesBase
namespaceName, topicNamehttpRequest, NOT_IMPLEMENTED, servletContext, uri| Constructor and Description |
|---|
Packages() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String type,
String tenant,
String namespace,
String packageName,
String version,
javax.ws.rs.container.AsyncResponse asyncResponse) |
javax.ws.rs.core.StreamingOutput |
download(String type,
String tenant,
String namespace,
String packageName,
String version) |
void |
getMeta(String type,
String tenant,
String namespace,
String packageName,
String version,
javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
listPackages(String type,
String tenant,
String namespace,
javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
listPackageVersion(String type,
String tenant,
String namespace,
String packageName,
javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
updateMeta(String type,
String tenant,
String namespace,
String packageName,
String version,
PackageMetadata metadata,
javax.ws.rs.container.AsyncResponse asyncResponse) |
void |
upload(String type,
String tenant,
String namespace,
String packageName,
String version,
PackageMetadata packageMetadata,
InputStream uploadedInputStream,
javax.ws.rs.container.AsyncResponse asyncResponse) |
internalDelete, internalDownload, internalGetMetadata, internalListPackages, internalListVersions, internalUpdateMetadata, internalUploadbookKeeper, checkArgument, checkBacklogQuota, checkNotNull, checkNotNull, checkTopicExistsAsync, checkTopicLevelPolicyEnable, clusters, dispatchRate, domain, fetchPartitionedTopicMetadata, fetchPartitionedTopicMetadataCheckAllowAutoCreation, getNamespacePolicies, getNamespacePolicies, getNamespacePoliciesAsync, getNamespaceReplicatedClusters, getPartitionedTopicList, getPartitionedTopicMetadata, getPartitionedTopicMetadataAsync, getSchemaCompatibilityStrategyAsync, getTopicPartitionList, getTopicPoliciesAsyncWithRetry, internalCreatePartitionedTopic, isLeaderBroker, isManagedLedgerNotFoundException, isNamespaceReplicated, jsonMapper, mergeNamespaceWithDefaults, namespaceBacklogQuota, replicatorDispatchRate, resumeAsyncResponseExceptionally, setServletContext, subscribeRate, subscriptionDispatchRate, tryCreatePartitionsAsync, validateAdminAccessForTenant, validateBundleOwnership, validateClusterExists, validateGlobalNamespaceOwnership, validateNamespaceName, validateNamespaceName, validatePartitionedTopicMetadata, validatePartitionedTopicName, validatePersistencePolicies, validatePersistentTopicName, validatePersistentTopicName, validatePoliciesReadOnlyAccess, validateSuperUserAccess, validateTopicName, validateTopicNamebookieResources, canUpdateCluster, checkAuthorizationAsync, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, clusterResources, config, dynamicConfigurationResources, getClusterDataIfDifferentCluster, getLocalPolicies, getPulsarResources, handleCommonRestAsyncException, hasActiveNamespace, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isRequestHttps, namespaceIsolationPolicies, namespaceResources, originalPrincipal, pulsar, resourceGroupResources, setPulsar, splitPath, tenantResources, topicResources, validateAdminAccessForTenant, validateAdminAccessForTenantAsync, validateBrokerName, validateBundleOwnership, validateClusterForTenant, validateClusterOwnership, validateGlobalNamespaceOwnership, validateGlobalNamespaceOwnershipAsync, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOperationAsync, validateNamespacePolicyOperation, validateTenantOperation, validateTopicOperation, validateTopicOperation, validateTopicOperationAsync, validateTopicOperationAsync, validateTopicOwnership, validateTopicOwnershipAsync, validateTopicPolicyOperation@GET
@Path(value="/{type}/{tenant}/{namespace}/{packageName}/{version}/metadata")
public void getMeta(@PathParam(value="type")
String type,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="packageName")
String packageName,
@PathParam(value="version")
String version,
@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse)
@PUT
@Path(value="/{type}/{tenant}/{namespace}/{packageName}/{version}/metadata")
@Consumes(value="application/json")
public void updateMeta(@PathParam(value="type")
String type,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="packageName")
String packageName,
@PathParam(value="version")
String version,
PackageMetadata metadata,
@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse)
@POST
@Path(value="/{type}/{tenant}/{namespace}/{packageName}/{version}")
@Consumes(value="multipart/form-data")
public void upload(@PathParam(value="type")
String type,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="packageName")
String packageName,
@PathParam(value="version")
String version,
PackageMetadata packageMetadata,
InputStream uploadedInputStream,
@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse)
@GET
@Path(value="/{type}/{tenant}/{namespace}/{packageName}/{version}")
public javax.ws.rs.core.StreamingOutput download(@PathParam(value="type")
String type,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="packageName")
String packageName,
@PathParam(value="version")
String version)
@DELETE
@Path(value="/{type}/{tenant}/{namespace}/{packageName}/{version}")
public void delete(@PathParam(value="type")
String type,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="packageName")
String packageName,
@PathParam(value="version")
String version,
@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse)
@GET
@Path(value="/{type}/{tenant}/{namespace}/{packageName}")
public void listPackageVersion(@PathParam(value="type")
String type,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="packageName")
String packageName,
@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.