Codota Logo
org.eclipse.hono.service.tenant
Code IndexAdd Codota to your IDE (free)

How to use org.eclipse.hono.service.tenant

Best Java code snippets using org.eclipse.hono.service.tenant (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: eclipse/hono

/**
 * Checks the request payload for validity.
 *
 * @param payload The payload to check.
 * @return boolean The result of the check : {@link Boolean#TRUE} if the payload is valid, {@link Boolean#FALSE} otherwise.
 * @throws NullPointerException If the payload is {@code null}.
 */
private boolean isValidRequestPayload(final JsonObject payload) {
  return hasValidAdapterSpec(payload) && hasValidTrustedCaSpec(payload);
}
origin: org.eclipse.hono/hono-service-base

private void getTenant(final RoutingContext ctx) {
  final String tenantId = getTenantIdFromContext(ctx);
  doTenantHttpRequest(ctx, tenantId, TenantConstants.TenantAction.get,
      status -> status == HttpURLConnection.HTTP_OK, null);
}
origin: org.eclipse.hono/hono-service-base

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void get(final X500Principal subjectDn,
    final Handler<AsyncResult<TenantResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: eclipse/hono

  /**
   * {@inheritDoc}
   *
   * This default implementation simply returns an empty result with status code 501 (Not Implemented).
   * Subclasses should override this method in order to provide a reasonable implementation.
   */
  @Override
  public void remove(final String tenantId, final Handler<AsyncResult<TenantResult<JsonObject>>> resultHandler) {
    handleUnimplementedOperation(resultHandler);
  }
}
origin: eclipse/hono

@Override
public final void get(final X500Principal subjectDn,
    final Handler<AsyncResult<TenantResult<JsonObject>>> resultHandler) {
  get(subjectDn, NoopSpan.INSTANCE, resultHandler);
}
origin: eclipse/hono

  @Override
  public void setConfig(final ServiceConfigProperties configuration) {
    setSpecificConfig(configuration);
  }
};
origin: eclipse/hono

  @Override
  public void setConfig(final ServiceConfigProperties configuration) {
    setSpecificConfig(configuration);
  }
};
origin: org.eclipse.hono/hono-service-base

private void updateTenant(final RoutingContext ctx) {
  final String tenantId = getTenantIdFromContext(ctx);
  doTenantHttpRequest(ctx, tenantId, TenantConstants.TenantAction.update,
      status -> status == HttpURLConnection.HTTP_NO_CONTENT, null);
}
origin: org.eclipse.hono/hono-service-base

  /**
   * {@inheritDoc}
   *
   * This default implementation simply returns an empty result with status code 501 (Not Implemented).
   * Subclasses should override this method in order to provide a reasonable implementation.
   */
  @Override
  public void remove(final String tenantId, final Handler<AsyncResult<TenantResult<JsonObject>>> resultHandler) {
    handleUnimplementedOperation(resultHandler);
  }
}
origin: eclipse/hono

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void get(final String tenantId, final Span span,
    final Handler<AsyncResult<TenantResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: org.eclipse.hono/hono-service-base

private void removeTenant(final RoutingContext ctx) {
  final String tenantId = getTenantIdFromContext(ctx);
  doTenantHttpRequest(ctx, tenantId, TenantConstants.TenantAction.remove,
      status -> status == HttpURLConnection.HTTP_NO_CONTENT, null);
}
origin: org.eclipse.hono/hono-service-base

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void update(final String tenantId, final JsonObject tenantObj, final Handler<AsyncResult<TenantResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: eclipse/hono

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void get(final X500Principal subjectDn, final Span span,
    final Handler<AsyncResult<TenantResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: eclipse/hono

private void updateTenant(final RoutingContext ctx) {
  final String tenantId = getTenantIdFromContext(ctx);
  doTenantHttpRequest(ctx, tenantId, TenantConstants.TenantAction.update,
      status -> status == HttpURLConnection.HTTP_NO_CONTENT, null);
}
origin: eclipse/hono

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void add(final String tenantId, final JsonObject tenantObj, final Handler<AsyncResult<TenantResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: org.eclipse.hono/hono-service-base

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void get(final String tenantId, final Handler<AsyncResult<TenantResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: eclipse/hono

private void removeTenant(final RoutingContext ctx) {
  final String tenantId = getTenantIdFromContext(ctx);
  doTenantHttpRequest(ctx, tenantId, TenantConstants.TenantAction.remove,
      status -> status == HttpURLConnection.HTTP_NO_CONTENT, null);
}
origin: eclipse/hono

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void update(final String tenantId, final JsonObject tenantObj, final Handler<AsyncResult<TenantResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
origin: eclipse/hono

private void getTenant(final RoutingContext ctx) {
  final String tenantId = getTenantIdFromContext(ctx);
  doTenantHttpRequest(ctx, tenantId, TenantConstants.TenantAction.get,
      status -> status == HttpURLConnection.HTTP_OK, null);
}
origin: org.eclipse.hono/hono-service-base

/**
 * {@inheritDoc}
 *
 * This default implementation simply returns an empty result with status code 501 (Not Implemented).
 * Subclasses should override this method in order to provide a reasonable implementation.
 */
@Override
public void add(final String tenantId, final JsonObject tenantObj, final Handler<AsyncResult<TenantResult<JsonObject>>> resultHandler) {
  handleUnimplementedOperation(resultHandler);
}
org.eclipse.hono.service.tenant

Most used classes

  • TenantAmqpEndpoint
    An AmqpEndpoint for managing tenant information. This endpoint implements Hono's Tenant API [https:/
  • BaseTenantService
    a Base class for implementing TenantService. In particular, this base class provides support for rec
  • CompleteBaseTenantService
    A base class for implementing CompleteTenantService. In particular, this base class provides support
  • TenantHttpEndpoint
    An HttpEndpoint for managing tenant information. This endpoint implements Hono's Tenant API [https:/
  • TenantMessageFilter
    A filter for verifying the format of Tenant API request messages.
  • AbstractCompleteTenantServiceTest,
  • BaseTenantServiceTest$1,
  • BaseTenantServiceTest,
  • CompleteBaseTenantServiceTest$1,
  • CompleteBaseTenantServiceTest,
  • CompleteTenantService,
  • TenantMessageFilterTest
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now