Uses of Class
org.restheart.exchange.Request
Package
Description
Base package for security plugins
Utility classes
-
Uses of Request in org.restheart.exchange
Modifier and TypeClassDescriptionclass
ServiceRequest implementation backed by BsonValue and initialized from csv data.class
ServiceRequest implementation backed by BsonValueclass
class
class
class
class
class
Request implementation used by MongoService and backed by BsonValue that provides simplified methods to deal with headers and query parameters specific to mongo requestsclass
ProxyRequest<T>
Base class for Request implementation that can be used in proxied requests.class
Base class for Request implementations that can be used in service requests.class
class
UninitializedRequest 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 argumentModifier and TypeMethodDescriptionstatic Request
Request.of
(io.undertow.server.HttpServerExchange exchange) Modifier and TypeMethodDescriptiondefault String
CORSHeaders.accessControlAllowCredentials
(Request<?> r) default String
CORSHeaders.accessControlAllowHeaders
(Request<?> r) default String
CORSHeaders.accessControlAllowMethods
(Request<?> r) default String
CORSHeaders.accessControlAllowOrigin
(Request<?> r) default String
CORSHeaders.accessControlExposeHeaders
(Request<?> r) -
Uses of Request in org.restheart.plugins
Modifier and TypeInterfaceDescriptioninterface
ExchangeTypeResolver<R extends Request<?>,
S extends Response<?>> Interface to get the response and request implementation classes at runtimeinterface
HandlingPlugin<R extends Request<?>,
S extends Response<?>> Parent interface of handling plugins: Service and Proxyinterface
Interceptor<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
Modifier and TypeMethodDescriptionboolean
boolean
Authorizer.isAuthenticationRequired
(Request<?> request) -
Uses of Request in org.restheart.security
Modifier and TypeMethodDescriptionboolean
static Object
static io.undertow.predicate.Predicate
AclVarsInterpolator.interpolatePredicate
(Request<?> request, String predicate, ClassLoader classLoader) interpolate the permission predicate substituting @user.x variablesstatic BaseAclPermission
static MongoPermissions
ModifierConstructorDescriptionBaseAclPermissionTransformer
(Predicate<BaseAclPermission> resolve, BiPredicate<BaseAclPermission, Request<?>> additionalPredicate) -
Uses of Request in org.restheart.utils
Modifier and TypeMethodDescriptionstatic boolean
PluginUtils.requiresContent
(Interceptor<? extends Request<?>, ? extends Response<?>> interceptor)