Class TopicLookup
- java.lang.Object
-
- org.apache.pulsar.broker.web.PulsarWebResource
-
- org.apache.pulsar.broker.lookup.TopicLookupBase
-
- org.apache.pulsar.broker.lookup.v2.TopicLookup
-
@Path("/v2/topic") public class TopicLookup extends TopicLookupBase
-
-
Field Summary
-
Fields inherited from class org.apache.pulsar.broker.web.PulsarWebResource
httpRequest, servletContext, uri
-
-
Constructor Summary
Constructors Constructor Description TopicLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetNamespaceBundle(java.lang.String topicDomain, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic)voidlookupTopicAsync(java.lang.String topicDomain, java.lang.String tenant, java.lang.String namespace, java.lang.String encodedTopic, boolean authoritative, javax.ws.rs.container.AsyncResponse asyncResponse, java.lang.String listenerName, java.lang.String listenerNameHeader)-
Methods inherited from class org.apache.pulsar.broker.lookup.TopicLookupBase
getTopicName, getTopicName, internalGetNamespaceBundle, internalLookupTopicAsync, lookupTopicAsync, lookupTopicAsync
-
Methods inherited from class org.apache.pulsar.broker.web.PulsarWebResource
bookieResources, canUpdateCluster, checkAuthorizationAsync, checkLocalOrGetPeerReplicationCluster, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, clusterResources, config, dynamicConfigurationResources, getClusterDataIfDifferentCluster, getLocalPolicies, getPulsarResources, hasActiveNamespace, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isLeaderBroker, isRequestHttps, jsonMapper, namespaceIsolationPolicies, namespaceResources, originalPrincipal, pulsar, resourceGroupResources, setPulsar, splitPath, sync, tenantResources, topicResources, validateAdminAccessForTenant, validateAdminAccessForTenant, validateAdminAccessForTenantAsync, validateAdminAccessForTenantAsync, validateBrokerName, validateBundleOwnership, validateBundleOwnership, validateClusterExists, validateClusterForTenant, validateClusterOwnership, validateClusterOwnershipAsync, validateGlobalNamespaceOwnership, validateGlobalNamespaceOwnershipAsync, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOperationAsync, validateNamespacePolicyOperation, validateNamespacePolicyOperationAsync, validatePeerClusterConflict, validatePoliciesReadOnlyAccess, validateSuperUserAccess, validateSuperUserAccessAsync, validateTenantOperation, validateTenantOperationAsync, validateTopicOperation, validateTopicOperation, validateTopicOperationAsync, validateTopicOperationAsync, validateTopicOwnership, validateTopicOwnershipAsync, validateTopicPolicyOperation, validateTopicPolicyOperationAsync
-
-
-
-
Method Detail
-
lookupTopicAsync
@GET @Path("{topic-domain}/{tenant}/{namespace}/{topic}") @Produces("application/json") public void lookupTopicAsync(@PathParam("topic-domain") java.lang.String topicDomain, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic, @QueryParam("authoritative") @DefaultValue("false") boolean authoritative, @Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @QueryParam("listenerName") java.lang.String listenerName, @HeaderParam("X-Pulsar-ListenerName") java.lang.String listenerNameHeader)
-
getNamespaceBundle
@GET @Path("{topic-domain}/{tenant}/{namespace}/{topic}/bundle") @Produces("application/json") public java.lang.String getNamespaceBundle(@PathParam("topic-domain") java.lang.String topicDomain, @PathParam("tenant") java.lang.String tenant, @PathParam("namespace") java.lang.String namespace, @PathParam("topic") @Encoded java.lang.String encodedTopic)
-
-