Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abortTransaction() - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- ACCESS_CONTROL_ALLOW_CREDENTIAL - Static variable in interface org.restheart.exchange.CORSHeaders
- ACCESS_CONTROL_ALLOW_HEADERS - Static variable in interface org.restheart.exchange.CORSHeaders
- ACCESS_CONTROL_ALLOW_METHODS - Static variable in interface org.restheart.exchange.CORSHeaders
- ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in interface org.restheart.exchange.CORSHeaders
- ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in interface org.restheart.exchange.CORSHeaders
- ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in interface org.restheart.plugins.security.TokenManager
- accessControlAllowCredentials(Request<?>) - Method in interface org.restheart.exchange.CORSHeaders
- accessControlAllowHeaders(Request<?>) - Method in interface org.restheart.exchange.CORSHeaders
- accessControlAllowMethods(Request<?>) - Method in interface org.restheart.exchange.CORSHeaders
- accessControlAllowOrigin(Request<?>) - Method in interface org.restheart.exchange.CORSHeaders
- accessControlExposeHeaders(Request<?>) - Method in interface org.restheart.exchange.CORSHeaders
- AclVarsInterpolator - Class in org.restheart.security
-
Helper class that allows to interpolate variables (@user, @request, @now) in permissions
- AclVarsInterpolator() - Constructor for class org.restheart.security.AclVarsInterpolator
- actualUri(Map<String, Object>, Class<P>) - Static method in class org.restheart.utils.PluginUtils
- add(JsonElement...) - Method in class org.restheart.utils.GsonUtils.ArrayBuilder
- add(Boolean...) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- add(Boolean...) - Method in class org.restheart.utils.GsonUtils.ArrayBuilder
- add(Float...) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- add(Integer...) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- add(Long...) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- add(Number...) - Method in class org.restheart.utils.GsonUtils.ArrayBuilder
- add(String...) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- add(String...) - Method in class org.restheart.utils.GsonUtils.ArrayBuilder
- add(Instant...) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- add(Date...) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- add(BsonValue...) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- add(Decimal128...) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- add(ObjectId...) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- add(BsonUtils.ArrayBuilder...) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- add(BsonUtils.DocumentBuilder...) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- add(GsonUtils.ArrayBuilder...) - Method in class org.restheart.utils.GsonUtils.ArrayBuilder
- add(GsonUtils.ObjectBuilder...) - Method in class org.restheart.utils.GsonUtils.ArrayBuilder
- addConsumer(Consumer<T>) - Method in interface org.restheart.plugins.ConsumingPlugin
- addInterceptor(PluginRecord<Interceptor<?, ?>>) - Method in interface org.restheart.plugins.PluginsRegistry
- addNull() - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- addNull() - Method in class org.restheart.utils.GsonUtils.ArrayBuilder
- addWarning(String) - Method in class org.restheart.exchange.MongoResponse
- addXForwardedHeader(String, String) - Method in class org.restheart.exchange.Request
-
Add the header X-Forwarded-[key] to the proxied request; use it to pass to the backend information otherwise lost proxying the request.
- ADMIN - Static variable in interface org.restheart.exchange.ExchangeKeys
- AFTER_READ - Enum constant in enum class org.restheart.cache.Cache.EXPIRE_POLICY
- AFTER_STARTUP - Enum constant in enum class org.restheart.plugins.InitPoint
-
execute the Inizializer right after the server has been started
- AFTER_WRITE - Enum constant in enum class org.restheart.cache.Cache.EXPIRE_POLICY
- AGGREGATION - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- AGGREGATION_VARIABLES_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- AJP_LISTENER_KEY - Static variable in record class org.restheart.configuration.Listener
- ajpListener() - Method in class org.restheart.configuration.Configuration
- allow(Request<?>) - Method in class org.restheart.security.BaseAclPermission
- ALLOW_ALL_MONGO_PERMISSIONS - Static variable in class org.restheart.security.MongoPermissions
- ALLOW_UNESCAPED_CHARS_IN_ULR_KEY - Static variable in record class org.restheart.configuration.CoreModule
- ALLOWER - Enum constant in enum class org.restheart.plugins.security.Authorizer.TYPE
- allowUnescapedCharsInUrl() - Method in record class org.restheart.configuration.CoreModule
-
Returns the value of the
allowUnescapedCharsInUrl
record component. - ANSI_CONSOLE_KEY - Static variable in record class org.restheart.configuration.Logging
- ansiConsole() - Method in record class org.restheart.configuration.Logging
-
Returns the value of the
ansiConsole
record component. - APP_FORM_URLENCODED_TYPE - Static variable in class org.restheart.exchange.Exchange
- append(ByteBuffer, PooledByteBuffer[], HttpServerExchange) - Static method in class org.restheart.utils.BuffersUtils
-
append the src data to the pooled buffers
- APPLICATION_PDF_TYPE - Static variable in class org.restheart.exchange.Exchange
- apply(MongoDatabase) - Method in record class org.restheart.mongodb.RSOps
-
apply the read concern, read preference and write concern to the given db
- applyReadConcern(MongoDatabase) - Method in record class org.restheart.mongodb.RSOps
- applyReadPreference(MongoDatabase) - Method in record class org.restheart.mongodb.RSOps
- applyWriteConcern(MongoDatabase) - Method in record class org.restheart.mongodb.RSOps
- arg(Map<String, ?>, String) - Method in interface org.restheart.plugins.ConfigurablePlugin
- argOrDefault(Map<String, ?>, String, V) - Method in interface org.restheart.plugins.ConfigurablePlugin
- argValue(Map<String, ?>, String) - Static method in interface org.restheart.plugins.ConfigurablePlugin
- argValueOrDefault(Map<String, ?>, String, V) - Static method in interface org.restheart.plugins.ConfigurablePlugin
- array() - Static method in class org.restheart.utils.BsonUtils
- array() - Static method in class org.restheart.utils.GsonUtils
-
alias for ArrayBuilder.builder()
- array(JsonArray) - Static method in class org.restheart.utils.GsonUtils
-
alias for ArrayBuilder.builder()
- array(BsonArray) - Static method in class org.restheart.utils.BsonUtils
- asArrayOfInts(Map<String, Object>, String, int[], boolean) - Static method in class org.restheart.configuration.Utils
- asBoolean(Map<String, Object>, String, Boolean, boolean) - Static method in class org.restheart.configuration.Utils
- asBson() - Method in class org.restheart.security.MongoPermissions
- asInteger(Map<String, Object>, String, Integer, boolean) - Static method in class org.restheart.configuration.Utils
- asListOfMaps(Map<String, Object>, String, List<Map<String, Object>>, boolean) - Static method in class org.restheart.configuration.Utils
- asListOfStrings(Map<String, Object>, String, List<String>, boolean) - Static method in class org.restheart.configuration.Utils
- asLong(Map<String, Object>, String, Long, boolean) - Static method in class org.restheart.configuration.Utils
- asMap() - Method in interface org.restheart.cache.Cache
- asMap() - Method in class org.restheart.cache.impl.CaffeineCache
- asMap() - Method in class org.restheart.cache.impl.CaffeineLoadingCache
- asMap() - Method in class org.restheart.cache.impl.HashMapLoadingCache
- asMap(Map<String, Object>, String, Map<String, Object>, boolean) - Static method in class org.restheart.configuration.Utils
- asMapOfMaps(Map<String, Object>, String, Map<String, Map<String, Object>>, boolean) - Static method in class org.restheart.configuration.Utils
- asString(Map<String, Object>, String, String, boolean) - Static method in class org.restheart.configuration.Utils
- attachBsonContent(HttpServerExchange, BsonValue) - Static method in class org.restheart.utils.MongoServiceAttachments
-
set the intialized flag for MongoRequest
- attachedBsonContent(HttpServerExchange) - Static method in class org.restheart.utils.MongoServiceAttachments
- AUTH_TOKEN_HEADER - Static variable in interface org.restheart.plugins.security.TokenManager
- AUTH_TOKEN_LOCATION_HEADER - Static variable in interface org.restheart.plugins.security.TokenManager
- AUTH_TOKEN_VALID_HEADER - Static variable in interface org.restheart.plugins.security.TokenManager
- authenticate(HttpServerExchange, SecurityContext) - Method in interface org.restheart.plugins.security.AuthMechanism
- Authenticator - Interface in org.restheart.plugins.security
-
See https://restheart.org/docs/plugins/security-plugins/#authenticators
- AuthMechanism - Interface in org.restheart.plugins.security
-
See https://restheart.org/docs/plugins/security-plugins/#authentication-mechanisms
- Authorizer - Interface in org.restheart.plugins.security
-
See https://restheart.org/docs/plugins/security-plugins/#authorizers
- Authorizer.TYPE - Enum Class in org.restheart.plugins.security
-
A secured request is allowed when no VETOER denies it and at least one ALLOWER allows it
- authorizerType() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Only used by Authorizers A request is allowed when no VETOER denies it and any ALLOWER allows it
- authorizerType(Authorizer) - Static method in class org.restheart.utils.PluginUtils
B
- BadRequestException - Exception in org.restheart.exchange
- BadRequestException() - Constructor for exception org.restheart.exchange.BadRequestException
- BadRequestException(int) - Constructor for exception org.restheart.exchange.BadRequestException
- BadRequestException(String) - Constructor for exception org.restheart.exchange.BadRequestException
- BadRequestException(String, int) - Constructor for exception org.restheart.exchange.BadRequestException
- BadRequestException(String, int, Throwable) - Constructor for exception org.restheart.exchange.BadRequestException
- BadRequestException(String, Throwable) - Constructor for exception org.restheart.exchange.BadRequestException
- BASE_URL_KEY - Static variable in record class org.restheart.configuration.CoreModule
- BaseAccount - Class in org.restheart.security
-
Base concrete Account implementation
- BaseAccount(String, Set<String>) - Constructor for class org.restheart.security.BaseAccount
- BaseAclPermission - Class in org.restheart.security
-
ACL Permission that specifies the conditions that are necessary to perform the request The request is authorized if BaseAclPermission.allow() returns true
- BaseAclPermission(Predicate<Request<?>>, Set<String>, int, Object) - Constructor for class org.restheart.security.BaseAclPermission
- BaseAclPermissionTransformer - Class in org.restheart.security
-
Allows to modify the predicate of a BaseAclPermission
- BaseAclPermissionTransformer(Predicate<BaseAclPermission>, BiPredicate<BaseAclPermission, Request<?>>) - Constructor for class org.restheart.security.BaseAclPermissionTransformer
- BasePrincipal - Class in org.restheart.security
-
Base concrete Principal implmentation
- BasePrincipal(String) - Constructor for class org.restheart.security.BasePrincipal
- baseUrl() - Method in record class org.restheart.configuration.CoreModule
-
Returns the value of the
baseUrl
record component. - BEFORE_STARTUP - Enum constant in enum class org.restheart.plugins.InitPoint
-
execute the Inizializer before starting the server
- BINARY_CONTENT - Static variable in interface org.restheart.exchange.ExchangeKeys
- blockForTooManyRequests() - Method in class org.restheart.exchange.Request
-
If called BEFORE authentication, the request will be aborted with a 429 Too Many Requests response.
- blocking() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Set to true to have the service dispached to the working thread pool, false to be executed directly by the IO thread
- blocking(Service<?, ?>) - Static method in class org.restheart.utils.PluginUtils
- BOOLEAN - Enum constant in enum class org.restheart.exchange.ExchangeKeys.DOC_ID_TYPE
-
boolean
- boxedError(Logger, String...) - Static method in class org.restheart.utils.LogUtils
- boxedInfo(Logger, String...) - Static method in class org.restheart.utils.LogUtils
- boxedMessage(Logger, LogUtils.Level, Ansi.Color, Ansi.Color, String...) - Static method in class org.restheart.utils.LogUtils
- boxedWarn(Logger, String...) - Static method in class org.restheart.utils.LogUtils
- BsonFromCsvRequest - Class in org.restheart.exchange
-
ServiceRequest implementation backed by BsonValue and initialized from csv data.
- BsonFromCsvRequest(HttpServerExchange) - Constructor for class org.restheart.exchange.BsonFromCsvRequest
- BsonInterceptor - Interface in org.restheart.plugins
-
Specialized Interceptor interface for services implementing BsonService
- BsonRequest - Class in org.restheart.exchange
-
ServiceRequest implementation backed by BsonValue
- BsonRequest(HttpServerExchange) - Constructor for class org.restheart.exchange.BsonRequest
- BsonResponse - Class in org.restheart.exchange
-
ServiceResponse implementation backed by BsonValue
- BsonResponse(HttpServerExchange) - Constructor for class org.restheart.exchange.BsonResponse
- BsonService - Interface in org.restheart.plugins
-
Specialized Service interface that uses BsonRequest and BsonResponse
- bsonToDocument(BsonDocument) - Static method in class org.restheart.utils.BsonUtils
-
convert BsonDocument to Document
- BsonUtils - Class in org.restheart.utils
- BsonUtils() - Constructor for class org.restheart.utils.BsonUtils
- BsonUtils.ArrayBuilder - Class in org.restheart.utils
-
Builder to help creating BsonArray
- BsonUtils.DocumentBuilder - Class in org.restheart.utils
-
Builder to help creating BsonDocument
- BUFFER_SIZE_KEY - Static variable in record class org.restheart.configuration.CoreModule
- BUFFERED_RESPONSE_DATA_KEY - Static variable in class org.restheart.exchange.ProxyResponse
- BufferedExchange<T> - Interface in org.restheart.exchange
-
A buffered exchage stores content in a PooledByteBuffer This makes possibile using it in proxied requests.
- bufferSize() - Method in record class org.restheart.configuration.CoreModule
-
Returns the value of the
bufferSize
record component. - BuffersUtils - Class in org.restheart.utils
- BuffersUtils() - Constructor for class org.restheart.utils.BuffersUtils
- build(boolean, boolean) - Static method in class org.restheart.configuration.Configuration.Builder
- build(Path, Path, boolean, boolean) - Static method in class org.restheart.configuration.Configuration.Builder
- build(Map<String, Object>, boolean) - Static method in record class org.restheart.configuration.CoreModule
- build(Map<String, Object>, boolean) - Static method in record class org.restheart.configuration.Logging
- build(Map<String, Object>, boolean) - Static method in record class org.restheart.configuration.ProxiedResource
- build(Map<String, Object>, boolean) - Static method in record class org.restheart.configuration.StaticResource
- builder() - Static method in class org.restheart.utils.BsonUtils.ArrayBuilder
- builder() - Static method in class org.restheart.utils.BsonUtils.DocumentBuilder
- builder() - Static method in class org.restheart.utils.GsonUtils.ArrayBuilder
- builder() - Static method in class org.restheart.utils.GsonUtils.ObjectBuilder
- builder(JsonArray) - Static method in class org.restheart.utils.GsonUtils.ArrayBuilder
- builder(JsonObject) - Static method in class org.restheart.utils.GsonUtils.ObjectBuilder
- builder(BsonArray) - Static method in class org.restheart.utils.BsonUtils.ArrayBuilder
- builder(BsonDocument) - Static method in class org.restheart.utils.BsonUtils.DocumentBuilder
- Builder() - Constructor for class org.restheart.configuration.Configuration.Builder
- BULK_DOCUMENTS - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- BulkOperationResult - Class in org.restheart.mongodb.db
- BulkOperationResult(int, Object, BulkWriteResult) - Constructor for class org.restheart.mongodb.db.BulkOperationResult
- ByteArrayInterceptor - Interface in org.restheart.plugins
- ByteArrayProxyRequest - Class in org.restheart.exchange
- ByteArrayProxyRequest(HttpServerExchange) - Constructor for class org.restheart.exchange.ByteArrayProxyRequest
- ByteArrayProxyResponse - Class in org.restheart.exchange
- ByteArrayProxyResponse(HttpServerExchange) - Constructor for class org.restheart.exchange.ByteArrayProxyResponse
- ByteArrayRequest - Class in org.restheart.exchange
- ByteArrayRequest(HttpServerExchange) - Constructor for class org.restheart.exchange.ByteArrayRequest
- ByteArrayResponse - Class in org.restheart.exchange
- ByteArrayResponse(HttpServerExchange) - Constructor for class org.restheart.exchange.ByteArrayResponse
- ByteArrayService - Interface in org.restheart.plugins
C
- C - Enum constant in enum class org.restheart.exchange.ExchangeKeys.HAL_MODE
-
alias for compact
- Cache<K,
V> - Interface in org.restheart.cache - CACHE_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- Cache.EXPIRE_POLICY - Enum Class in org.restheart.cache
- cachedRequestType(ExchangeTypeResolver) - Static method in class org.restheart.utils.PluginUtils
-
Plugin.requestType() is heavy.
- cachedResponseType(ExchangeTypeResolver) - Static method in class org.restheart.utils.PluginUtils
-
Plugin.responseType() is heavy.
- CacheFactory - Class in org.restheart.cache
- CaffeineCache<K,
V> - Class in org.restheart.cache.impl - CaffeineCache(long, Cache.EXPIRE_POLICY, long) - Constructor for class org.restheart.cache.impl.CaffeineCache
- CaffeineCache(long, Cache.EXPIRE_POLICY, long, Consumer<Map.Entry<K, Optional<V>>>) - Constructor for class org.restheart.cache.impl.CaffeineCache
- CaffeineLoadingCache<K,
V> - Class in org.restheart.cache.impl - CaffeineLoadingCache(long, Cache.EXPIRE_POLICY, long, Function<K, V>) - Constructor for class org.restheart.cache.impl.CaffeineLoadingCache
- CERT_PWD_KEY - Static variable in record class org.restheart.configuration.TLSListener
- certificatePwd() - Method in record class org.restheart.configuration.TLSListener
-
Returns the value of the
certificatePwd
record component. - CHANGE_STREAM - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- ChannelReader - Class in org.restheart.utils
- ChannelReader() - Constructor for class org.restheart.utils.ChannelReader
- CheckersUtils - Class in org.restheart.utils
- CheckersUtils() - Constructor for class org.restheart.utils.CheckersUtils
- checkType(Optional<BsonValue>, String) - Static method in class org.restheart.utils.BsonUtils
- cleaner() - Method in class org.restheart.utils.CleanerUtils
- CleanerUtils - Class in org.restheart.utils
- cleanUp() - Method in interface org.restheart.cache.Cache
-
Performs any pending maintenance operations needed by the cache.
- cleanUp() - Method in class org.restheart.cache.impl.CaffeineCache
- cleanUp() - Method in class org.restheart.cache.impl.CaffeineLoadingCache
- cleanUp() - Method in class org.restheart.cache.impl.HashMapLoadingCache
- CLIENT_SESSION_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- ClientSessionImpl - Class in org.restheart.mongodb.db.sessions
- ClientSessionImpl(ServerSessionPool, Object, ClientSessionOptions) - Constructor for class org.restheart.mongodb.db.sessions.ClientSessionImpl
- close() - Method in class org.restheart.exchange.ProxyRequest
-
Closes this resource, relinquishing any underlying resources.
- close() - Method in class org.restheart.exchange.ProxyResponse
-
Closes this resource, relinquishing any underlying PooledByteBuffer.
- close() - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- COLL_META_DOCID_PREFIX - Static variable in interface org.restheart.exchange.ExchangeKeys
- collectFailedAuthBy(MetricsUtils.FAILED_AUTH_KEY) - Static method in class org.restheart.utils.MetricsUtils
-
Choose the key used to collect failed auth requests, REMOTE_IP (default) or X_FORWARDED_FOR
- COLLECTION - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- COLLECTION_INDEXES - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- COLLECTION_META - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- COLLECTION_SIZE - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- commitTransaction() - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- COMPACT - Enum constant in enum class org.restheart.exchange.ExchangeKeys.HAL_MODE
-
compact mode
- CONFIG - Static variable in interface org.restheart.exchange.ExchangeKeys
- ConfigurablePlugin - Interface in org.restheart.plugins
- Configuration - Class in org.restheart.configuration
-
Class that holds the configuration.
- Configuration.Builder - Class in org.restheart.configuration
- ConfigurationException - Exception in org.restheart.configuration
- ConfigurationException() - Constructor for exception org.restheart.configuration.ConfigurationException
- ConfigurationException(String) - Constructor for exception org.restheart.configuration.ConfigurationException
- ConfigurationException(String, Throwable) - Constructor for exception org.restheart.configuration.ConfigurationException
- ConfigurationException(String, Throwable, boolean) - Constructor for exception org.restheart.configuration.ConfigurationException
- connected(MongoClient) - Static method in class org.restheart.mongodb.ConnectionChecker
- CONNECTION_OPTIONS_KEY - Static variable in class org.restheart.configuration.Configuration
-
undertow connetction options See http://undertow.io/undertow-docs/undertow-docs-1.3.0/index.html#common-listener-optionshttp://undertow.io/undertow-docs/undertow-docs-1.3.0/index.html#common-listener-options
- ConnectionChecker - Class in org.restheart.mongodb
- ConnectionChecker() - Constructor for class org.restheart.mongodb.ConnectionChecker
- connectionPerThread() - Method in record class org.restheart.configuration.ProxiedResource
-
Returns the value of the
connectionPerThread
record component. - connectionsTTL() - Method in record class org.restheart.configuration.ProxiedResource
-
Returns the value of the
connectionsTTL
record component. - consumeConfiguration() - Method in class org.restheart.plugins.FileConfigurablePlugin
- ConsumingPlugin<T> - Interface in org.restheart.plugins
- containsKeys(BsonValue, Set<String>, boolean) - Static method in class org.restheart.utils.BsonUtils
-
Verifies if the bson contains the given keys.
- containsUpdateOperators(BsonValue) - Static method in class org.restheart.utils.BsonUtils
-
Seehttps://docs.mongodb.com/manual/reference/operator/update/
- containsUpdateOperators(BsonValue, boolean) - Static method in class org.restheart.utils.BsonUtils
- content - Variable in class org.restheart.exchange.ServiceRequest
- content - Variable in class org.restheart.exchange.ServiceResponse
- CONTENT_TYPE - Static variable in interface org.restheart.exchange.ExchangeKeys
- CONTENT_TYPE - Static variable in class org.restheart.handlers.PipelinedHandler
- CORE_KEY - Static variable in record class org.restheart.configuration.CoreModule
- coreModule() - Method in class org.restheart.configuration.Configuration
- CoreModule - Record Class in org.restheart.configuration
- CoreModule(String, String, String, int, int, int, int, boolean, boolean, boolean) - Constructor for record class org.restheart.configuration.CoreModule
-
Creates an instance of a
CoreModule
record class. - CoreModule(Map<String, Object>, boolean) - Constructor for record class org.restheart.configuration.CoreModule
- CORSHeaders - Interface in org.restheart.exchange
- COUNT_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- countPropsFromPath(BsonValue, String) - Static method in class org.restheart.utils.BsonUtils
- createHashMapLoadingCache(Function<K, V>) - Static method in class org.restheart.cache.CacheFactory
- createLocalCache(long, Cache.EXPIRE_POLICY, long) - Static method in class org.restheart.cache.CacheFactory
- createLocalCache(long, Cache.EXPIRE_POLICY, long, Consumer<Map.Entry<K, Optional<V>>>) - Static method in class org.restheart.cache.CacheFactory
- createLocalLoadingCache(long, Cache.EXPIRE_POLICY, long, Function<K, V>) - Static method in class org.restheart.cache.CacheFactory
- customRequestInitializer() - Method in class org.restheart.exchange.UninitializedRequest
- customResponseInitializer() - Method in class org.restheart.exchange.UninitializedResponse
- CVS_CONTENT_TYPE - Static variable in class org.restheart.exchange.BsonFromCsvRequest
D
- DATE - Enum constant in enum class org.restheart.exchange.ExchangeKeys.DOC_ID_TYPE
-
Date
- DB - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- DB_META - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- DB_META_DOCID - Static variable in interface org.restheart.exchange.ExchangeKeys
- DB_SIZE - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- DEBUG - Enum constant in enum class org.restheart.utils.LogUtils.Level
- decodeQueryString(String) - Static method in class org.restheart.utils.URLUtils
-
decode the percent encoded query string
- DEFALUT_ACCESS_CONTROL_ALLOW_CREDENTIALS - Static variable in interface org.restheart.exchange.CORSHeaders
- DEFALUT_ACCESS_CONTROL_ALLOW_HEADERS - Static variable in interface org.restheart.exchange.CORSHeaders
- DEFALUT_ACCESS_CONTROL_ALLOW_METHODS - Static variable in interface org.restheart.exchange.CORSHeaders
- DEFALUT_ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in interface org.restheart.exchange.CORSHeaders
- DEFALUT_ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in interface org.restheart.exchange.CORSHeaders
- DEFAULT_CODEC_REGISTRY - Static variable in class org.restheart.utils.BsonUtils
- DEFAULT_ROUTE - Static variable in class org.restheart.configuration.Configuration
- defaultURI() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Only used by Services Sets the default URI of the Service.
- defaultURI(Class<P>) - Static method in class org.restheart.utils.PluginUtils
- defaultURI(Service) - Static method in class org.restheart.utils.PluginUtils
- DELETE - Enum constant in enum class org.restheart.exchange.ExchangeKeys.METHOD
- DELETE_CURR - Enum constant in enum class org.restheart.utils.Minify.Action
- DELETE_NEXT - Enum constant in enum class org.restheart.utils.Minify.Action
- deleteTempDir(Class, String, File) - Static method in class org.restheart.utils.ResourcesExtractor
- description() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Describes the plugin
- DIRECT_BUFFERS_KEY - Static variable in record class org.restheart.configuration.CoreModule
- directBuffers() - Method in record class org.restheart.configuration.CoreModule
-
Returns the value of the
directBuffers
record component. - DOC_ID_TYPE_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- document() - Static method in class org.restheart.utils.BsonUtils
- document(BsonDocument) - Static method in class org.restheart.utils.BsonUtils
- DOCUMENT - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- doesRequestUseDotNotation(BsonValue) - Static method in class org.restheart.utils.CheckersUtils
- doesRequestUseUpdateOperators(BsonValue) - Static method in class org.restheart.utils.CheckersUtils
- dontIntercept() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Set to true to avoid interceptors to be executed on requests handled by this plugin.
- dontIntercept(PluginsRegistry, HttpServerExchange) - Static method in class org.restheart.utils.PluginUtils
- dontIntercept(Service) - Static method in class org.restheart.utils.PluginUtils
- dump(String, PooledByteBuffer[]) - Static method in class org.restheart.utils.BuffersUtils
E
- embedded() - Method in record class org.restheart.configuration.StaticResource
-
Returns the value of the
embedded
record component. - ENABLE_LOG_CONSOLE_KEY - Static variable in record class org.restheart.configuration.Logging
- ENABLE_LOG_FILE_KEY - Static variable in record class org.restheart.configuration.Logging
- enabled() - Method in record class org.restheart.configuration.Listener
-
Returns the value of the
enabled
record component. - enabled() - Method in record class org.restheart.configuration.TLSListener
-
Returns the value of the
enabled
record component. - ENABLED_KEY - Static variable in record class org.restheart.configuration.Listener
- ENABLED_KEY - Static variable in record class org.restheart.configuration.TLSListener
- enabledByDefault() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Set to true to enable the plugin by default.
- equals(Object) - Method in record class org.restheart.configuration.CoreModule
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.restheart.configuration.Listener
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.restheart.configuration.Logging
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.restheart.configuration.ProxiedResource
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.restheart.configuration.StaticResource
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.restheart.configuration.TLSListener
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.restheart.configuration.Utils.RhOverride
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.restheart.mongodb.RSOps
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.restheart.utils.JsonUnflattener
- ERROR - Enum constant in enum class org.restheart.utils.LogUtils.Level
- escapeKeys(BsonValue, boolean) - Static method in class org.restheart.utils.BsonUtils
-
replaces the dollar prefixed keys (eg $exists) with the corresponding underscore prefixed key (eg _$exists).
- escapeKeys(BsonValue, boolean, boolean) - Static method in class org.restheart.utils.BsonUtils
-
replaces the dollar prefixed keys (eg $exists) with the corresponding underscore prefixed key (eg _$exists).
- ETAG_CHECK_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- ETAG_DOC_POLICY_METADATA_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- ETAG_POLICY_METADATA_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- EXACT - Enum constant in enum class org.restheart.plugins.RegisterPlugin.MATCH_POLICY
- Exchange<T> - Class in org.restheart.exchange
-
The root class in the exchange hierarchy.
- Exchange(HttpServerExchange) - Constructor for class org.restheart.exchange.Exchange
- ExchangeKeys - Interface in org.restheart.exchange
- ExchangeKeys.DOC_ID_TYPE - Enum Class in org.restheart.exchange
- ExchangeKeys.ETAG_CHECK_POLICY - Enum Class in org.restheart.exchange
- ExchangeKeys.HAL_MODE - Enum Class in org.restheart.exchange
- ExchangeKeys.METHOD - Enum Class in org.restheart.exchange
- ExchangeKeys.REPRESENTATION_FORMAT - Enum Class in org.restheart.exchange
- ExchangeKeys.TYPE - Enum Class in org.restheart.exchange
- ExchangeKeys.WRITE_MODE - Enum Class in org.restheart.exchange
- ExchangeTypeResolver<R extends Request<?>,
S extends Response<?>> - Interface in org.restheart.plugins -
Interface to get the response and request implementation classes at runtime
- extract(Class, String) - Static method in class org.restheart.utils.ResourcesExtractor
F
- F - Enum constant in enum class org.restheart.exchange.ExchangeKeys.HAL_MODE
-
alias for full
- failedAuthHistogramName(HttpServerExchange) - Static method in class org.restheart.utils.MetricsUtils
- FALSE_KEY_ID - Static variable in interface org.restheart.exchange.ExchangeKeys
- FILE - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- FILE_BINARY - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- FILE_METADATA - Static variable in interface org.restheart.exchange.ExchangeKeys
- FileConfigurablePlugin - Class in org.restheart.plugins
-
An helper class that simplifies getting the Plugin args from a configuration file.
- FileConfigurablePlugin() - Constructor for class org.restheart.plugins.FileConfigurablePlugin
- FILENAME - Static variable in interface org.restheart.exchange.ExchangeKeys
- FileRealmAccount - Class in org.restheart.security
-
Account implementation used by FileRealmAuthenticator
- FileRealmAccount(String, char[], Set<String>, Map<String, Object>) - Constructor for class org.restheart.security.FileRealmAccount
- FILES_BUCKET - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- FILES_BUCKET_META - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- FILES_BUCKET_SIZE - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- FILTER_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- find(Map<String, Object>, String, boolean) - Static method in class org.restheart.configuration.Utils
- findOrDefault(Map<String, Object>, String, V, boolean) - Static method in class org.restheart.configuration.Utils
- flatten(BsonDocument, boolean) - Static method in class org.restheart.utils.BsonUtils
- FORCE_GZIP_ENCODING_KEY - Static variable in record class org.restheart.configuration.CoreModule
- forceGzipEncoding() - Method in record class org.restheart.configuration.CoreModule
-
Returns the value of the
forceGzipEncoding
record component. - FORM_URLENCODED - Static variable in class org.restheart.exchange.Exchange
- from(ConnectionString) - Static method in record class org.restheart.mongodb.RSOps
- from(Object) - Static method in class org.restheart.security.MongoPermissions
- from(Map<String, Object>) - Static method in class org.restheart.security.MongoPermissions
- from(BsonDocument) - Static method in class org.restheart.security.MongoPermissions
- from(BaseAclPermission) - Static method in class org.restheart.security.MongoPermissions
- FS_CHUNKS_SUFFIX - Static variable in interface org.restheart.exchange.ExchangeKeys
- FS_FILES_SUFFIX - Static variable in interface org.restheart.exchange.ExchangeKeys
- FULL - Enum constant in enum class org.restheart.exchange.ExchangeKeys.HAL_MODE
-
full mode
- fullStacktrace() - Method in record class org.restheart.configuration.Logging
-
Returns the value of the
fullStacktrace
record component.
G
- gePredicate() - Method in class org.restheart.security.BaseAclPermission
- get() - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- get() - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- get() - Static method in class org.restheart.utils.CleanerUtils
- get() - Method in class org.restheart.utils.GsonUtils.ArrayBuilder
- get() - Method in class org.restheart.utils.GsonUtils.ObjectBuilder
- get(Account) - Method in interface org.restheart.plugins.security.TokenManager
-
retrieves of generate a token valid for the account
- get(K) - Method in interface org.restheart.cache.Cache
- get(K) - Method in class org.restheart.cache.impl.CaffeineCache
- get(K) - Method in class org.restheart.cache.impl.CaffeineLoadingCache
- get(K) - Method in class org.restheart.cache.impl.HashMapLoadingCache
- get(BsonDocument, String) - Static method in class org.restheart.utils.BsonUtils
- get(PluginRecord<?>) - Method in interface org.restheart.plugins.Provider
- GET - Enum constant in enum class org.restheart.exchange.ExchangeKeys.METHOD
- getAccountDocument() - Method in class org.restheart.security.MongoRealmAccount
- getAccountProperties() - Method in class org.restheart.security.FileRealmAccount
- getAggregationOperation() - Method in class org.restheart.exchange.MongoRequest
- getAggregationVars() - Method in class org.restheart.exchange.MongoRequest
- getAllowBulkDelete() - Method in class org.restheart.security.MongoPermissions
- getAllowBulkPatch() - Method in class org.restheart.security.MongoPermissions
- getAllowManagementRequests() - Method in class org.restheart.security.MongoPermissions
- getAllowWriteMode() - Method in class org.restheart.security.MongoPermissions
- getAuthenticatedAccount() - Method in class org.restheart.exchange.Request
- getAuthenticator(String) - Method in interface org.restheart.plugins.PluginsRegistry
- getAuthenticators() - Method in interface org.restheart.plugins.PluginsRegistry
- getAuthMechanisms() - Method in interface org.restheart.plugins.PluginsRegistry
- getAuthorizers() - Method in interface org.restheart.plugins.PluginsRegistry
- getBuffer() - Method in interface org.restheart.exchange.BufferedExchange
- getBuffer() - Method in class org.restheart.exchange.ProxyRequest
- getBuffer() - Method in class org.restheart.exchange.ProxyResponse
- getBuildTime() - Method in class org.restheart.Version
-
the RESTHEart build time is read from the JAR's MANIFEST.MF file, which is automatically generated by the Maven build process
- getBulkResult() - Method in class org.restheart.mongodb.db.BulkOperationResult
- getCause() - Method in class org.restheart.mongodb.db.OperationResult
- getChangeStreamOperation() - Method in class org.restheart.exchange.MongoRequest
- getClassName() - Method in class org.restheart.plugins.PluginRecord
- getClientSession() - Method in class org.restheart.exchange.MongoRequest
- getCollectionName() - Method in class org.restheart.exchange.MongoRequest
- getCollectionProps() - Method in class org.restheart.exchange.MongoRequest
- getConfArgs() - Method in class org.restheart.plugins.PluginRecord
- getConnectionOptions() - Method in class org.restheart.configuration.Configuration
- getContent() - Method in class org.restheart.exchange.ServiceRequest
- getContent() - Method in class org.restheart.exchange.ServiceResponse
- getContent() - Method in class org.restheart.exchange.UninitializedRequest
-
throws IllegalStateException the content can only be retrieved in raw format, use getRawContent()
- getContent() - Method in class org.restheart.exchange.UninitializedResponse
-
throws IllegalStateException
- getContentString() - Method in class org.restheart.exchange.ByteArrayRequest
- getContentType() - Method in class org.restheart.exchange.Exchange
- getContentType() - Method in class org.restheart.exchange.Request
- getContentType() - Method in class org.restheart.exchange.Response
- getContentType(HttpServerExchange) - Static method in class org.restheart.exchange.Request
- getContentType(HttpServerExchange) - Static method in class org.restheart.exchange.Response
- getCookie(String) - Method in class org.restheart.exchange.Request
- getCount() - Method in class org.restheart.exchange.MongoResponse
- getCredentials() - Method in class org.restheart.security.PwdCredentialAccount
- getCustomerSender() - Method in class org.restheart.exchange.ServiceResponse
-
See setCustomSender()
- getDBName() - Method in class org.restheart.exchange.MongoRequest
- getDbOperationResult() - Method in class org.restheart.exchange.MongoResponse
- getDbProps() - Method in class org.restheart.exchange.MongoRequest
- getDescription() - Method in class org.restheart.plugins.PluginRecord
- getDocIdType() - Method in class org.restheart.exchange.MongoRequest
- getDocumentId() - Method in class org.restheart.exchange.MongoRequest
- getDocumentIdRaw() - Method in class org.restheart.exchange.MongoRequest
- getErrorContent(int, String, String, Throwable, boolean) - Method in class org.restheart.exchange.ByteArrayProxyResponse
- getErrorContent(int, String, String, Throwable, boolean) - Method in class org.restheart.exchange.JsonProxyResponse
- getErrorContent(int, String, String, Throwable, boolean) - Method in class org.restheart.exchange.ProxyResponse
- getEtag() - Method in class org.restheart.mongodb.db.OperationResult
- getETag() - Method in class org.restheart.exchange.MongoRequest
- getExchange() - Method in class org.restheart.exchange.Exchange
- getFileInputStream() - Method in class org.restheart.exchange.MongoRequest
- getFilter() - Method in class org.restheart.exchange.MongoRequest
- getFiltersDocument() - Method in class org.restheart.exchange.MongoRequest
- getGlobalSecurityPredicates() - Method in interface org.restheart.plugins.PluginsRegistry
-
global security predicates must all resolve to true to allow the request
- getGraphQLAppURI() - Method in class org.restheart.exchange.GraphQLRequest
- getHalMode() - Method in class org.restheart.exchange.MongoRequest
- getHeader(HttpString) - Method in class org.restheart.exchange.Response
-
note: an header can have multiple values.
- getHeader(String) - Method in class org.restheart.exchange.Request
-
note: an header can have multiple values.
- getHeader(String) - Method in class org.restheart.exchange.Response
-
note: an header can have multiple values.
- getHeaders() - Method in class org.restheart.exchange.Request
- getHeaders() - Method in class org.restheart.exchange.Response
- getHint() - Method in class org.restheart.exchange.MongoRequest
- getHintDocument() - Method in class org.restheart.exchange.MongoRequest
- getHttpCode() - Method in class org.restheart.mongodb.db.OperationResult
- getIdAsString(BsonValue, boolean) - Static method in class org.restheart.utils.BsonUtils
- getIdString(BsonValue) - Static method in class org.restheart.utils.URLUtils
- getIndexId() - Method in class org.restheart.exchange.MongoRequest
- getInitializers() - Method in interface org.restheart.plugins.PluginsRegistry
- getInstance() - Method in class org.restheart.plugins.PluginRecord
- getInstance() - Static method in class org.restheart.Version
- getInterceptors() - Method in interface org.restheart.plugins.PluginsRegistry
- getJsonMode() - Method in class org.restheart.exchange.MongoRequest
- getJwtPayload() - Method in class org.restheart.security.JwtAccount
- getKeys() - Method in class org.restheart.exchange.MongoRequest
- getLoading(K) - Method in class org.restheart.cache.impl.CaffeineLoadingCache
- getLoading(K) - Method in class org.restheart.cache.impl.HashMapLoadingCache
- getLoading(K) - Method in interface org.restheart.cache.LoadingCache
- getLocalHostLANAddress() - Static method in class org.restheart.utils.NetUtils
-
Returns an
InetAddress
object encapsulating what is most likely the machine's LAN IP address. - getLogLevel() - Method in class org.restheart.configuration.Configuration
- getMappedRequestUri() - Method in class org.restheart.exchange.MongoRequest
-
The mapped uri is the exchange request uri.
- getMappingUri() - Method in class org.restheart.exchange.MongoRequest
- getMDCContext() - Method in class org.restheart.exchange.Response
-
Logging MDC Context is bound to the thread.
- getMechanismName() - Method in interface org.restheart.plugins.security.AuthMechanism
- getMergeRequest() - Method in class org.restheart.security.MongoPermissions
- getMethod() - Method in class org.restheart.exchange.Request
- getName() - Method in class org.restheart.exchange.PipelineInfo
- getName() - Method in class org.restheart.plugins.PluginRecord
- getName() - Method in class org.restheart.security.BasePrincipal
- getNewData() - Method in class org.restheart.mongodb.db.OperationResult
- getNewId() - Method in class org.restheart.mongodb.db.OperationResult
- getNext() - Method in class org.restheart.handlers.PipelinedHandler
- getOldData() - Method in class org.restheart.mongodb.db.OperationResult
- getOperationName() - Method in class org.restheart.exchange.GraphQLRequest
- getOrDefault(String, V) - Method in class org.restheart.configuration.Configuration
- getOrDefault(Map<String, Object>, String, V, boolean) - Static method in class org.restheart.configuration.Utils
- getOrDefault(Configuration, String, V, boolean) - Static method in class org.restheart.configuration.Utils
- getOriginalQueryString(HttpServerExchange) - Static method in class org.restheart.handlers.QueryStringRebuilder
- getPage() - Method in class org.restheart.exchange.MongoRequest
- getPagesize() - Method in class org.restheart.exchange.MongoRequest
- getPaginationLinks(HttpServerExchange, long) - Static method in class org.restheart.utils.RepresentationUtils
- getParentPath(String) - Static method in class org.restheart.utils.URLUtils
- getPath() - Static method in class org.restheart.configuration.Configuration
- getPath() - Method in class org.restheart.exchange.Request
- getPathParam(String, String) - Method in class org.restheart.exchange.Request
-
get a path parameter using a path template eg pathTemplate=/foo/{id}, paramName=id and URI=/foo/bar => returns bar
- getPathParams(String) - Method in class org.restheart.exchange.Request
-
get path parameters using a template pathTemplate=/foo/{id} and URI=/foo/bar => returns a map with id=bar
- getPathTemplateParamenters() - Method in class org.restheart.exchange.MongoRequest
-
if mongo-mounts specifies a path template (i.e.
- getPermissionTransformers() - Method in interface org.restheart.plugins.PluginsRegistry
- getPipelineInfo() - Method in class org.restheart.exchange.Request
- getPipelineInfo(HttpServerExchange) - Static method in class org.restheart.exchange.Request
- getPipelineInfo(String) - Method in interface org.restheart.plugins.PluginsRegistry
- getPrefixUrl(HttpServerExchange) - Static method in class org.restheart.utils.URLUtils
- getPrincipal() - Method in class org.restheart.security.BaseAccount
- getPriority() - Method in class org.restheart.security.BaseAclPermission
-
lesser is higher priority
- getProjectionDocument() - Method in class org.restheart.exchange.MongoRequest
- getProjectResponse() - Method in class org.restheart.security.MongoPermissions
- getPropsFromPath(BsonValue, String) - Static method in class org.restheart.utils.BsonUtils
- getProviders() - Method in interface org.restheart.plugins.PluginsRegistry
- getProxies() - Method in class org.restheart.configuration.Configuration
- getProxyInterceptors(InterceptPoint) - Method in interface org.restheart.plugins.PluginsRegistry
- getQuery() - Method in class org.restheart.exchange.GraphQLRequest
- getQueryParameterOfDefault(String, String) - Method in class org.restheart.exchange.Request
- getQueryParameters() - Method in class org.restheart.exchange.Request
- getQueryString() - Method in class org.restheart.exchange.Request
- getQueryStringRemovingParams(HttpServerExchange, String...) - Static method in class org.restheart.utils.URLUtils
- getRaw() - Method in class org.restheart.security.BaseAclPermission
- getRaw(Request<?>) - Static method in class org.restheart.security.BaseAclPermission
- getRawContent() - Method in class org.restheart.exchange.UninitializedRequest
- getRawContentKey() - Method in class org.restheart.exchange.ProxyRequest
- getRawContentKey() - Method in class org.restheart.exchange.ProxyResponse
- getReadFilter() - Method in class org.restheart.security.MongoPermissions
- getReferenceLink(String, Object) - Static method in class org.restheart.utils.RepresentationUtils
- getReferenceLink(MongoResponse, String, BsonValue) - Static method in class org.restheart.utils.RepresentationUtils
- getRepresentationFormat() - Method in class org.restheart.exchange.MongoRequest
- getRequestContentLength() - Method in class org.restheart.exchange.Request
- getRequestStartTime() - Method in class org.restheart.exchange.MongoRequest
- getRoles() - Method in class org.restheart.security.BaseAccount
- getRoles() - Method in class org.restheart.security.BaseAclPermission
- getRootPathHandler() - Method in interface org.restheart.plugins.PluginsRegistry
-
Gets the RESTHeart root handler Avoid adding handlers using PathHandler.addPrefixPath() or PathHandler.addExactPath().
- getServiceInterceptors(Service<?, ?>, InterceptPoint) - Method in interface org.restheart.plugins.PluginsRegistry
- getServices() - Method in interface org.restheart.plugins.PluginsRegistry
- getShardKey() - Method in class org.restheart.exchange.MongoRequest
- getSid() - Method in class org.restheart.exchange.MongoRequest
- getSid() - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- getSid(ClientSession) - Static method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- getSortBy() - Method in class org.restheart.exchange.MongoRequest
- getSortByDocument() - Method in class org.restheart.exchange.MongoRequest
- getStartTime() - Method in class org.restheart.exchange.Request
- getStaticResources() - Method in class org.restheart.configuration.Configuration
- getStatusCode() - Method in exception org.restheart.exchange.BadRequestException
- getStatusCode() - Method in class org.restheart.exchange.Response
- getStatusText(int) - Static method in class org.restheart.utils.HttpStatus
-
Get the reason phrase for a particular status code.
- getTokenManager() - Method in interface org.restheart.plugins.PluginsRegistry
- getTransactionOptions() - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- getTxnId() - Method in class org.restheart.exchange.MongoRequest
- getType() - Method in class org.restheart.exchange.MongoRequest
- getType() - Method in class org.restheart.exchange.PipelineInfo
- getUnmappedRequestUri() - Method in class org.restheart.exchange.MongoRequest
-
The unmapped uri is the cononical uri of a mongodb resource (e.g.
- getUri() - Method in class org.restheart.exchange.MongoRequest
- getUri() - Method in class org.restheart.exchange.PipelineInfo
- getUriMatchPolicy() - Method in class org.restheart.exchange.PipelineInfo
- getUriPrefix() - Method in class org.restheart.exchange.MongoRequest
- getURL() - Method in class org.restheart.exchange.Request
- getVariables() - Method in class org.restheart.exchange.GraphQLRequest
- getVersion() - Method in class org.restheart.Version
-
the RESTHEart version is read from the JAR's MANIFEST.MF file, which is automatically generated by the Maven build process
- getWarnings() - Method in class org.restheart.exchange.MongoResponse
- getWrappedExchange() - Method in class org.restheart.exchange.Exchange
- getWriteFilter() - Method in class org.restheart.security.MongoPermissions
- getWriteMode() - Method in class org.restheart.exchange.MongoRequest
- getXForwardedHeaders() - Method in class org.restheart.exchange.Request
- GraphQLRequest - Class in org.restheart.exchange
- GsonUtils - Class in org.restheart.utils
- GsonUtils() - Constructor for class org.restheart.utils.GsonUtils
- GsonUtils.ArrayBuilder - Class in org.restheart.utils
-
Builder to help creating JsonArray
- GsonUtils.ObjectBuilder - Class in org.restheart.utils
-
Builder to help creating JsonObject
H
- HAL - Enum constant in enum class org.restheart.exchange.ExchangeKeys.REPRESENTATION_FORMAT
- HAL_JSON_MEDIA_TYPE - Static variable in class org.restheart.exchange.Exchange
-
Supported content type HAL
- HAL_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- handle() - Method in interface org.restheart.plugins.Service
-
BiConsumer that handles the request Allows to provide the handlig logic with functional style
- handle(R, S) - Method in interface org.restheart.plugins.Interceptor
-
handle the request
- handle(R, S) - Method in interface org.restheart.plugins.Service
-
handles the request the handling logic can also be provided overriding handle()
- handleOptions() - Method in interface org.restheart.plugins.Service
-
helper BiConsumer to handle OPTIONS requests
- handleOptions(R) - Method in interface org.restheart.plugins.Service
-
helper method to handle OPTIONS requests
- handleRequest(HttpServerExchange) - Method in class org.restheart.handlers.PipelinedHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.handlers.PipelinedWrappingHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.handlers.QueryStringRebuilder
- HandlingPlugin<R extends Request<?>,
S extends Response<?>> - Interface in org.restheart.plugins -
Parent interface of handling plugins: Service and Proxy
- handlingService(PluginsRegistry, HttpServerExchange) - Static method in class org.restheart.utils.PluginUtils
- handlingServicePluginRecord(PluginsRegistry, HttpServerExchange) - Static method in class org.restheart.utils.PluginUtils
- hasActiveTransaction() - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- hashCode() - Method in record class org.restheart.configuration.CoreModule
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.restheart.configuration.Listener
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.restheart.configuration.Logging
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.restheart.configuration.ProxiedResource
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.restheart.configuration.StaticResource
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.restheart.configuration.TLSListener
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.restheart.configuration.Utils.RhOverride
-
Returns a hash code value for this object.
- hashCode() - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- hashCode() - Method in record class org.restheart.mongodb.RSOps
-
Returns a hash code value for this object.
- hashCode() - Method in class org.restheart.utils.JsonUnflattener
- HashMapLoadingCache<K,
V> - Class in org.restheart.cache.impl - HashMapLoadingCache(Function<K, V>) - Constructor for class org.restheart.cache.impl.HashMapLoadingCache
- hasVariables() - Method in class org.restheart.exchange.GraphQLRequest
- HINT_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- host() - Method in record class org.restheart.configuration.Listener
-
Returns the value of the
host
record component. - host() - Method in record class org.restheart.configuration.TLSListener
-
Returns the value of the
host
record component. - HOST_KEY - Static variable in record class org.restheart.configuration.Listener
- HOST_KEY - Static variable in record class org.restheart.configuration.TLSListener
- HTTP_LISTENER_KEY - Static variable in record class org.restheart.configuration.Listener
- httpListener() - Method in class org.restheart.configuration.Configuration
- HTTPS_LISTENER_KEY - Static variable in record class org.restheart.configuration.TLSListener
- httpsListener() - Method in class org.restheart.configuration.Configuration
- HttpStatus - Class in org.restheart.utils
-
Constants enumerating the HTTP status codes.
I
- IllegalQueryParamenterException - Exception in org.restheart.exchange
- IllegalQueryParamenterException(String) - Constructor for exception org.restheart.exchange.IllegalQueryParamenterException
- IllegalQueryParamenterException(String, Throwable) - Constructor for exception org.restheart.exchange.IllegalQueryParamenterException
- IN_ERROR_KEY - Static variable in class org.restheart.exchange.Exchange
- INDEX - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- INFO - Enum constant in enum class org.restheart.utils.LogUtils.Level
- init() - Method in interface org.restheart.plugins.Initializer
- init(HttpServerExchange) - Static method in class org.restheart.exchange.BsonFromCsvRequest
- init(HttpServerExchange) - Static method in class org.restheart.exchange.BsonRequest
- init(HttpServerExchange) - Static method in class org.restheart.exchange.BsonResponse
- init(HttpServerExchange) - Static method in class org.restheart.exchange.ByteArrayRequest
- init(HttpServerExchange) - Static method in class org.restheart.exchange.ByteArrayResponse
- init(HttpServerExchange) - Static method in class org.restheart.exchange.JsonRequest
- init(HttpServerExchange) - Static method in class org.restheart.exchange.JsonResponse
- init(HttpServerExchange) - Static method in class org.restheart.exchange.MongoResponse
- init(HttpServerExchange) - Static method in class org.restheart.exchange.StringRequest
- init(HttpServerExchange) - Static method in class org.restheart.exchange.StringResponse
- init(HttpServerExchange, String) - Static method in class org.restheart.exchange.GraphQLRequest
- init(HttpServerExchange, String, String) - Static method in class org.restheart.exchange.MongoRequest
- init(Map<String, Object>, String) - Method in class org.restheart.plugins.FileConfigurablePlugin
-
get the configuration args parsing the file specified in the Plugin argument 'conf-file'
- Initializer - Interface in org.restheart.plugins
-
Initializer allow to execute initialization logic at system startup time Seehttps://restheart.org/docs/plugins/core-plugins/#initializers
- initPoint() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Only used by Initializers
- initPoint(Initializer) - Static method in class org.restheart.utils.PluginUtils
- InitPoint - Enum Class in org.restheart.plugins
-
Defines the execution time point of an Initializer
- Inject - Annotation Interface in org.restheart.plugins
- injectContent() - Method in class org.restheart.exchange.BsonRequest
- injectContent() - Method in class org.restheart.exchange.ByteArrayRequest
- injectContent() - Method in class org.restheart.exchange.JsonRequest
- injectContent() - Method in class org.restheart.exchange.StringRequest
- injectContent(HttpServerExchange) - Method in class org.restheart.exchange.BsonFromCsvRequest
- injectContentGraphQL() - Method in class org.restheart.exchange.GraphQLRequest
- injectContentJson() - Method in class org.restheart.exchange.GraphQLRequest
- injectTokenHeaders(HttpServerExchange, PasswordCredential) - Method in interface org.restheart.plugins.security.TokenManager
-
injects the token headers in the response
- INSERT - Enum constant in enum class org.restheart.exchange.ExchangeKeys.WRITE_MODE
- instance() - Static method in class org.restheart.polyglot.NodeQueue
- INSTANCE_NAME_KEY - Static variable in record class org.restheart.configuration.CoreModule
- Interceptor<R extends Request<?>,
S extends Response<?>> - Interface in org.restheart.plugins -
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.
- interceptPoint() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Only used by Interceptors
- interceptPoint(Interceptor) - Static method in class org.restheart.utils.PluginUtils
- InterceptPoint - Enum Class in org.restheart.plugins
-
Defines the intercept point of an Interceptor
- interpolateBson(MongoRequest, BsonValue) - Static method in class org.restheart.security.AclVarsInterpolator
-
Interpolate values in doc like '@user', '@user.property', @now Supports accounts handled by MongoRealAuthenticator, FileRealmAuthenticator and JwtAuthenticationMechanism Legacy variable names %USER, %ROLES and %NOW are supported as well
- interpolatePredicate(Request<?>, String, ClassLoader) - Static method in class org.restheart.security.AclVarsInterpolator
-
interpolate the permission predicate substituting @user.x variables
- interpolatePropValue(MongoRequest, String, String) - Static method in class org.restheart.security.AclVarsInterpolator
-
If value is a '@user', '@user.property', '@request', '@request.remoteIp', '@mongoPermissions', '@mongoPermissions.readFilter', '@now', '@filter' returns the interpolated value.
- INVALID - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- invalidate(Account) - Method in interface org.restheart.plugins.security.TokenManager
-
invalidates the token bound to the account
- invalidate(K) - Method in interface org.restheart.cache.Cache
- invalidate(K) - Method in class org.restheart.cache.impl.CaffeineCache
- invalidate(K) - Method in class org.restheart.cache.impl.CaffeineLoadingCache
- invalidate(K) - Method in class org.restheart.cache.impl.HashMapLoadingCache
- invalidateAll() - Method in interface org.restheart.cache.Cache
- invalidateAll() - Method in class org.restheart.cache.impl.CaffeineCache
- invalidateAll() - Method in class org.restheart.cache.impl.CaffeineLoadingCache
- invalidateAll() - Method in class org.restheart.cache.impl.HashMapLoadingCache
- InvalidMetadataException - Exception in org.restheart.exchange
- InvalidMetadataException() - Constructor for exception org.restheart.exchange.InvalidMetadataException
- InvalidMetadataException(String) - Constructor for exception org.restheart.exchange.InvalidMetadataException
- InvalidMetadataException(String, Throwable) - Constructor for exception org.restheart.exchange.InvalidMetadataException
- IO_THREADS_KEY - Static variable in record class org.restheart.configuration.CoreModule
- ioThreads() - Method in record class org.restheart.configuration.CoreModule
-
Returns the value of the
ioThreads
record component. - isAccountInRole(String) - Method in class org.restheart.exchange.Exchange
-
helper method to check if authenticated account is in the specified role
- isAggregation() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isAllowBulkDelete() - Method in class org.restheart.security.MongoPermissions
- isAllowBulkPatch() - Method in class org.restheart.security.MongoPermissions
- isAllowed(Request<?>) - Method in interface org.restheart.plugins.security.Authorizer
- isAllowManagementRequests() - Method in class org.restheart.security.MongoPermissions
- isAllowWriteMode() - Method in class org.restheart.security.MongoPermissions
- isAncestorPath(String, String) - Static method in class org.restheart.utils.BsonUtils
- isAuthenticated() - Method in class org.restheart.exchange.Exchange
-
helper method to check if request is authenticated
- isAuthenticated() - Method in class org.restheart.exchange.Request
- isAuthenticated(HttpServerExchange) - Static method in class org.restheart.exchange.Exchange
- isAuthenticationRequired(Request<?>) - Method in interface org.restheart.plugins.security.Authorizer
- isBlockForTooManyRequests() - Method in class org.restheart.exchange.Request
- isBulkDocuments() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isBulkRequest(MongoRequest) - Static method in class org.restheart.utils.CheckersUtils
- isCache() - Method in class org.restheart.exchange.MongoRequest
- isCausallyConsistent() - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- isCollection() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isCollectionIndexes() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isCollectionMeta() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isCollectionNameInvalid() - Method in class org.restheart.exchange.MongoRequest
-
Seehttps://docs.mongodb.org/v3.2/reference/limits/#naming-restrictions
- isCollectionNameInvalid(String) - Method in class org.restheart.exchange.MongoRequest
- isCollectionSize() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isContentAvailable() - Method in interface org.restheart.exchange.BufferedExchange
- isContentAvailable() - Method in class org.restheart.exchange.ProxyRequest
- isContentAvailable() - Method in class org.restheart.exchange.ProxyResponse
- isContentTypeFormOrMultipart() - Method in class org.restheart.exchange.Exchange
- isContentTypeFormOrMultipart(HttpServerExchange) - Static method in class org.restheart.exchange.Exchange
- isContentTypeJson() - Method in class org.restheart.exchange.Exchange
-
helper method to check if the request content is Json
- isContentTypeJson(HttpServerExchange) - Static method in class org.restheart.exchange.Exchange
-
helper method to check if the request content is Json
- isContentTypeText() - Method in class org.restheart.exchange.Exchange
-
helper method to check if the request content is text
- isContentTypeXml() - Method in class org.restheart.exchange.Exchange
-
helper method to check if the request content is Xm
- isCount() - Method in class org.restheart.exchange.MongoRequest
- isDb() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isDbMeta() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isDbNameInvalid() - Method in class org.restheart.exchange.MongoRequest
-
Seehttps://docs.mongodb.org/v3.2/reference/limits/#naming-restrictions
- isDbNameInvalid(String) - Method in class org.restheart.exchange.MongoRequest
- isDbNameInvalidOnWindows() - Method in class org.restheart.exchange.MongoRequest
-
Seehttps://docs.mongodb.org/v3.2/reference/limits/#naming-restrictions
- isDbNameInvalidOnWindows(String) - Method in class org.restheart.exchange.MongoRequest
- isDbSize() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isDelete() - Method in class org.restheart.exchange.Request
-
helper method to check request method
- isDocument() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isEnabled() - Method in class org.restheart.plugins.PluginRecord
- isEnabled(boolean, Map<String, Object>) - Static method in class org.restheart.plugins.PluginRecord
- isETagCheckRequired() - Method in class org.restheart.exchange.MongoRequest
- isFile() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isFileBinary() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isFilesBucket() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isFilesBucketMeta() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isFilesBucketSize() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isForceEtagCheck() - Method in class org.restheart.exchange.MongoRequest
- isFullHalMode() - Method in class org.restheart.exchange.MongoRequest
- isGet() - Method in class org.restheart.exchange.Request
-
helper method to check request method
- isHandledBy(String) - Method in class org.restheart.exchange.ServiceRequest
- isIndex() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isInError() - Method in class org.restheart.exchange.Exchange
- isInError(HttpServerExchange) - Static method in class org.restheart.exchange.Exchange
- isMessageSentInCurrentTransaction() - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- isMetrics() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isNoCache() - Method in class org.restheart.exchange.MongoRequest
- isNoProps() - Method in class org.restheart.exchange.MongoRequest
- isOptions() - Method in class org.restheart.exchange.Request
-
helper method to check request method
- isParentAccessible() - Method in class org.restheart.exchange.MongoRequest
-
check if the parent of the requested resource is accessible in this request context for instance if /db/mycollection is mapped to /coll then: the db is accessible from the collection the root is not accessible from the collection (since / is actually mapped to the db)
- isPatch() - Method in class org.restheart.exchange.Request
-
helper method to check request method
- isPost() - Method in class org.restheart.exchange.Request
-
helper method to check request method
- isPut() - Method in class org.restheart.exchange.Request
-
helper method to check request method
- isReservedCollectionName(String) - Static method in class org.restheart.exchange.MongoRequest
- isReservedDbName(String) - Static method in class org.restheart.exchange.MongoRequest
- isReservedDocumentId(ExchangeKeys.TYPE, BsonValue) - Static method in class org.restheart.exchange.MongoRequest
- isReservedResource() - Method in class org.restheart.exchange.MongoRequest
- isResourceInJar(Class, String) - Static method in class org.restheart.utils.ResourcesExtractor
- isRoot() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isRootSize() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isRunningOnNode() - Method in class org.restheart.polyglot.NodeQueue
- isSchema() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isSchemaStore() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isSchemaStoreMeta() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isSchemaStoreSize() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isSecure() - Method in class org.restheart.plugins.PluginRecord
- isSecure(boolean, Map<String, Object>) - Static method in class org.restheart.plugins.PluginRecord
- isSessions() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isTxn() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isTxns() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check request resource type
- isUpdateOperator(String) - Static method in class org.restheart.utils.BsonUtils
-
Seehttps://docs.mongodb.com/manual/reference/operator/update/
- isWriteDocument() - Method in class org.restheart.exchange.MongoRequest
-
helper method to check if a request writes a document or a file or a schema
J
- JSON_MEDIA_TYPE - Static variable in class org.restheart.exchange.Exchange
-
* Supported content type JSON
- JSON_MODE_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- JsonInterceptor - Interface in org.restheart.plugins
- JsonProxyRequest - Class in org.restheart.exchange
- JsonProxyRequest(HttpServerExchange) - Constructor for class org.restheart.exchange.JsonProxyRequest
- JsonProxyResponse - Class in org.restheart.exchange
- JsonProxyResponse(HttpServerExchange) - Constructor for class org.restheart.exchange.JsonProxyResponse
- JsonRequest - Class in org.restheart.exchange
- JsonRequest(HttpServerExchange) - Constructor for class org.restheart.exchange.JsonRequest
- JsonResponse - Class in org.restheart.exchange
- JsonResponse(HttpServerExchange) - Constructor for class org.restheart.exchange.JsonResponse
- JsonService - Interface in org.restheart.plugins
-
Specialized Service interface that uses JsonRequest and JsonResponse
- JsonUnflattener - Class in org.restheart.utils
-
JsonUnflattener provides a static unflatten(String) method to unflatten any flattened JSON string back to nested one.
- JsonUnflattener(BsonValue) - Constructor for class org.restheart.utils.JsonUnflattener
-
Creates a JSON unflattener.
- JsonUtils - Class in org.restheart.utils
-
Deprecated.
- JsonUtils() - Constructor for class org.restheart.utils.JsonUtils
-
Deprecated.
- JwtAccount - Class in org.restheart.security
-
Jwt Account
- JwtAccount(String, Set<String>, String) - Constructor for class org.restheart.security.JwtAccount
K
- KEYS_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- KEYSTOPRE_PWD_KEY - Static variable in record class org.restheart.configuration.TLSListener
- KEYSTORE_PATH_KEY - Static variable in record class org.restheart.configuration.TLSListener
- keystorePath() - Method in record class org.restheart.configuration.TLSListener
-
Returns the value of the
keystorePath
record component. - keystorePwd() - Method in record class org.restheart.configuration.TLSListener
-
Returns the value of the
keystorePwd
record component.
L
- LambdaUtils - Class in org.restheart.utils
- LambdaUtils() - Constructor for class org.restheart.utils.LambdaUtils
- Listener - Record Class in org.restheart.configuration
- Listener(boolean, String, int) - Constructor for record class org.restheart.configuration.Listener
-
Creates an instance of a
Listener
record class. - Listener(Map<String, Object>, String, Listener, boolean) - Constructor for record class org.restheart.configuration.Listener
- LoadingCache<K,
V> - Interface in org.restheart.cache - LOCAL - Static variable in interface org.restheart.exchange.ExchangeKeys
- location() - Method in record class org.restheart.configuration.ProxiedResource
-
Returns the value of the
location
record component. - log(Logger, LogUtils.Level, String, Object...) - Static method in class org.restheart.utils.LogUtils
- LOG_FILE_PATH_KEY - Static variable in record class org.restheart.configuration.Logging
- LOG_LEVEL_KEY - Static variable in record class org.restheart.configuration.Logging
- logFilePath() - Method in record class org.restheart.configuration.Logging
-
Returns the value of the
logFilePath
record component. - LOGGER - Static variable in class org.restheart.exchange.Exchange
- logging() - Method in class org.restheart.configuration.Configuration
- Logging - Record Class in org.restheart.configuration
- Logging(Level, boolean, String, boolean, boolean, List<String>, boolean, int, List<String>) - Constructor for record class org.restheart.configuration.Logging
-
Creates an instance of a
Logging
record class. - Logging(Map<String, Object>, boolean) - Constructor for record class org.restheart.configuration.Logging
- LOGGING_KEY - Static variable in record class org.restheart.configuration.Logging
- logLevel() - Method in record class org.restheart.configuration.Logging
-
Returns the value of the
logLevel
record component. - logToConsole() - Method in record class org.restheart.configuration.Logging
-
Returns the value of the
logToConsole
record component. - logToFile() - Method in record class org.restheart.configuration.Logging
-
Returns the value of the
logToFile
record component. - LogUtils - Class in org.restheart.utils
- LogUtils() - Constructor for class org.restheart.utils.LogUtils
- LogUtils.Level - Enum Class in org.restheart.utils
M
- mapUri(String) - Method in class org.restheart.exchange.MongoRequest
-
given a canonical uri (/db/coll) returns the mapped uri (/some/mapping/uri) relative to this context.
- MATCHING_ACL_PERMISSION - Static variable in class org.restheart.security.BaseAclPermission
- MAX_BUFFERS - Static variable in class org.restheart.exchange.Exchange
- MAX_CONTENT_SIZE - Static variable in class org.restheart.exchange.Exchange
- MAX_KEY_ID - Static variable in interface org.restheart.exchange.ExchangeKeys
- MAXKEY - Enum constant in enum class org.restheart.exchange.ExchangeKeys.DOC_ID_TYPE
-
org.bson.types.MaxKey
- maxQueueSize() - Method in record class org.restheart.configuration.ProxiedResource
-
Returns the value of the
maxQueueSize
record component. - messageSentInCurrentTransaction - Variable in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- META_COLLNAME - Static variable in interface org.restheart.exchange.ExchangeKeys
- METRICS - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- MetricsUtils - Class in org.restheart.utils
-
Utility class for metrics
- MetricsUtils() - Constructor for class org.restheart.utils.MetricsUtils
- MetricsUtils.FAILED_AUTH_KEY - Enum Class in org.restheart.utils
- MIN_KEY_ID - Static variable in interface org.restheart.exchange.ExchangeKeys
- minify(InputStream, OutputStream) - Method in class org.restheart.utils.Minify
-
Takes an input stream to a JSON string and outputs minified JSON to the output stream.
- minify(String) - Static method in class org.restheart.utils.BsonUtils
- minify(String) - Method in class org.restheart.utils.Minify
-
Minifies the input JSON string.
- Minify - Class in org.restheart.utils
- Minify() - Constructor for class org.restheart.utils.Minify
- Minify.Action - Enum Class in org.restheart.utils
- Minify.UnterminatedCommentException - Exception in org.restheart.utils
-
Exception to be thrown when an unterminated comment appears in the input.
- Minify.UnterminatedRegExpLiteralException - Exception in org.restheart.utils
-
Exception to be thrown when an unterminated regular expression literal appears in the input.
- Minify.UnterminatedStringLiteralException - Exception in org.restheart.utils
-
Exception to be thrown when an unterminated string literal appears in the input.
- MINKEY - Enum constant in enum class org.restheart.exchange.ExchangeKeys.DOC_ID_TYPE
-
org.bson.types.MinKey;
- MongoInterceptor - Interface in org.restheart.plugins
-
Specialized Interceptor interface for MongoService
- MongoPermissions - Class in org.restheart.security
-
Encapsulates the permissions specific to the MongoService, definined by `mongo` property of the permission
- MongoPermissions() - Constructor for class org.restheart.security.MongoPermissions
- MongoRealmAccount - Class in org.restheart.security
-
Account implementation used by MongoRealmAuthenticator
- MongoRealmAccount(String, char[], Set<String>, BsonDocument) - Constructor for class org.restheart.security.MongoRealmAccount
- MongoRequest - Class in org.restheart.exchange
-
Request implementation used by MongoService and backed by BsonValue that provides simplified methods to deal with headers and query parameters specific to mongo requests
- MongoRequest(HttpServerExchange, String, String) - Constructor for class org.restheart.exchange.MongoRequest
- MongoResponse - Class in org.restheart.exchange
-
Response implementation used by MongoService and backed by BsonValue that provides simplify methods to deal mongo response
- MongoResponse(HttpServerExchange) - Constructor for class org.restheart.exchange.MongoResponse
- MongoServiceAttachments - Class in org.restheart.utils
-
Util class for exchange attachments related to the MongoService
- MongoServiceAttachments() - Constructor for class org.restheart.utils.MongoServiceAttachments
- MULTIPART - Static variable in class org.restheart.exchange.Exchange
- MULTIPART_FORM_DATA_TYPE - Static variable in class org.restheart.exchange.Exchange
N
- name() - Method in record class org.restheart.configuration.CoreModule
-
Returns the value of the
name
record component. - name() - Method in record class org.restheart.configuration.ProxiedResource
-
Returns the value of the
name
record component. - name() - Method in interface org.restheart.plugins.Provider
- name() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Defines the name of the plugin.
- name(Plugin) - Static method in class org.restheart.utils.PluginUtils
- NetUtils - Class in org.restheart.utils
-
this duplicates si-lka Utils class
- NetUtils() - Constructor for class org.restheart.utils.NetUtils
- NEVER - Enum constant in enum class org.restheart.cache.Cache.EXPIRE_POLICY
- next(HttpServerExchange) - Method in class org.restheart.handlers.PipelinedHandler
- NO_CACHE_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- NO_PROPS_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- NodeQueue - Class in org.restheart.polyglot
- notifyMessageSent() - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- notifyOperationInitiated(Object) - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- NUL - Static variable in interface org.restheart.exchange.ExchangeKeys
- NULL - Enum constant in enum class org.restheart.exchange.ExchangeKeys.DOC_ID_TYPE
-
null
- NULL_KEY_ID - Static variable in interface org.restheart.exchange.ExchangeKeys
- NUMBER - Enum constant in enum class org.restheart.exchange.ExchangeKeys.DOC_ID_TYPE
-
any Number (including mongodb NumberLong)
O
- object() - Static method in class org.restheart.utils.GsonUtils
-
alias for ObjectBuilder.builder()
- object(JsonObject) - Static method in class org.restheart.utils.GsonUtils
-
alias for ObjectBuilder.builder()
- of(HttpServerExchange) - Static method in class org.restheart.exchange.BsonFromCsvRequest
- of(HttpServerExchange) - Static method in class org.restheart.exchange.BsonRequest
- of(HttpServerExchange) - Static method in class org.restheart.exchange.BsonResponse
- of(HttpServerExchange) - Static method in class org.restheart.exchange.ByteArrayProxyRequest
- of(HttpServerExchange) - Static method in class org.restheart.exchange.ByteArrayProxyResponse
- of(HttpServerExchange) - Static method in class org.restheart.exchange.ByteArrayRequest
- of(HttpServerExchange) - Static method in class org.restheart.exchange.ByteArrayResponse
- of(HttpServerExchange) - Static method in class org.restheart.exchange.GraphQLRequest
- of(HttpServerExchange) - Static method in class org.restheart.exchange.JsonProxyRequest
- of(HttpServerExchange) - Static method in class org.restheart.exchange.JsonProxyResponse
- of(HttpServerExchange) - Static method in class org.restheart.exchange.JsonRequest
- of(HttpServerExchange) - Static method in class org.restheart.exchange.JsonResponse
- of(HttpServerExchange) - Static method in class org.restheart.exchange.MongoRequest
- of(HttpServerExchange) - Static method in class org.restheart.exchange.MongoResponse
- of(HttpServerExchange) - Static method in class org.restheart.exchange.Request
- of(HttpServerExchange) - Static method in class org.restheart.exchange.Response
- of(HttpServerExchange) - Static method in class org.restheart.exchange.ServiceRequest
- of(HttpServerExchange) - Static method in class org.restheart.exchange.ServiceResponse
- of(HttpServerExchange) - Static method in class org.restheart.exchange.StringRequest
- of(HttpServerExchange) - Static method in class org.restheart.exchange.StringResponse
- of(HttpServerExchange) - Static method in class org.restheart.exchange.UninitializedRequest
- of(HttpServerExchange) - Static method in class org.restheart.exchange.UninitializedResponse
- of(HttpServerExchange, Class<R>) - Static method in class org.restheart.exchange.ServiceRequest
- of(HttpServerExchange, Class<R>) - Static method in class org.restheart.exchange.ServiceResponse
- of(Request<?>) - Static method in class org.restheart.security.BaseAclPermission
- of(Request<?>) - Static method in class org.restheart.security.MongoPermissions
- OID - Enum constant in enum class org.restheart.exchange.ExchangeKeys.DOC_ID_TYPE
-
ObjectId
- OnInit - Annotation Interface in org.restheart.plugins
- OperationResult - Class in org.restheart.mongodb.db
- OperationResult(int) - Constructor for class org.restheart.mongodb.db.OperationResult
- OperationResult(int, Object) - Constructor for class org.restheart.mongodb.db.OperationResult
- OperationResult(int, Object, BsonDocument, BsonDocument) - Constructor for class org.restheart.mongodb.db.OperationResult
- OperationResult(int, Object, BsonDocument, BsonDocument, Throwable) - Constructor for class org.restheart.mongodb.db.OperationResult
- OperationResult(int, Object, BsonValue) - Constructor for class org.restheart.mongodb.db.OperationResult
- OperationResult(int, BsonDocument, Throwable) - Constructor for class org.restheart.mongodb.db.OperationResult
- OperationResult(int, BsonDocument, BsonDocument) - Constructor for class org.restheart.mongodb.db.OperationResult
- OPTIONAL - Enum constant in enum class org.restheart.exchange.ExchangeKeys.ETAG_CHECK_POLICY
-
checks the etag only if provided by client via If-Match header
- OPTIONS - Enum constant in enum class org.restheart.exchange.ExchangeKeys.METHOD
- org.restheart - package org.restheart
- org.restheart.cache - package org.restheart.cache
-
Cache abstraction layer classes that makes possible injecting the actual cache implementation via configuration.
- org.restheart.cache.impl - package org.restheart.cache.impl
-
Actual caches implementations.
- org.restheart.configuration - package org.restheart.configuration
- org.restheart.exchange - package org.restheart.exchange
- org.restheart.handlers - package org.restheart.handlers
- org.restheart.mongodb - package org.restheart.mongodb
- org.restheart.mongodb.db - package org.restheart.mongodb.db
- org.restheart.mongodb.db.sessions - package org.restheart.mongodb.db.sessions
- org.restheart.plugins - package org.restheart.plugins
- org.restheart.plugins.security - package org.restheart.plugins.security
-
Base package for security plugins
- org.restheart.polyglot - package org.restheart.polyglot
- org.restheart.security - package org.restheart.security
- org.restheart.utils - package org.restheart.utils
-
Utility classes
- OTHER - Enum constant in enum class org.restheart.exchange.ExchangeKeys.METHOD
- OUTPUT_CURR - Enum constant in enum class org.restheart.utils.Minify.Action
- overrides(String) - Static method in class org.restheart.configuration.Utils
- overrides(String, boolean, boolean) - Static method in class org.restheart.configuration.Utils
P
- packages() - Method in record class org.restheart.configuration.Logging
-
Returns the value of the
packages
record component. - PACKAGES_KEY - Static variable in record class org.restheart.configuration.Logging
- PAGE_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- PAGESIZE_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- Pair<K,
V> - Class in org.restheart.utils - Pair(K, V) - Constructor for class org.restheart.utils.Pair
- parse(String) - Static method in class org.restheart.utils.BsonUtils
- PATCH - Enum constant in enum class org.restheart.exchange.ExchangeKeys.METHOD
- PATCH - Static variable in interface org.restheart.exchange.ExchangeKeys
- PATCH - Static variable in class org.restheart.exchange.Request
- path() - Method in record class org.restheart.configuration.Utils.RhOverride
-
Returns the value of the
path
record component. - pipe(PipelinedHandler...) - Static method in class org.restheart.handlers.PipelinedHandler
-
pipes multiple PipelinedHandler in a pipeline
- PIPELINE_INFO_KEY - Static variable in class org.restheart.exchange.Request
- PipelinedHandler - Class in org.restheart.handlers
-
base class to implement a PipelinedHandler
- PipelinedHandler() - Constructor for class org.restheart.handlers.PipelinedHandler
-
Creates a default instance of PipedHttpHandler with next = null
- PipelinedHandler(PipelinedHandler) - Constructor for class org.restheart.handlers.PipelinedHandler
- PipelinedWrappingHandler - Class in org.restheart.handlers
-
wraps a HttpHandler into a PipelinedHttpHandler
- pipelineInfo(HttpServerExchange) - Static method in class org.restheart.exchange.Request
- PipelineInfo - Class in org.restheart.exchange
-
Stores information about the pipeline that handles the request.
- PipelineInfo(PipelineInfo.PIPELINE_TYPE, String, String) - Constructor for class org.restheart.exchange.PipelineInfo
- PipelineInfo(PipelineInfo.PIPELINE_TYPE, String, RegisterPlugin.MATCH_POLICY, String) - Constructor for class org.restheart.exchange.PipelineInfo
- PipelineInfo.PIPELINE_TYPE - Enum Class in org.restheart.exchange
- PJ - Enum constant in enum class org.restheart.exchange.ExchangeKeys.REPRESENTATION_FORMAT
- PLAIN_JSON - Enum constant in enum class org.restheart.exchange.ExchangeKeys.REPRESENTATION_FORMAT
- Plugin - Interface in org.restheart.plugins
- PLUGIN_ENABLED_KEY - Static variable in class org.restheart.plugins.PluginRecord
-
The key to enable plugins
- PLUGIN_SECURE_KEY - Static variable in class org.restheart.plugins.PluginRecord
- PluginRecord<T extends Plugin> - Class in org.restheart.plugins
- PluginRecord(String, String, boolean, boolean, String, T, Map<String, Object>) - Constructor for class org.restheart.plugins.PluginRecord
- PLUGINS_DIRECTORY_PATH_KEY - Static variable in record class org.restheart.configuration.CoreModule
- pluginsDirectory() - Method in record class org.restheart.configuration.CoreModule
-
Returns the value of the
pluginsDirectory
record component. - PluginsRegistry - Interface in org.restheart.plugins
- PluginUtils - Class in org.restheart.utils
- PluginUtils() - Constructor for class org.restheart.utils.PluginUtils
- plugPipeline(String, PipelinedHandler, PipelineInfo) - Method in interface org.restheart.plugins.PluginsRegistry
-
Plugs a pipeline into the root handler binding it to the path; also sets its PipelineInfo.
- plugService(PluginRecord<Service<? extends ServiceRequest<?>, ? extends ServiceResponse<?>>>, String, RegisterPlugin.MATCH_POLICY, boolean) - Method in interface org.restheart.plugins.PluginsRegistry
-
Plugs a service into the root handler binding it to the path
- port() - Method in record class org.restheart.configuration.Listener
-
Returns the value of the
port
record component. - port() - Method in record class org.restheart.configuration.TLSListener
-
Returns the value of the
port
record component. - PORT_KEY - Static variable in record class org.restheart.configuration.Listener
- PORT_KEY - Static variable in record class org.restheart.configuration.TLSListener
- POST - Enum constant in enum class org.restheart.exchange.ExchangeKeys.METHOD
- PREFIX - Enum constant in enum class org.restheart.plugins.RegisterPlugin.MATCH_POLICY
- PRINT_FULL_STACKTRACE - Static variable in record class org.restheart.configuration.Logging
- priority() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Set the order of execution (less is higher priority)
- problemServerRetry() - Method in record class org.restheart.configuration.ProxiedResource
-
Returns the value of the
problemServerRetry
record component. - PROPERTIES - Static variable in interface org.restheart.exchange.ExchangeKeys
- Provider<T> - Interface in org.restheart.plugins
-
Base interface for dependency providers
- PROXIED_RESOURCES_KEY - Static variable in record class org.restheart.configuration.ProxiedResource
- ProxiedResource - Record Class in org.restheart.configuration
- ProxiedResource(String, String, List<String>, boolean, int, int, int, int, int) - Constructor for record class org.restheart.configuration.ProxiedResource
-
Creates an instance of a
ProxiedResource
record class. - ProxiedResource(Map<String, Object>, boolean) - Constructor for record class org.restheart.configuration.ProxiedResource
- PROXY - Enum constant in enum class org.restheart.exchange.PipelineInfo.PIPELINE_TYPE
- PROXY_CONNECTIONS_PER_THREAD - Static variable in record class org.restheart.configuration.ProxiedResource
- PROXY_LOCATION_KEY - Static variable in record class org.restheart.configuration.ProxiedResource
- PROXY_MAX_QUEUE_SIZE - Static variable in record class org.restheart.configuration.ProxiedResource
- PROXY_NAME - Static variable in record class org.restheart.configuration.ProxiedResource
- PROXY_PASS_KEY - Static variable in record class org.restheart.configuration.ProxiedResource
- PROXY_PROBLEM_SERVER_RETRY - Static variable in record class org.restheart.configuration.ProxiedResource
- PROXY_REWRITE_HOST_HEADER - Static variable in record class org.restheart.configuration.ProxiedResource
- PROXY_SOFT_MAX_CONNECTIONS_PER_THREAD - Static variable in record class org.restheart.configuration.ProxiedResource
- PROXY_TTL - Static variable in record class org.restheart.configuration.ProxiedResource
- ProxyInterceptor - Interface in org.restheart.plugins
- proxyPass() - Method in record class org.restheart.configuration.ProxiedResource
-
Returns the value of the
proxyPass
record component. - ProxyRequest<T> - Class in org.restheart.exchange
-
Base class for Request implementation that can be used in proxied requests.
- ProxyRequest(HttpServerExchange) - Constructor for class org.restheart.exchange.ProxyRequest
- ProxyResponse<T> - Class in org.restheart.exchange
-
Base class for Response implementation that can be used in proxied requests.
- ProxyResponse(HttpServerExchange) - Constructor for class org.restheart.exchange.ProxyResponse
- put(String, boolean) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- put(String, boolean) - Method in class org.restheart.utils.GsonUtils.ObjectBuilder
- put(String, JsonElement) - Method in class org.restheart.utils.GsonUtils.ObjectBuilder
- put(String, Character) - Method in class org.restheart.utils.GsonUtils.ObjectBuilder
- put(String, Float) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- put(String, Integer) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- put(String, Integer) - Method in class org.restheart.utils.GsonUtils.ObjectBuilder
- put(String, Long) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- put(String, Number) - Method in class org.restheart.utils.GsonUtils.ObjectBuilder
- put(String, String) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- put(String, String) - Method in class org.restheart.utils.GsonUtils.ObjectBuilder
- put(String, Instant) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- put(String, Date) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- put(String, BsonValue) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- put(String, Decimal128) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- put(String, ObjectId) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- put(String, BsonUtils.ArrayBuilder) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- put(String, BsonUtils.DocumentBuilder) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- put(String, GsonUtils.ArrayBuilder) - Method in class org.restheart.utils.GsonUtils.ObjectBuilder
- put(K, V) - Method in interface org.restheart.cache.Cache
- put(K, V) - Method in class org.restheart.cache.impl.CaffeineCache
- put(K, V) - Method in class org.restheart.cache.impl.CaffeineLoadingCache
- put(K, V) - Method in class org.restheart.cache.impl.HashMapLoadingCache
- PUT - Enum constant in enum class org.restheart.exchange.ExchangeKeys.METHOD
- putAll(JsonObject) - Method in class org.restheart.utils.GsonUtils.ObjectBuilder
- putAll(BsonDocument) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- putNull(String) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- putNull(String) - Method in class org.restheart.utils.GsonUtils.ObjectBuilder
- PwdCredentialAccount - Class in org.restheart.security
-
Account implementation that holds PasswordCredential
- PwdCredentialAccount(String, char[], Set<String>) - Constructor for class org.restheart.security.PwdCredentialAccount
Q
- QueryNotFoundException - Exception in org.restheart.exchange
- QueryNotFoundException() - Constructor for exception org.restheart.exchange.QueryNotFoundException
- QueryNotFoundException(String) - Constructor for exception org.restheart.exchange.QueryNotFoundException
- QueryNotFoundException(String, Throwable) - Constructor for exception org.restheart.exchange.QueryNotFoundException
- QueryStringRebuilder - Class in org.restheart.handlers
-
rebuild the query string from the exchange.getQueryParameters() that might have been updated by request interceptors.
- QueryStringRebuilder() - Constructor for class org.restheart.handlers.QueryStringRebuilder
-
Creates a new instance of QueryStringRebuiler
- QueryStringRebuilder(PipelinedHandler) - Constructor for class org.restheart.handlers.QueryStringRebuilder
-
Creates a new instance of QueryStringRebuiler
- QueryVariableNotBoundException - Exception in org.restheart.exchange
- QueryVariableNotBoundException() - Constructor for exception org.restheart.exchange.QueryVariableNotBoundException
- QueryVariableNotBoundException(String) - Constructor for exception org.restheart.exchange.QueryVariableNotBoundException
- QueryVariableNotBoundException(String, Throwable) - Constructor for exception org.restheart.exchange.QueryVariableNotBoundException
- queue() - Method in class org.restheart.polyglot.NodeQueue
R
- raw() - Method in record class org.restheart.configuration.Utils.RhOverride
-
Returns the value of the
raw
record component. - rawType() - Method in interface org.restheart.plugins.Provider
- READ_CONCERN_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- READ_PREFERENCE_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- readBytes(HttpServerExchange) - Static method in class org.restheart.utils.ChannelReader
- readConcern() - Method in record class org.restheart.mongodb.RSOps
-
Returns the value of the
readConcern
record component. - readContent() - Method in class org.restheart.exchange.BsonResponse
- readContent() - Method in interface org.restheart.exchange.BufferedExchange
-
reads data from the buffer converting it to T
- readContent() - Method in class org.restheart.exchange.ByteArrayProxyRequest
- readContent() - Method in class org.restheart.exchange.ByteArrayProxyResponse
- readContent() - Method in class org.restheart.exchange.ByteArrayResponse
- readContent() - Method in class org.restheart.exchange.JsonProxyRequest
- readContent() - Method in class org.restheart.exchange.JsonProxyResponse
- readContent() - Method in class org.restheart.exchange.JsonResponse
- readContent() - Method in class org.restheart.exchange.MongoResponse
- readContent() - Method in class org.restheart.exchange.ProxyRequest
- readContent() - Method in class org.restheart.exchange.ProxyResponse
- readContent() - Method in class org.restheart.exchange.ServiceResponse
-
Reads the content as a String.
- readContent() - Method in class org.restheart.exchange.StringResponse
- readContent() - Method in class org.restheart.exchange.UninitializedResponse
-
throws IllegalStateException
- readPreference() - Method in record class org.restheart.mongodb.RSOps
-
Returns the value of the
readPreference
record component. - readString(HttpServerExchange) - Static method in class org.restheart.utils.ChannelReader
- RegisterPlugin - Annotation Interface in org.restheart.plugins
-
Annotation to register a Plugin
- RegisterPlugin.MATCH_POLICY - Enum Class in org.restheart.plugins
- REMOTE_IP - Enum constant in enum class org.restheart.utils.MetricsUtils.FAILED_AUTH_KEY
- remove(K) - Method in interface org.restheart.cache.Cache
- remove(K) - Method in class org.restheart.cache.impl.CaffeineCache
- remove(K) - Method in class org.restheart.cache.impl.CaffeineLoadingCache
- remove(K) - Method in class org.restheart.cache.impl.HashMapLoadingCache
- removeInterceptorIf(Predicate<? super PluginRecord<Interceptor<?, ?>>>) - Method in interface org.restheart.plugins.PluginsRegistry
- removeTrailingSlashes(String) - Static method in class org.restheart.utils.URLUtils
-
given string /ciao/this/has/trailings///// returns /ciao/this/has/trailings
- replicaSet(MongoClient) - Static method in class org.restheart.mongodb.ConnectionChecker
- REPRESENTATION_FORMAT_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- RepresentationUtils - Class in org.restheart.utils
- RepresentationUtils() - Constructor for class org.restheart.utils.RepresentationUtils
- request() - Method in interface org.restheart.plugins.BsonService
- request() - Method in interface org.restheart.plugins.ByteArrayService
- request() - Method in interface org.restheart.plugins.JsonService
- request() - Method in interface org.restheart.plugins.Service
- request() - Method in interface org.restheart.plugins.StringService
- Request<T> - Class in org.restheart.exchange
-
The root class for implementing a Request providing the implementation for common methods
- Request(HttpServerExchange) - Constructor for class org.restheart.exchange.Request
- REQUEST_AFTER_AUTH - Enum constant in enum class org.restheart.plugins.InterceptPoint
-
intercept the request after authentication occurs
- REQUEST_BEFORE_AUTH - Enum constant in enum class org.restheart.plugins.InterceptPoint
-
intercept the request before authentication occurs
- REQUEST_BEFORE_EXCHANGE_INIT - Enum constant in enum class org.restheart.plugins.InterceptPoint
-
intercept the request before the exchange is initialized The interceptor must implement WildcardInterceptor the Interceptor.handle(request, response) receives the request as UninitializedRequest and a null response.
- requestInitializer() - Method in interface org.restheart.plugins.BsonService
- requestInitializer() - Method in interface org.restheart.plugins.ByteArrayService
- requestInitializer() - Method in interface org.restheart.plugins.JsonService
- requestInitializer() - Method in interface org.restheart.plugins.Service
- requestInitializer() - Method in interface org.restheart.plugins.StringService
- REQUESTS_LIMIT_KEY - Static variable in record class org.restheart.configuration.CoreModule
- REQUESTS_LOG_MODE - Static variable in record class org.restheart.configuration.Logging
- requestsLimit() - Method in record class org.restheart.configuration.CoreModule
-
Returns the value of the
requestsLimit
record component. - requestsLogMode() - Method in record class org.restheart.configuration.Logging
-
Returns the value of the
requestsLogMode
record component. - requestType() - Method in interface org.restheart.plugins.ExchangeTypeResolver
- REQUIRED - Enum constant in enum class org.restheart.exchange.ExchangeKeys.ETAG_CHECK_POLICY
-
always requires the etag, return PRECONDITION FAILED if missing
- REQUIRED_FOR_DELETE - Enum constant in enum class org.restheart.exchange.ExchangeKeys.ETAG_CHECK_POLICY
-
only requires the etag for DELETE, return PRECONDITION FAILED if missing
- requiresContent() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Only used by Interceptors of proxied resources (the content is always available to Interceptor of Services) Set it to true to make available the content of the request (if interceptPoint is REQUEST_BEFORE_AUTH or REQUEST_AFTER_AUTH) or of the response (if interceptPoint is RESPONSE or RESPONSE_ASYNC)
- requiresContent(Interceptor<? extends Request<?>, ? extends Response<?>>) - Static method in class org.restheart.utils.PluginUtils
- resolve(R, S) - Method in interface org.restheart.plugins.Interceptor
- RESOURCES_WILDCARD_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- ResourcesExtractor - Class in org.restheart.utils
- ResourcesExtractor() - Constructor for class org.restheart.utils.ResourcesExtractor
- response() - Method in interface org.restheart.plugins.BsonService
- response() - Method in interface org.restheart.plugins.ByteArrayService
- response() - Method in interface org.restheart.plugins.JsonService
- response() - Method in interface org.restheart.plugins.Service
- response() - Method in interface org.restheart.plugins.StringService
- Response<T> - Class in org.restheart.exchange
-
The root class for implementing a Response providing the implementation for common methods
- Response(HttpServerExchange) - Constructor for class org.restheart.exchange.Response
- RESPONSE - Enum constant in enum class org.restheart.plugins.InterceptPoint
-
intercept the response and executes blocking the response
- RESPONSE_ASYNC - Enum constant in enum class org.restheart.plugins.InterceptPoint
-
intercept the response and executes asynchronously with the response
- responseInitializer() - Method in interface org.restheart.plugins.BsonService
- responseInitializer() - Method in interface org.restheart.plugins.ByteArrayService
- responseInitializer() - Method in interface org.restheart.plugins.JsonService
- responseInitializer() - Method in interface org.restheart.plugins.Service
- responseInitializer() - Method in interface org.restheart.plugins.StringService
- responseInterceptorsExecuted(HttpServerExchange) - Static method in class org.restheart.exchange.Exchange
- responseType() - Method in interface org.restheart.plugins.ExchangeTypeResolver
- rewriteHostHeader() - Method in record class org.restheart.configuration.ProxiedResource
-
Returns the value of the
rewriteHostHeader
record component. - RhOverride(String, Object, String) - Constructor for record class org.restheart.configuration.Utils.RhOverride
-
Creates an instance of a
RhOverride
record class. - rollback(MongoClient) - Method in class org.restheart.exchange.MongoResponse
-
Helper method to restore a modified document.
- ROOT - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- ROOT_SIZE - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- rsOps() - Method in class org.restheart.exchange.MongoRequest
-
ReplicaSet connection otpions
- RSOps - Record Class in org.restheart.mongodb
-
ReplicaSet Connection Options
- RSOps() - Constructor for record class org.restheart.mongodb.RSOps
- RSOps(ReadPreference, ReadConcern, WriteConcern) - Constructor for record class org.restheart.mongodb.RSOps
-
Creates an instance of a
RSOps
record class.
S
- S - Enum constant in enum class org.restheart.exchange.ExchangeKeys.REPRESENTATION_FORMAT
- SC_ACCEPTED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>202 Accepted<tt/> (HTTP/1.0 - RFC 1945)
- SC_BAD_GATEWAY - Static variable in class org.restheart.utils.HttpStatus
-
<tt>502 Bad Gateway<tt/> (HTTP/1.0 - RFC 1945)
- SC_BAD_REQUEST - Static variable in class org.restheart.utils.HttpStatus
-
<tt>400 Bad Request<tt/> (HTTP/1.1 - RFC 2616)
- SC_CONFLICT - Static variable in class org.restheart.utils.HttpStatus
-
<tt>409 Conflict<tt/> (HTTP/1.1 - RFC 2616)
- SC_CONTINUE - Static variable in class org.restheart.utils.HttpStatus
-
<tt>100 Continue<tt/> (HTTP/1.1 - RFC 2616)
- SC_CREATED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>201 Created<tt/> (HTTP/1.0 - RFC 1945)
- SC_EXPECTATION_FAILED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>417 Expectation Failed<tt/> (HTTP/1.1 - RFC 2616)
- SC_FAILED_DEPENDENCY - Static variable in class org.restheart.utils.HttpStatus
-
<tt>424 Failed Dependency<tt/> (WebDAV - RFC 2518)
- SC_FORBIDDEN - Static variable in class org.restheart.utils.HttpStatus
-
<tt>403 Forbidden<tt/> (HTTP/1.0 - RFC 1945)
- SC_GATEWAY_TIMEOUT - Static variable in class org.restheart.utils.HttpStatus
-
<tt>504 Gateway Timeout<tt/> (HTTP/1.1 - RFC 2616)
- SC_GONE - Static variable in class org.restheart.utils.HttpStatus
-
<tt>410 Gone<tt/> (HTTP/1.1 - RFC 2616)
- SC_HTTP_VERSION_NOT_SUPPORTED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>505 HTTP Version Not Supported<tt/> (HTTP/1.1 - RFC 2616)
- SC_INSUFFICIENT_SPACE_ON_RESOURCE - Static variable in class org.restheart.utils.HttpStatus
-
Static constant for a 419 error.
- SC_INSUFFICIENT_STORAGE - Static variable in class org.restheart.utils.HttpStatus
-
<tt>507 Insufficient Storage<tt/> (WebDAV - RFC 2518)
- SC_INTERNAL_SERVER_ERROR - Static variable in class org.restheart.utils.HttpStatus
-
<tt>500 Server Error<tt/> (HTTP/1.0 - RFC 1945)
- SC_LENGTH_REQUIRED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>411 Length Required<tt/> (HTTP/1.1 - RFC 2616)
- SC_LOCKED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>423 Locked<tt/> (WebDAV - RFC 2518)
- SC_METHOD_FAILURE - Static variable in class org.restheart.utils.HttpStatus
-
Static constant for a 420 error.
- SC_METHOD_NOT_ALLOWED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>405 Method Not Allowed<tt/> (HTTP/1.1 - RFC 2616)
- SC_MOVED_PERMANENTLY - Static variable in class org.restheart.utils.HttpStatus
-
<tt>301 Moved Permanently<tt/> (HTTP/1.0 - RFC 1945)
- SC_MOVED_TEMPORARILY - Static variable in class org.restheart.utils.HttpStatus
-
<tt>302 Moved Temporarily<tt/> (Sometimes <tt>Found<tt/>) (HTTP/1.0 - RFC 1945)
- SC_MULTI_STATUS - Static variable in class org.restheart.utils.HttpStatus
-
<tt>207 Multi-Status<tt/> (WebDAV - RFC 2518) or <tt>207 Partial Update OK<tt/> (HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?)
- SC_MULTIPLE_CHOICES - Static variable in class org.restheart.utils.HttpStatus
-
<tt>300 Mutliple Choices<tt/> (HTTP/1.1 - RFC 2616)
- SC_NO_CONTENT - Static variable in class org.restheart.utils.HttpStatus
-
<tt>204 No Content<tt/> (HTTP/1.0 - RFC 1945)
- SC_NON_AUTHORITATIVE_INFORMATION - Static variable in class org.restheart.utils.HttpStatus
-
<tt>203 Non Authoritative Information<tt/> (HTTP/1.1 - RFC 2616)
- SC_NOT_ACCEPTABLE - Static variable in class org.restheart.utils.HttpStatus
-
<tt>406 Not Acceptable<tt/> (HTTP/1.1 - RFC 2616)
- SC_NOT_FOUND - Static variable in class org.restheart.utils.HttpStatus
-
<tt>404 Not Found<tt/> (HTTP/1.0 - RFC 1945)
- SC_NOT_IMPLEMENTED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>501 Not Implemented<tt/> (HTTP/1.0 - RFC 1945)
- SC_NOT_MODIFIED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>304 Not Modified<tt/> (HTTP/1.0 - RFC 1945)
- SC_OK - Static variable in class org.restheart.utils.HttpStatus
-
<tt>200 OK<tt/> (HTTP/1.0 - RFC 1945)
- SC_PARTIAL_CONTENT - Static variable in class org.restheart.utils.HttpStatus
-
<tt>206 Partial Content<tt/> (HTTP/1.1 - RFC 2616)
- SC_PAYMENT_REQUIRED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>402 Payment Required<tt/> (HTTP/1.1 - RFC 2616)
- SC_PRECONDITION_FAILED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>412 Precondition Failed<tt/> (HTTP/1.1 - RFC 2616)
- SC_PROCESSING - Static variable in class org.restheart.utils.HttpStatus
-
<tt>102 Processing<tt/> (WebDAV - RFC 2518)
- SC_PROXY_AUTHENTICATION_REQUIRED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>407 Proxy Authentication Required<tt/> (HTTP/1.1 - RFC 2616)
- SC_REQUEST_TIMEOUT - Static variable in class org.restheart.utils.HttpStatus
-
<tt>408 Request Timeout<tt/> (HTTP/1.1 - RFC 2616)
- SC_REQUEST_TOO_LONG - Static variable in class org.restheart.utils.HttpStatus
-
<tt>413 Request Entity Too Large<tt/> (HTTP/1.1 - RFC 2616)
- SC_REQUEST_URI_TOO_LONG - Static variable in class org.restheart.utils.HttpStatus
-
<tt>414 Request-URI Too Long<tt/> (HTTP/1.1 - RFC 2616)
- SC_REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class org.restheart.utils.HttpStatus
-
<tt>416 Requested Range Not Satisfiable<tt/> (HTTP/1.1 - RFC 2616)
- SC_RESET_CONTENT - Static variable in class org.restheart.utils.HttpStatus
-
<tt>205 Reset Content<tt/> (HTTP/1.1 - RFC 2616)
- SC_SEE_OTHER - Static variable in class org.restheart.utils.HttpStatus
-
<tt>303 See Other<tt/> (HTTP/1.1 - RFC 2616)
- SC_SERVICE_UNAVAILABLE - Static variable in class org.restheart.utils.HttpStatus
-
<tt>503 Service Unavailable<tt/> (HTTP/1.0 - RFC 1945)
- SC_SWITCHING_PROTOCOLS - Static variable in class org.restheart.utils.HttpStatus
-
<tt>101 Switching Protocols<tt/> (HTTP/1.1 - RFC 2616)
- SC_TEMPORARY_REDIRECT - Static variable in class org.restheart.utils.HttpStatus
-
<tt>307 Temporary Redirect<tt/> (HTTP/1.1 - RFC 2616)
- SC_TOO_MANY_REQUESTS - Static variable in class org.restheart.utils.HttpStatus
-
<tt>429 Too Many Requests<tt/> (Additional HTTP Status Codes - RFC 6585)
- SC_UNAUTHORIZED - Static variable in class org.restheart.utils.HttpStatus
-
<tt>401 Unauthorized<tt/> (HTTP/1.0 - RFC 1945)
- SC_UNPROCESSABLE_ENTITY - Static variable in class org.restheart.utils.HttpStatus
-
<tt>422 Unprocessable Entity<tt/> (WebDAV - RFC 2518)
- SC_UNSUPPORTED_MEDIA_TYPE - Static variable in class org.restheart.utils.HttpStatus
-
<tt>415 Unsupported Media Type<tt/> (HTTP/1.1 - RFC 2616)
- SC_USE_PROXY - Static variable in class org.restheart.utils.HttpStatus
-
<tt>305 Use Proxy<tt/> (HTTP/1.1 - RFC 2616)
- SCHEMA - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- SCHEMA_STORE - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- SCHEMA_STORE_META - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- SCHEMA_STORE_SIZE - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- secure() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Only used by Services Set to true to execute the service only if authentication and authorization succeed.
- sendChallenge(HttpServerExchange, SecurityContext) - Method in interface org.restheart.plugins.security.AuthMechanism
- Service<R extends ServiceRequest<?>,
S extends ServiceResponse<?>> - Interface in org.restheart.plugins -
Services allow to extend the API adding web services
- SERVICE - Enum constant in enum class org.restheart.exchange.PipelineInfo.PIPELINE_TYPE
- ServiceRequest<T> - Class in org.restheart.exchange
-
Base class for Request implementations that can be used in service requests.
- ServiceRequest(HttpServerExchange) - Constructor for class org.restheart.exchange.ServiceRequest
- ServiceResponse<T> - Class in org.restheart.exchange
-
Base class for Response implementations that can be used in service requests.
- ServiceResponse(HttpServerExchange) - Constructor for class org.restheart.exchange.ServiceResponse
- ServiceResponse(HttpServerExchange, boolean) - Constructor for class org.restheart.exchange.ServiceResponse
-
An intialized response is attached to the exchange using the REQUEST_KEY With dontAttach=true, instantiates the ServiceResponse without attaching the request to the exchange
- SESSION - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- SESSIONS - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- setAggregationVars(BsonDocument) - Method in class org.restheart.exchange.MongoRequest
- setAsRunningOnNode() - Method in class org.restheart.polyglot.NodeQueue
- setBuffer(PooledByteBuffer[]) - Method in interface org.restheart.exchange.BufferedExchange
- setBuffer(PooledByteBuffer[]) - Method in class org.restheart.exchange.ProxyRequest
- setBuffer(PooledByteBuffer[]) - Method in class org.restheart.exchange.ProxyResponse
- setCache(boolean) - Method in class org.restheart.exchange.MongoRequest
- setCausallyConsistent(boolean) - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- setClientSession(ClientSessionImpl) - Method in class org.restheart.exchange.MongoRequest
- setCollectionProps(BsonDocument) - Method in class org.restheart.exchange.MongoRequest
- setConnectionOptions(Undertow.Builder, Configuration) - Static method in class org.restheart.configuration.Utils
- setContent(Object) - Method in class org.restheart.exchange.UninitializedRequest
-
throws IllegalStateException the content can only be set in raw format, use setRawContent()
- setContent(Object) - Method in class org.restheart.exchange.UninitializedResponse
-
throws IllegalStateException
- setContent(String) - Method in class org.restheart.exchange.ByteArrayResponse
- setContent(BsonUtils.ArrayBuilder) - Method in class org.restheart.exchange.BsonResponse
- setContent(BsonUtils.DocumentBuilder) - Method in class org.restheart.exchange.BsonResponse
- setContent(GsonUtils.ArrayBuilder) - Method in class org.restheart.exchange.JsonResponse
- setContent(GsonUtils.ObjectBuilder) - Method in class org.restheart.exchange.JsonResponse
- setContent(T) - Method in class org.restheart.exchange.ServiceRequest
- setContent(T) - Method in class org.restheart.exchange.ServiceResponse
- setContentLength(int) - Method in class org.restheart.exchange.ProxyResponse
- setContentLength(int) - Method in class org.restheart.exchange.Request
- setContentType(String) - Method in class org.restheart.exchange.Request
- setContentType(String) - Method in class org.restheart.exchange.Response
- setContentTypeAsJson() - Method in class org.restheart.exchange.Request
-
sets Content-Type=application/json
- setContentTypeAsJson() - Method in class org.restheart.exchange.Response
-
sets Content-Type=application/json
- setCount(boolean) - Method in class org.restheart.exchange.MongoRequest
- setCount(long) - Method in class org.restheart.exchange.MongoResponse
- setCustomRequestInitializer(Consumer<HttpServerExchange>) - Method in class org.restheart.exchange.UninitializedRequest
-
If a customRequestInitializer is set (not null), the ServiceExchangeInitializer will delegate to customRequestInitializer.accept(exchange) the responsability to initialize the request
- setCustomResponseInitializer(Consumer<HttpServerExchange>) - Method in class org.restheart.exchange.UninitializedResponse
-
If a customResponseInitializer is set (not null), the ServiceExchangeInitializer will delegate to customResponseInitializer.accept(exchange) the responsability to initialize the response
- setCustomSender(Runnable) - Method in class org.restheart.exchange.ServiceResponse
-
If a customSender is set (not null), the handler ResponseSender will delegate to customSender.run() the responsability to send the response content to the client
- setDbOperationResult(OperationResult) - Method in class org.restheart.exchange.MongoResponse
- setDbProps(BsonDocument) - Method in class org.restheart.exchange.MongoRequest
- setDocIdType(ExchangeKeys.DOC_ID_TYPE) - Method in class org.restheart.exchange.MongoRequest
- setDocumentId(BsonValue) - Method in class org.restheart.exchange.MongoRequest
- setETagCheckRequired(boolean) - Method in class org.restheart.exchange.MongoRequest
- setFileInputStream(InputStream) - Method in class org.restheart.exchange.MongoRequest
- setFilter(Deque<String>) - Method in class org.restheart.exchange.MongoRequest
- setHalMode(ExchangeKeys.HAL_MODE) - Method in class org.restheart.exchange.MongoRequest
- setHeader(HttpString, String) - Method in class org.restheart.exchange.Request
-
note: an header can have multiple values.
- setHeader(HttpString, String) - Method in class org.restheart.exchange.Response
-
note: an header can have multiple values.
- setHeader(String, String) - Method in class org.restheart.exchange.Request
-
note: an header can have multiple values.
- setHeader(String, String) - Method in class org.restheart.exchange.Response
-
note: an header can have multiple values.
- setHint(Deque<String>) - Method in class org.restheart.exchange.MongoRequest
- setInError(boolean) - Method in class org.restheart.exchange.Exchange
- setInError(int, String) - Method in class org.restheart.exchange.Response
- setInError(int, String, Throwable) - Method in class org.restheart.exchange.BsonResponse
- setInError(int, String, Throwable) - Method in class org.restheart.exchange.ByteArrayResponse
- setInError(int, String, Throwable) - Method in class org.restheart.exchange.JsonResponse
- setInError(int, String, Throwable) - Method in class org.restheart.exchange.MongoResponse
- setInError(int, String, Throwable) - Method in class org.restheart.exchange.ProxyResponse
- setInError(int, String, Throwable) - Method in class org.restheart.exchange.Response
- setInError(int, String, Throwable) - Method in class org.restheart.exchange.ServiceResponse
- setInError(int, String, Throwable) - Method in class org.restheart.exchange.StringResponse
- setInError(int, String, Throwable) - Method in class org.restheart.exchange.UninitializedResponse
-
throws IllegalStateException
- setInError(HttpServerExchange) - Static method in class org.restheart.exchange.Exchange
- setKeys(Deque<String>) - Method in class org.restheart.exchange.MongoRequest
- setMDCContext(Map<String, String>) - Method in class org.restheart.exchange.Response
- setMessageSentInCurrentTransaction(boolean) - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- setNext(PipelinedHandler) - Method in class org.restheart.handlers.PipelinedHandler
-
set the next PipedHttpHandler
- setNoProps(boolean) - Method in class org.restheart.exchange.MongoRequest
- setPage(int) - Method in class org.restheart.exchange.MongoRequest
- setPagesize(int) - Method in class org.restheart.exchange.MongoRequest
- setPipelineInfo(HttpServerExchange, PipelineInfo) - Static method in class org.restheart.exchange.Request
- setPipelineInfo(PipelineInfo) - Method in class org.restheart.exchange.Request
- setRawContent(byte[]) - Method in class org.restheart.exchange.UninitializedRequest
-
overwrite the request body raw bytes make sense to invoke it before request initialization
- setRepresentationFormat(ExchangeKeys.REPRESENTATION_FORMAT) - Method in class org.restheart.exchange.MongoRequest
-
sets representationFormat
- setResponseInterceptorsExecuted(HttpServerExchange) - Static method in class org.restheart.exchange.Exchange
- setShardKey(BsonDocument) - Method in class org.restheart.exchange.MongoRequest
- setSortBy(Deque<String>) - Method in class org.restheart.exchange.MongoRequest
- setStartTime(Long) - Method in class org.restheart.exchange.Request
- setStatusCode(int) - Method in class org.restheart.exchange.Response
- setWriteMode(ExchangeKeys.WRITE_MODE) - Method in class org.restheart.exchange.MongoRequest
- SHAL - Enum constant in enum class org.restheart.exchange.ExchangeKeys.REPRESENTATION_FORMAT
- SHARDKEY_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- shoudlPrintStackTrace() - Method in exception org.restheart.configuration.ConfigurationException
- SLASH - Static variable in interface org.restheart.exchange.ExchangeKeys
- SLASH - Static variable in class org.restheart.exchange.Request
- softMaxConnectionsPerThread() - Method in record class org.restheart.configuration.ProxiedResource
-
Returns the value of the
softMaxConnectionsPerThread
record component. - SORT_BY_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- SORT_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- STANDARD - Enum constant in enum class org.restheart.exchange.ExchangeKeys.REPRESENTATION_FORMAT
- startTransaction() - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- startTransaction(TransactionOptions) - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- STATIC_RESOURCE - Enum constant in enum class org.restheart.exchange.PipelineInfo.PIPELINE_TYPE
- STATIC_RESOURCES_MOUNT_EMBEDDED_KEY - Static variable in record class org.restheart.configuration.StaticResource
- STATIC_RESOURCES_MOUNT_WELCOME_FILE_KEY - Static variable in record class org.restheart.configuration.StaticResource
- STATIC_RESOURCES_MOUNT_WHAT_KEY - Static variable in record class org.restheart.configuration.StaticResource
- STATIC_RESOURCES_MOUNT_WHERE_KEY - Static variable in record class org.restheart.configuration.StaticResource
- STATIC_RESOURCES_MOUNTS_KEY - Static variable in record class org.restheart.configuration.StaticResource
- StaticResource - Record Class in org.restheart.configuration
- StaticResource(String, String, String, boolean) - Constructor for record class org.restheart.configuration.StaticResource
-
Creates an instance of a
StaticResource
record class. - StaticResource(Map<String, Object>, boolean) - Constructor for record class org.restheart.configuration.StaticResource
- STRING - Enum constant in enum class org.restheart.exchange.ExchangeKeys.DOC_ID_TYPE
-
String
- STRING_OID - Enum constant in enum class org.restheart.exchange.ExchangeKeys.DOC_ID_TYPE
-
String eventually converted to ObjectId in case ObjectId.isValid() is true
- StringInterceptor - Interface in org.restheart.plugins
- StringRequest - Class in org.restheart.exchange
- StringResponse - Class in org.restheart.exchange
- StringService - Interface in org.restheart.plugins
- SYSTEM - Static variable in interface org.restheart.exchange.ExchangeKeys
T
- throwsSneakyException(Throwable) - Static method in class org.restheart.utils.LambdaUtils
-
allows to throw Checked exception from a Consumer Seehttps://www.baeldung.com/java-sneaky-throws
- TLSListener - Record Class in org.restheart.configuration
- TLSListener(boolean, String, int, String, String, String) - Constructor for record class org.restheart.configuration.TLSListener
-
Creates an instance of a
TLSListener
record class. - TLSListener(Map<String, Object>, String, TLSListener, boolean) - Constructor for record class org.restheart.configuration.TLSListener
- toBsonDocument(Map<String, Object>) - Static method in class org.restheart.utils.BsonUtils
- toByteArray(PooledByteBuffer[]) - Static method in class org.restheart.utils.BuffersUtils
- toByteBuffer(PooledByteBuffer[]) - Static method in class org.restheart.utils.BuffersUtils
- toJson() - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- toJson() - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- toJson(String) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- toJson(String) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- toJson(BsonValue) - Static method in class org.restheart.utils.BsonUtils
- toJson(BsonValue, JsonMode) - Static method in class org.restheart.utils.BsonUtils
- toJson(JsonMode) - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- toJson(JsonMode) - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- TokenManager - Interface in org.restheart.plugins.security
-
Interface for token managers See https://restheart.org/docs/plugins/security-plugins/#token-managers
- toMap() - Method in class org.restheart.configuration.Configuration
- toString() - Method in class org.restheart.configuration.Configuration
- toString() - Method in record class org.restheart.configuration.CoreModule
-
Returns a string representation of this record class.
- toString() - Method in record class org.restheart.configuration.Listener
-
Returns a string representation of this record class.
- toString() - Method in record class org.restheart.configuration.Logging
-
Returns a string representation of this record class.
- toString() - Method in record class org.restheart.configuration.ProxiedResource
-
Returns a string representation of this record class.
- toString() - Method in record class org.restheart.configuration.StaticResource
-
Returns a string representation of this record class.
- toString() - Method in record class org.restheart.configuration.TLSListener
-
Returns a string representation of this record class.
- toString() - Method in record class org.restheart.configuration.Utils.RhOverride
-
Returns a string representation of this record class.
- toString() - Method in class org.restheart.exchange.PipelineInfo
- toString() - Method in record class org.restheart.mongodb.RSOps
-
Returns a string representation of this record class.
- toString() - Method in class org.restheart.security.BaseAccount
- toString() - Method in class org.restheart.security.JwtAccount
- toString() - Method in class org.restheart.utils.BsonUtils.ArrayBuilder
- toString() - Method in class org.restheart.utils.BsonUtils.DocumentBuilder
- toString() - Method in class org.restheart.utils.JsonUnflattener
- toString(byte[], Charset) - Static method in class org.restheart.utils.BuffersUtils
- toString(PooledByteBuffer[], Charset) - Static method in class org.restheart.utils.BuffersUtils
- TRACE - Enum constant in enum class org.restheart.utils.LogUtils.Level
- TRACING_HEADERS_KEY - Static variable in record class org.restheart.configuration.Logging
- tracingHeaders() - Method in record class org.restheart.configuration.Logging
-
Returns the value of the
tracingHeaders
record component. - TRANSACTION - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- TRANSACTIONS - Enum constant in enum class org.restheart.exchange.ExchangeKeys.TYPE
- transfer(PooledByteBuffer[], PooledByteBuffer[], HttpServerExchange) - Static method in class org.restheart.utils.BuffersUtils
- transfer(ByteBuffer, PooledByteBuffer[], HttpServerExchange) - Static method in class org.restheart.utils.BuffersUtils
-
transfer the src data to the pooled buffers overwriting the exising data
- transform(BaseAclPermission) - Method in class org.restheart.security.BaseAclPermissionTransformer
- TRUE_KEY_ID - Static variable in interface org.restheart.exchange.ExchangeKeys
- TXNID_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- type() - Static method in class org.restheart.exchange.ByteArrayProxyRequest
- type() - Static method in class org.restheart.exchange.ByteArrayProxyResponse
- type() - Method in interface org.restheart.plugins.Provider
U
- UNDERSCORE - Static variable in interface org.restheart.exchange.ExchangeKeys
- UNDERSCORE - Static variable in class org.restheart.exchange.Request
- unescapeKeys(BsonValue) - Static method in class org.restheart.utils.BsonUtils
-
replaces the underscore prefixed keys (eg _$exists) with the corresponding key (eg $exists) and the dot (.) in property names.
- unflatten() - Method in class org.restheart.utils.JsonUnflattener
-
Returns a JSON string of nested objects by the given flattened JSON string.
- unflatten(BsonValue) - Static method in class org.restheart.utils.BsonUtils
- unflatten(BsonValue) - Static method in class org.restheart.utils.JsonUnflattener
-
Returns a JSON string of nested objects by the given flattened JSON string.
- UninitializedRequest - Class in org.restheart.exchange
-
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 argument
- UninitializedResponse - Class in org.restheart.exchange
-
UninitializedResponse wraps the exchage and allows setting a customResponseInitializer Interceptors at intercePoint REQUEST_BEFORE_EXCHANGE_INIT receive UninitializedResponse as response argument
- unplug(String, RegisterPlugin.MATCH_POLICY) - Method in interface org.restheart.plugins.PluginsRegistry
-
unplugs an handler from the root handler
- UnsupportedDocumentIdException - Exception in org.restheart.exchange
- UnsupportedDocumentIdException() - Constructor for exception org.restheart.exchange.UnsupportedDocumentIdException
- UnsupportedDocumentIdException(String) - Constructor for exception org.restheart.exchange.UnsupportedDocumentIdException
- UnsupportedDocumentIdException(String, Throwable) - Constructor for exception org.restheart.exchange.UnsupportedDocumentIdException
- UnsupportedDocumentIdException(Throwable) - Constructor for exception org.restheart.exchange.UnsupportedDocumentIdException
- UnterminatedCommentException(int, int) - Constructor for exception org.restheart.utils.Minify.UnterminatedCommentException
- UnterminatedRegExpLiteralException(int, int) - Constructor for exception org.restheart.utils.Minify.UnterminatedRegExpLiteralException
- UnterminatedStringLiteralException(int, int) - Constructor for exception org.restheart.utils.Minify.UnterminatedStringLiteralException
- update(Account) - Method in interface org.restheart.plugins.security.TokenManager
-
updates the account bound to a token
- UPDATE - Enum constant in enum class org.restheart.exchange.ExchangeKeys.WRITE_MODE
- updateBufferSize(int) - Static method in class org.restheart.exchange.Exchange
- UPSERT - Enum constant in enum class org.restheart.exchange.ExchangeKeys.WRITE_MODE
- uriMatchPolicy() - Element in annotation interface org.restheart.plugins.RegisterPlugin
-
Only used by Services Sets the URI match policy of the Service.
- uriMatchPolicy(Service) - Static method in class org.restheart.utils.PluginUtils
- URLUtils - Class in org.restheart.utils
- URLUtils() - Constructor for class org.restheart.utils.URLUtils
- Utils - Class in org.restheart.configuration
- Utils() - Constructor for class org.restheart.configuration.Utils
- Utils.RhOverride - Record Class in org.restheart.configuration
V
- value() - Method in record class org.restheart.configuration.Utils.RhOverride
-
Returns the value of the
value
record component. - value() - Element in annotation interface org.restheart.plugins.Inject
- valueFromEnv(String) - Static method in class org.restheart.configuration.Utils
- valueFromEnv(String, boolean) - Static method in class org.restheart.configuration.Utils
- valueOf(String) - Static method in enum class org.restheart.cache.Cache.EXPIRE_POLICY
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.exchange.ExchangeKeys.DOC_ID_TYPE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.exchange.ExchangeKeys.ETAG_CHECK_POLICY
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.exchange.ExchangeKeys.HAL_MODE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.exchange.ExchangeKeys.METHOD
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.exchange.ExchangeKeys.REPRESENTATION_FORMAT
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.exchange.ExchangeKeys.TYPE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.exchange.ExchangeKeys.WRITE_MODE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.exchange.PipelineInfo.PIPELINE_TYPE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.plugins.InitPoint
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.plugins.InterceptPoint
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.plugins.RegisterPlugin.MATCH_POLICY
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.plugins.security.Authorizer.TYPE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.utils.LogUtils.Level
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.utils.MetricsUtils.FAILED_AUTH_KEY
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.utils.Minify.Action
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.restheart.cache.Cache.EXPIRE_POLICY
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.exchange.ExchangeKeys.DOC_ID_TYPE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.exchange.ExchangeKeys.ETAG_CHECK_POLICY
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.exchange.ExchangeKeys.HAL_MODE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.exchange.ExchangeKeys.METHOD
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.exchange.ExchangeKeys.REPRESENTATION_FORMAT
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.exchange.ExchangeKeys.TYPE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.exchange.ExchangeKeys.WRITE_MODE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.exchange.PipelineInfo.PIPELINE_TYPE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.plugins.InitPoint
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.plugins.InterceptPoint
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.plugins.RegisterPlugin.MATCH_POLICY
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.plugins.security.Authorizer.TYPE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.utils.LogUtils.Level
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.utils.MetricsUtils.FAILED_AUTH_KEY
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.utils.Minify.Action
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verify(Account) - Method in interface org.restheart.plugins.security.Authenticator
- verify(Credential) - Method in interface org.restheart.plugins.security.Authenticator
- verify(String, Credential) - Method in interface org.restheart.plugins.security.Authenticator
- Version - Class in org.restheart
- VERSION - Static variable in class org.restheart.configuration.Configuration
-
the version is read from the JAR's MANIFEST.MF file, which is automatically generated by the Maven build process
- VETOER - Enum constant in enum class org.restheart.plugins.security.Authorizer.TYPE
W
- WARN - Enum constant in enum class org.restheart.utils.LogUtils.Level
- welcomeFile() - Method in record class org.restheart.configuration.StaticResource
-
Returns the value of the
welcomeFile
record component. - what() - Method in record class org.restheart.configuration.StaticResource
-
Returns the value of the
what
record component. - where() - Method in record class org.restheart.configuration.StaticResource
-
Returns the value of the
where
record component. - WildcardInterceptor - Interface in org.restheart.plugins
-
A special interceptor that intercepts requests handled by any Service
- withReadConcern(ReadConcern) - Method in record class org.restheart.mongodb.RSOps
- withReadConcern(String) - Method in record class org.restheart.mongodb.RSOps
- withReadPreference(ReadPreference) - Method in record class org.restheart.mongodb.RSOps
- withReadPreference(String) - Method in record class org.restheart.mongodb.RSOps
- withTransaction(TransactionBody<T>) - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- withTransaction(TransactionBody<T>, TransactionOptions) - Method in class org.restheart.mongodb.db.sessions.ClientSessionImpl
- withWriteConcern(WriteConcern) - Method in record class org.restheart.mongodb.RSOps
- withWriteConcern(String) - Method in record class org.restheart.mongodb.RSOps
- WORKER_THREADS_KEY - Static variable in record class org.restheart.configuration.CoreModule
- workerThreads() - Method in record class org.restheart.configuration.CoreModule
-
Returns the value of the
workerThreads
record component. - wrap(HttpHandler) - Static method in class org.restheart.handlers.PipelinedWrappingHandler
- wrap(PipelinedHandler, HttpHandler) - Static method in class org.restheart.handlers.PipelinedWrappingHandler
- wrap(PipelinedHandler, Service<R, S>) - Static method in class org.restheart.handlers.PipelinedWrappingHandler
- wrap(Service<R, S>) - Static method in class org.restheart.handlers.PipelinedWrappingHandler
- wrapped - Variable in class org.restheart.exchange.Exchange
- WRITE_CONCERN_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- WRITE_MODE_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- WRITE_MODE_SHORT_QPARAM_KEY - Static variable in interface org.restheart.exchange.ExchangeKeys
- writeConcern() - Method in record class org.restheart.mongodb.RSOps
-
Returns the value of the
writeConcern
record component. - writeContent(byte[]) - Method in class org.restheart.exchange.ByteArrayProxyRequest
-
updates the request content allocates the PooledByteBuffer array so close() must be invoked to avoid memory leaks
- writeContent(byte[]) - Method in class org.restheart.exchange.ByteArrayProxyResponse
-
writes the response content allocates the PooledByteBuffer array so close() must be invoked to avoid memory leaks
- writeContent(JsonElement) - Method in class org.restheart.exchange.JsonProxyRequest
-
updates the request content allocates the PooledByteBuffer array so close() must be invoked to avoid memory leaks
- writeContent(JsonElement) - Method in class org.restheart.exchange.JsonProxyResponse
-
writes the response content allocates the PooledByteBuffer array so close() must be invoked to avoid memory leaks
- writeContent(T) - Method in interface org.restheart.exchange.BufferedExchange
-
writes data the buffer from T
- writeContent(T) - Method in class org.restheart.exchange.ProxyRequest
- writeContent(T) - Method in class org.restheart.exchange.ProxyResponse
X
- X_FORWARDED_FOR - Enum constant in enum class org.restheart.utils.MetricsUtils.FAILED_AUTH_KEY
- xffValue(String, int) - Static method in class org.restheart.utils.MetricsUtils
-
handles the case where the X_Forwarded_For header is set as "<client-suppied-value>, ..., <proxy-supplied-value>" we want to take into account only the last value to avoid metrics to be flooded with values from the client NOTE: this is the behavior of AWS ALB
- xffValueRIndex(int) - Static method in class org.restheart.utils.MetricsUtils
-
Set the xffReverseIndex, i.e.
_
- _AGGREGATIONS - Static variable in interface org.restheart.exchange.ExchangeKeys
- _ID - Static variable in interface org.restheart.exchange.ExchangeKeys
- _INDEXES - Static variable in interface org.restheart.exchange.ExchangeKeys
- _META - Static variable in interface org.restheart.exchange.ExchangeKeys
- _METRICS - Static variable in interface org.restheart.exchange.ExchangeKeys
- _SCHEMAS - Static variable in interface org.restheart.exchange.ExchangeKeys
- _SESSIONS - Static variable in interface org.restheart.exchange.ExchangeKeys
- _SIZE - Static variable in interface org.restheart.exchange.ExchangeKeys
- _STREAMS - Static variable in interface org.restheart.exchange.ExchangeKeys
- _TRANSACTIONS - Static variable in interface org.restheart.exchange.ExchangeKeys
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form