@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) |
getTopicName, getTopicName, internalGetNamespaceBundle, internalLookupTopicAsync, lookupTopicAsync, lookupTopicAsynccheckAuthorization, checkConnect, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, config, getClusterDataIfDifferentCluster, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isLeaderBroker, isRequestHttps, joinPath, originalPrincipal, path, pulsar, setPulsar, splitPath, validateAdminAccessForTenant, validateAdminAccessForTenant, validateBundleOwnership, validateBundleOwnership, validateClusterForTenant, validateClusterOwnership, validateGlobalNamespaceOwnership, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOwnershipWithBundles, validateNamespacePolicyOperation, validateSuperUserAccess, validateTenantOperation, validateTopicOwnership@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)
@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–2021 Apache Software Foundation. All rights reserved.