Uses of Class
org.restheart.exchange.Request
Packages that use Request
Package
Description
Base package for security plugins
Utility classes
-
Uses of Request in org.restheart.exchange
Subclasses of Request in org.restheart.exchangeModifier and TypeClassDescriptionclassServiceRequest implementation backed by BsonValue and initialized from csv data.classServiceRequest implementation backed by BsonValueclassclassclassclassclassclassRequest implementation used by MongoService and backed by BsonValue that provides simplified methods to deal with headers and query parameters specific to mongo requestsclassProxyRequest<T>Base class for Request implementation that can be used in proxied requests.classBase class for Request implementations that can be used in service requests.classclassUninitializedRequest wraps the exchage and provides access to request attributes (such as getPath()) and allows setting a customRequestInitializer The request content can be only accessed in raw format with getRawContent() and setRawContent() Interceptors at intercePoint REQUEST_BEFORE_EXCHANGE_INIT receive UninitializedRequest as request argumentMethods in org.restheart.exchange that return RequestModifier and TypeMethodDescriptionstatic RequestRequest.of(io.undertow.server.HttpServerExchange exchange) Methods in org.restheart.exchange with parameters of type RequestModifier and TypeMethodDescriptiondefault StringCORSHeaders.accessControlAllowCredentials(Request<?> r) default StringCORSHeaders.accessControlAllowHeaders(Request<?> r) default StringCORSHeaders.accessControlAllowMethods(Request<?> r) default StringCORSHeaders.accessControlAllowOrigin(Request<?> r) default StringCORSHeaders.accessControlExposeHeaders(Request<?> r) -
Uses of Request in org.restheart.metrics
Methods in org.restheart.metrics with parameters of type RequestModifier and TypeMethodDescriptionstatic voidMetrics.attachMetricLabel(Request<?> request, MetricLabel label) attach metrics labels to request RequestsMetricsCollector adds labels to the collected metricsstatic voidMetrics.attachMetricLabels(Request<?> request, List<MetricLabel> labels) attach metrics labels to request RequestsMetricsCollector adds labels to the collected metricsstatic List<MetricLabel> Metrics.getMetricLabels(Request<?> request) retrives the metrics labels attached to request -
Uses of Request in org.restheart.plugins
Classes in org.restheart.plugins with type parameters of type RequestModifier and TypeInterfaceDescriptioninterfaceExchangeTypeResolver<R extends Request<?>,S extends Response<?>> Interface to get the response and request implementation classes at runtimeinterfaceHandlingPlugin<R extends Request<?>,S extends Response<?>> Parent interface of handling plugins: Service and ProxyinterfaceInterceptor<R extends Request<?>,S extends Response<?>> Interceptors allow to snoop and modify requests and responses at different stages of the request lifecycle as defined by the interceptPoint parameter of the annotation RegisterPlugin. -
Uses of Request in org.restheart.plugins.security
Methods in org.restheart.plugins.security with parameters of type RequestModifier and TypeMethodDescriptionbooleanbooleanAuthorizer.isAuthenticationRequired(Request<?> request) -
Uses of Request in org.restheart.security
Methods in org.restheart.security that return types with arguments of type RequestMethods in org.restheart.security with parameters of type RequestModifier and TypeMethodDescriptionbooleanstatic Objectstatic io.undertow.predicate.PredicateAclVarsInterpolator.interpolatePredicate(Request<?> request, String predicate, ClassLoader classLoader) interpolate the permission predicate substituting @user.x variablesstatic BaseAclPermissionstatic MongoPermissionsMethod parameters in org.restheart.security with type arguments of type RequestModifier and TypeMethodDescriptionvoidACLRegistry.registerAllow(Predicate<Request<?>> allow) Registers an allow predicate that determines if a request should be authorized.voidACLRegistry.registerAuthenticationRequirement(Predicate<Request<?>> authenticationRequired) Registers a predicate that determines whether requests handled by the ACLRegistryAllower require authentication.voidACLRegistry.registerVeto(Predicate<Request<?>> veto) Registers a veto predicate that determines if a request should be denied.Constructor parameters in org.restheart.security with type arguments of type RequestModifierConstructorDescriptionBaseAclPermissionTransformer(Predicate<BaseAclPermission> resolve, BiPredicate<BaseAclPermission, Request<?>> additionalPredicate) -
Uses of Request in org.restheart.utils
Method parameters in org.restheart.utils with type arguments of type RequestModifier and TypeMethodDescriptionstatic booleanPluginUtils.requiresContent(Interceptor<? extends Request<?>, ? extends Response<?>> interceptor)