@Path(value="/v2/topic") public class TopicLookup extends TopicLookupBase
httpRequest, NOT_IMPLEMENTED, servletContext, uri| Constructor and Description |
|---|
TopicLookup() |
| Modifier and Type | Method and Description |
|---|---|
String |
getNamespaceBundle(String topicDomain,
String tenant,
String namespace,
String encodedTopic) |
void |
lookupTopicAsync(String topicDomain,
String tenant,
String namespace,
String encodedTopic,
boolean authoritative,
javax.ws.rs.container.AsyncResponse asyncResponse,
String listenerName,
String listenerNameHeader) |
getTopicName, getTopicName, internalGetNamespaceBundle, internalLookupTopicAsync, lookupTopicAsync, lookupTopicAsyncbookieResources, canUpdateCluster, checkAuthorizationAsync, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, clusterResources, config, dynamicConfigurationResources, getClusterDataIfDifferentCluster, getLocalPolicies, getPulsarResources, handleCommonRestAsyncException, hasActiveNamespace, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isLeaderBroker, isRequestHttps, jsonMapper, namespaceIsolationPolicies, namespaceResources, originalPrincipal, pulsar, resourceGroupResources, setPulsar, splitPath, tenantResources, topicResources, validateAdminAccessForTenant, validateAdminAccessForTenant, validateAdminAccessForTenantAsync, validateBrokerName, validateBundleOwnership, validateBundleOwnership, validateClusterExists, validateClusterForTenant, validateClusterOwnership, validateGlobalNamespaceOwnership, validateGlobalNamespaceOwnershipAsync, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOperationAsync, validateNamespacePolicyOperation, validatePoliciesReadOnlyAccess, validateSuperUserAccess, validateTenantOperation, validateTopicOperation, validateTopicOperation, validateTopicOperationAsync, validateTopicOperationAsync, validateTopicOwnership, validateTopicOwnershipAsync, validateTopicPolicyOperation@GET
@Path(value="{topic-domain}/{tenant}/{namespace}/{topic}")
@Produces(value="application/json")
public void lookupTopicAsync(@PathParam(value="topic-domain")
String topicDomain,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic,
@QueryParam(value="authoritative") @DefaultValue(value="false")
boolean authoritative,
@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@QueryParam(value="listenerName")
String listenerName,
@HeaderParam(value="X-Pulsar-ListenerName")
String listenerNameHeader)
@GET
@Path(value="{topic-domain}/{tenant}/{namespace}/{topic}/bundle")
@Produces(value="application/json")
public String getNamespaceBundle(@PathParam(value="topic-domain")
String topicDomain,
@PathParam(value="tenant")
String tenant,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic") @Encoded
String encodedTopic)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.