All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.mutiny.ext.web.handler.InputTrustHandler Maven / Gradle / Ivy

There is a newer version: 3.18.0
Show newest version
package io.vertx.mutiny.ext.web.handler;

import java.util.Map;
import java.util.stream.Collectors;
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import io.smallrye.mutiny.vertx.TypeArg;
import io.vertx.codegen.annotations.Fluent;
import io.smallrye.common.annotation.CheckReturnValue;
import io.vertx.core.Handler;

/**
 * Base input trust interface for handlers that verify the trust of the request. Do not confuse trust and authorization.
 *
 * Trusted input by means of Cross-Site Request Forgery as an example, gives the application guarantees about
 * the integrity of the data. It does not replace proper {@link io.vertx.mutiny.ext.web.handler.AuthorizationHandler} checks.
 *
 * 

* NOTE: This class has been automatically generated from the {@link io.vertx.ext.web.handler.InputTrustHandler original} non Mutiny-ified interface using Vert.x codegen. */ @io.smallrye.mutiny.vertx.MutinyGen(io.vertx.ext.web.handler.InputTrustHandler.class) public interface InputTrustHandler extends io.vertx.core.Handler, java.util.function.Consumer { io.vertx.ext.web.handler.InputTrustHandler getDelegate(); public void handle(io.vertx.mutiny.ext.web.RoutingContext arg0); default public void accept(io.vertx.mutiny.ext.web.RoutingContext item) { handle(item); } public static InputTrustHandler newInstance(io.vertx.ext.web.handler.InputTrustHandler arg) { return arg != null ? new InputTrustHandlerImpl(arg) : null; } } class InputTrustHandlerImpl implements InputTrustHandler { private final io.vertx.ext.web.handler.InputTrustHandler delegate; public io.vertx.ext.web.handler.InputTrustHandler getDelegate() { return delegate; } /** * Empty constructor used by CDI, do not use this constructor directly. **/ InputTrustHandlerImpl() { this.delegate = null; } public InputTrustHandlerImpl(io.vertx.ext.web.handler.InputTrustHandler delegate) { this.delegate = delegate; } public void handle(io.vertx.mutiny.ext.web.RoutingContext arg0) { delegate.handle(arg0.getDelegate()); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy