Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort() - Method in class com.codename1.backend.WebSocketSession
-
Drops the connection with no closing handshake.
- ABOVE_TARGET - Enum constant in enum com.codename1.migration.MigrationState
-
Above the configured target version.
- abs(double) - Static method in class java.lang.Math
-
Returns the absolute value of a double value.
- abs(float) - Static method in class java.lang.Math
-
Returns the absolute value of a float value.
- abs(int) - Static method in class java.lang.Math
-
Returns the absolute value of an int value.
- abs(long) - Static method in class java.lang.Math
-
Returns the absolute value of a long value.
- AbstractAuthenticationToken - Class in com.codename1.backend.security
-
The parts every
Authenticationshares: its authorities, its details and the name read off its principal. - AbstractAuthenticationToken(Collection) - Constructor for class com.codename1.backend.security.AbstractAuthenticationToken
-
A token with these authorities; null for none.
- AbstractCollection<E> - Class in java.util
-
Class
AbstractCollectionis an abstract implementation of theCollectioninterface. - AbstractCollection() - Constructor for class java.util.AbstractCollection
-
Constructs a new instance of this AbstractCollection.
- AbstractList<E> - Class in java.util
-
AbstractListis an abstract implementation of theListinterface, optimized for a backing store which supports random access. - AbstractList() - Constructor for class java.util.AbstractList
-
Constructs a new instance of this AbstractList.
- AbstractMap<K,
V> - Class in java.util -
This class is an abstract implementation of the
Mapinterface. - AbstractMap() - Constructor for class java.util.AbstractMap
-
Constructs a new instance of this
AbstractMap. - AbstractMap.SimpleEntry<K,
V> - Class in java.util -
A key-value mapping.
- AbstractMap.SimpleImmutableEntry<K,
V> - Class in java.util -
An immutable key-value mapping.
- AbstractMethodError - Exception Class in java.lang
-
Exception thrown when an attempt is made to call an abstract method.
- AbstractQueue<E> - Class in java.util
-
AbstractQueue is an abstract class which implements some of the methods in
Queue. - AbstractQueue() - Constructor for class java.util.AbstractQueue
-
Constructor to be used by subclasses.
- AbstractSequentialList<E> - Class in java.util
-
AbstractSequentialList is an abstract implementation of the List interface.
- AbstractSequentialList() - Constructor for class java.util.AbstractSequentialList
-
Constructs a new instance of this AbstractSequentialList.
- AbstractSet<E> - Class in java.util
-
An AbstractSet is an abstract implementation of the Set interface.
- AbstractSet() - Constructor for class java.util.AbstractSet
-
Constructs a new instance of this AbstractSet.
- accept() - Method in class com.codename1.backend.ServerSocket
-
The accepted descriptor, or -1 when nothing was waiting.
- accept(int, long) - Method in class com.codename1.backend.Tls
-
Runs the handshake on an already-blocking descriptor, giving it
budgetMillisin total. - accept(String...) - Method in class com.codename1.backend.test.MockRequestBuilder
-
The Accept header.
- accept(T) - Method in interface java.util.function.Consumer
- accept(T, U) - Method in interface java.util.function.BiConsumer
- ACCEPTED - Enum constant in enum com.codename1.backend.test.HttpStatus
- access(AuthorizationManager) - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
-
Whoever
managergrants. - ACCESS_DENIED - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The user, or the server, refused the request.
- ACCESS_TOKEN - Static variable in class com.codename1.backend.security.oauth2.server.authorization.OAuth2TokenContext
-
OAuth2TokenContext.getTokenType()of an access token. - AccessDeniedException - Exception Class in com.codename1.backend.security
-
The caller may not do what it asked.
- AccessDeniedException(String) - Constructor for exception class com.codename1.backend.security.AccessDeniedException
- AccessDeniedException(String, Throwable) - Constructor for exception class com.codename1.backend.security.AccessDeniedException
- accessDeniedHandler(AccessDeniedHandler) - Method in class com.codename1.backend.security.ExceptionHandlingConfigurer
-
What answers a signed-in caller that is denied; a 403 unless set.
- accessDeniedHandler(AccessDeniedHandler) - Method in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
-
What answers a request whose token does not grant enough.
- AccessDeniedHandler - Interface in com.codename1.backend.security
-
Answers a signed-in caller that asked for something it may not have.
- AccessDeniedHandlerImpl - Class in com.codename1.backend.security
-
Answers 403.
- AccessDeniedHandlerImpl() - Constructor for class com.codename1.backend.security.AccessDeniedHandlerImpl
- accessTokenResponseClient(OAuth2AccessTokenResponseClient) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
What exchanges the code for tokens.
- accessTokenTimeToLive(long) - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings.Builder
- ACCOUNT_NOT_FOUND - Static variable in class com.codename1.backend.security.oauth2.client.LinkingOAuth2UserService
-
Nobody here has the address, and new users are not made.
- ACCOUNT_UNAVAILABLE - Static variable in class com.codename1.backend.security.oauth2.client.LinkingOAuth2UserService
-
The local user the identity is tied to cannot sign in.
- ACCOUNT_UNAVAILABLE - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The user the credential belongs to cannot sign in here.
- accountExpired(boolean) - Method in class com.codename1.backend.security.core.userdetails.User.UserBuilder
- AccountExpiredException - Exception Class in com.codename1.backend.security
-
The account has expired.
- AccountExpiredException(String) - Constructor for exception class com.codename1.backend.security.AccountExpiredException
- AccountExpiredException(String, Throwable) - Constructor for exception class com.codename1.backend.security.AccountExpiredException
- accountLocked(boolean) - Method in class com.codename1.backend.security.core.userdetails.User.UserBuilder
- AccountStatusException - Exception Class in com.codename1.backend.security
-
The account exists and may not be used as it stands: locked, disabled or expired.
- AccountStatusException(String) - Constructor for exception class com.codename1.backend.security.AccountStatusException
- AccountStatusException(String, Throwable) - Constructor for exception class com.codename1.backend.security.AccountStatusException
- accumulator() - Method in interface java.util.stream.Collector
- ACTIVE - Static variable in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
-
A grant a user has made.
- activeCount() - Static method in class java.lang.Thread
-
Returns the current number of active threads in the virtual machine.
- add(int, int) - Method in class com.codename1.backend.Reactor
- add(int, int) - Method in class java.util.Calendar
-
Adds the specified amount to a
Calendarfield. - add(int, E) - Method in class java.util.AbstractList
-
Inserts the specified object into this List at the specified location.
- add(int, E) - Method in class java.util.AbstractSequentialList
- add(int, E) - Method in class java.util.ArrayList
-
Inserts the specified object into this
ArrayListat the specified location. - add(int, E) - Method in class java.util.LinkedList
-
Inserts the specified object into this
LinkedListat the specified location. - add(int, E) - Method in interface java.util.List
-
Inserts the specified object into this
Listat the specified location. - add(int, E) - Method in class java.util.Vector
-
Adds the specified object into this vector at the specified location.
- add(long) - Method in class com.codename1.backend.metrics.Counter
-
Adds
amount. - add(E) - Method in class java.util.AbstractCollection
- add(E) - Method in class java.util.AbstractList
-
Adds the specified object at the end of this List.
- add(E) - Method in class java.util.AbstractQueue
-
Adds an element to the queue.
- add(E) - Method in class java.util.ArrayDeque
-
Inserts the element to the tail of the deque.
- add(E) - Method in class java.util.ArrayList
-
Adds the specified object at the end of this
ArrayList. - add(E) - Method in interface java.util.Collection
-
Attempts to add
objectto the contents of thisCollection(optional). - add(E) - Method in class java.util.HashSet
-
Adds the specified object to this
HashSetif not already present. - add(E) - Method in class java.util.LinkedList
-
Adds the specified object at the end of this
LinkedList. - add(E) - Method in interface java.util.List
-
Adds the specified object at the end of this
List. - add(E) - Method in interface java.util.ListIterator
-
Inserts the specified object into the list between
nextandprevious. - add(E) - Method in class java.util.PriorityQueue
-
Adds the specified object to the priority queue.
- add(E) - Method in interface java.util.Set
-
Adds the specified object to this set.
- add(E) - Method in class java.util.TreeSet
-
Adds the specified object to this
TreeSet. - add(E) - Method in class java.util.Vector
-
Adds the specified object at the end of this vector.
- add(String, String) - Method in class com.codename1.backend.test.HttpHeaders
-
Adds a value to a header.
- addAll(int, Collection) - Method in class java.util.AbstractList
-
Inserts the objects in the specified Collection at the specified location in this List.
- addAll(int, Collection) - Method in class java.util.AbstractSequentialList
- addAll(int, Collection) - Method in class java.util.ArrayList
-
Inserts the objects in the specified collection at the specified location in this List.
- addAll(int, Collection) - Method in class java.util.LinkedList
-
Inserts the objects in the specified collection at the specified location in this
LinkedList. - addAll(int, Collection) - Method in interface java.util.List
-
Inserts the objects in the specified collection at the specified location in this
List. - addAll(int, Collection) - Method in class java.util.Vector
-
Inserts the objects in the specified collection at the specified location in this vector.
- addAll(Collection) - Method in class java.util.AbstractCollection
-
Attempts to add all of the objects contained in
collectionto the contents of thisCollection(optional). - addAll(Collection) - Method in class java.util.AbstractQueue
-
Adds all the elements of a collection to the queue.
- addAll(Collection) - Method in class java.util.ArrayList
-
Adds the objects in the specified collection to this
ArrayList. - addAll(Collection) - Method in interface java.util.Collection
-
Attempts to add all of the objects contained in
Collectionto the contents of thisCollection(optional). - addAll(Collection) - Method in class java.util.LinkedList
-
Adds the objects in the specified Collection to this
LinkedList. - addAll(Collection) - Method in interface java.util.List
-
Adds the objects in the specified collection to the end of this
List. - addAll(Collection) - Method in interface java.util.Set
-
Adds the objects in the specified collection which do not exist yet in this set.
- addAll(Collection) - Method in class java.util.TreeSet
-
Adds the objects in the specified collection to this
TreeSet. - addAll(Collection) - Method in class java.util.Vector
-
Adds the objects in the specified collection to the end of this vector.
- addAll(Collection, T...) - Static method in class java.util.Collections
-
Adds all the specified elements to the specified collection.
- addAllAttributes(Model) - Method in class com.codename1.backend.mvc.Model
- addAndGet(int) - Method in class java.util.concurrent.atomic.AtomicInteger
- addAndGet(long) - Method in class java.util.concurrent.atomic.AtomicLong
- addAttribute(String, Object) - Method in class com.codename1.backend.mvc.Model
- addAuthenticationCodec(AuthenticationCodec) - Method in class com.codename1.backend.security.HttpSessionSecurityContextRepository
-
Adds a codec; see
AuthenticationCodec. - addElement(E) - Method in class java.util.Vector
-
Adds the specified object at the end of this vector.
- addFilterAfter(SecurityFilter, Class) - Method in class com.codename1.backend.security.HttpSecurity
-
Adds
filterjust after the filter of classafterFilter. - addFilterAt(SecurityFilter, Class) - Method in class com.codename1.backend.security.HttpSecurity
-
Adds
filterat the place of the filter of classatFilter, beside it rather than instead of it: which of the two runs first is not defined. - addFilterBefore(SecurityFilter, Class) - Method in class com.codename1.backend.security.HttpSecurity
-
Adds
filterjust before the filter of classbeforeFilter. - addFirst(E) - Method in class java.util.ArrayDeque
-
Inserts an element at the head of this deque if it dose not violate size limit immediately.
- addFirst(E) - Method in interface java.util.Deque
-
Inserts an element at the head of this deque if it dose not violate size limit immediately.
- addFirst(E) - Method in class java.util.LinkedList
-
Adds the specified object at the beginning of this
LinkedList. - addHeaderWriter(HeaderWriter) - Method in class com.codename1.backend.security.HeadersConfigurer
-
One more writer, run after the built-in ones.
- additionalParameter(String, Object) - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest.Builder
-
One more parameter of the request:
prompt,login_hint,access_type. - addLast(E) - Method in class java.util.ArrayDeque
-
Inserts an element at the tail of this deque if it dose not violate size limit immediately.
- addLast(E) - Method in interface java.util.Deque
-
Inserts an element at the tail of this deque if it dose not violate size limit immediately.
- addLast(E) - Method in class java.util.LinkedList
-
Adds the specified object at the end of this
LinkedList. - addLogoutHandler(LogoutHandler) - Method in class com.codename1.backend.security.LogoutConfigurer
-
Something more to undo at sign-out; runs before the session ends.
- addObject(String, Object) - Method in class com.codename1.backend.mvc.ModelAndView
- addObserver(Observer) - Method in class java.util.Observable
-
Adds the specified observer to the list of observers.
- addResponseHeader(String, String) - Method in class com.codename1.backend.security.SecurityExchange
-
Adds a header to the response this request will get, beside any other of that name: one more
Set-Cookie. - addSuppressed(Throwable) - Method in exception class java.lang.Throwable
- addTo(LocalDate) - Method in class java.time.Period
- addToken(String, String, String, long) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- addToken(String, String, String, long) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- addToken(String, String, String, long) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
Records a secret issued under a grant.
- Adler32 - Class in com.codename1.io.gzip
- Adler32() - Constructor for class com.codename1.io.gzip.Adler32
- adler32_combine(long, long, long) - Static method in class com.codename1.io.gzip.JZlib
-
Deprecated.
- adler32Combine(long, long, long) - Static method in class com.codename1.io.gzip.JZlib
- advance(byte[], long, boolean, boolean, long) - Method in class com.codename1.backend.security.webauthn.InMemoryUserCredentialRepository
- advance(byte[], long, boolean, boolean, long) - Method in class com.codename1.backend.security.webauthn.JdbcUserCredentialRepository
- advance(byte[], long, boolean, boolean, long) - Method in interface com.codename1.backend.security.webauthn.UserCredentialRepository
-
Records a sign-in: the counter the authenticator sent, the flags it sent, and when.
- advance(String, byte[], long) - Method in class com.codename1.backend.security.mfa.InMemoryTotpRepository
- advance(String, byte[], long) - Method in class com.codename1.backend.security.mfa.JdbcTotpRepository
- advance(String, byte[], long) - Method in interface com.codename1.backend.security.mfa.TotpRepository
-
Consumes a sign-in code only if the confirmed credential still has the verified secret and its last accepted step is lower.
- advance(String, long) - Method in class com.codename1.backend.security.mfa.InMemoryTotpRepository
- advance(String, long) - Method in class com.codename1.backend.security.mfa.JdbcTotpRepository
- advance(String, long) - Method in interface com.codename1.backend.security.mfa.TotpRepository
-
Records that a code of time step
stepwas accepted, if no code of that step or a later one has been. - aesGcmDecrypt(byte[], byte[], byte[], byte[]) - Static method in class com.codename1.backend.Crypto
-
Opens what
Crypto.aesGcmEncrypt(byte[], byte[], byte[], byte[])sealed. - aesGcmEncrypt(byte[], byte[], byte[], byte[]) - Static method in class com.codename1.backend.Crypto
-
AES-GCM.
- after(Object) - Method in class java.util.Calendar
-
Compares the time field records.
- algorithm(long) - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
- algorithm(Jwk) - Static method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerKeys
-
RS256for an RSA key,ES256for a P-256 one, null for any other. - ALL - Enum constant in enum com.codename1.annotations.db.CascadeType
-
Propagates all supported cascade operations.
- ALL - Static variable in class com.codename1.backend.test.MediaType
- ALL_VALUE - Static variable in class com.codename1.backend.test.MediaType
- allMatch(Predicate) - Method in interface java.util.stream.Stream
- allOf(RequestMatcher...) - Static method in class com.codename1.backend.security.RequestMatchers
-
Matches when every one of
matchersdoes; always, given none. - allowCrossOrigin(boolean) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
Whether a ceremony may run in a frame of another origin.
- allowedOrigins(String...) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
The origins a ceremony may run on:
https://example.com, with a port when it is not the default and nothing after it; andandroid:apk-key-hash:...for an Android application. - allowUnverifiedAttestation(boolean) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
Whether a registration whose attestation this server cannot verify is accepted as if it carried none; see
WebAuthnRelyingPartyOperations.setAllowUnverifiedAttestation(boolean). - ALPN - Static variable in class com.codename1.backend.Http2
-
The ALPN identifier.
- altMetafactory(MethodHandles.Lookup, String, MethodType, Object...) - Static method in class java.lang.invoke.LambdaMetafactory
- ALWAYS - Enum constant in enum com.codename1.backend.security.SessionCreationPolicy
-
Every request under the chain gets a session.
- alwaysRemember(boolean) - Method in class com.codename1.backend.security.RememberMeConfigurer
-
Remembers every user who signs in, whether or not they asked.
- AM - Static variable in class java.util.Calendar
-
Value of the AM_PM field indicating the period of the day from midnight to just before noon.
- AM_PM - Static variable in class java.util.Calendar
-
Field number for get and set indicating whether the HOUR is before or after noon.
- and(BitSet) - Method in class java.util.BitSet
-
Performs the logical AND of this
BitSetwith anotherBitSet. - andDo(ResultHandler) - Method in class com.codename1.backend.test.ResultActions
- andExpect(ResultMatcher) - Method in class com.codename1.backend.test.ResultActions
-
Asserts one expectation, throwing AssertionError when it fails.
- andExpectAll(ResultMatcher...) - Method in class com.codename1.backend.test.ResultActions
-
Asserts every expectation, reporting all the failures together.
- andNot(BitSet) - Method in class java.util.BitSet
-
Clears all bits in the receiver which are also set in the parameter
BitSet. - andReturn() - Method in class com.codename1.backend.test.ResultActions
- Annotation - Interface in java.lang.annotation
-
A mirror of java.lang.Annotation.
- ANNOTATION_TYPE - Enum constant in enum java.lang.annotation.ElementType
- AnnotationFormatError - Exception Class in java.lang.annotation
-
A mirror of java.lang.annotation.AnnotationFormatError.
- AnnotationFormatError(String) - Constructor for exception class java.lang.annotation.AnnotationFormatError
- AnnotationFormatError(String, Throwable) - Constructor for exception class java.lang.annotation.AnnotationFormatError
- AnnotationFormatError(Throwable) - Constructor for exception class java.lang.annotation.AnnotationFormatError
- annotationType() - Method in interface java.lang.annotation.Annotation
-
Returns the annotation type of this annotation.
- annotationType() - Method in exception class java.lang.annotation.IncompleteAnnotationException
- anonymous() - Static method in class com.codename1.backend.security.AuthenticatedAuthorizationManager
-
The caller did not sign in.
- anonymous() - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
- anonymous() - Static method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors
-
The request is from nobody, whoever the test runs as.
- anonymous(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
The authentication of a request nobody signed in for; see
AnonymousConfigurer. - AnonymousAuthenticationFilter - Class in com.codename1.backend.security
-
Gives a request nobody signed in for an
AnonymousAuthenticationToken, so the rules that follow always have an authentication to judge. - AnonymousAuthenticationToken - Class in com.codename1.backend.security
-
Who a request is from when nobody signed in: a principal called
anonymousUserholdingROLE_ANONYMOUS, so authorization rules always have someone to ask about. - AnonymousAuthenticationToken(String, Object, Collection) - Constructor for class com.codename1.backend.security.AnonymousAuthenticationToken
- AnonymousConfigurer - Class in com.codename1.backend.security
-
The authentication of a request nobody signed in for; see
AnonymousAuthenticationToken. - antMatcher(String) - Static method in class com.codename1.backend.security.AntPathRequestMatcher
-
A matcher for
pattern, any method. - antMatcher(String, String) - Static method in class com.codename1.backend.security.AntPathRequestMatcher
-
A matcher for
patternand one method, written as HTTP writes it:POST. - AntPathRequestMatcher - Class in com.codename1.backend.security
-
Matches a request's path against an Ant-style pattern, and optionally its method.
- AntPathRequestMatcher(String) - Constructor for class com.codename1.backend.security.AntPathRequestMatcher
- AntPathRequestMatcher(String, String) - Constructor for class com.codename1.backend.security.AntPathRequestMatcher
- anyMatch(Predicate) - Method in interface java.util.stream.Stream
- anyOf(RequestMatcher...) - Static method in class com.codename1.backend.security.RequestMatchers
-
Matches when any of
matchersdoes; never, given none. - anyRequest() - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizationManagerRequestMatcherRegistry
-
Every request the rules before this one did not match.
- AnyRequestMatcher - Class in com.codename1.backend.security
-
Matches every request.
- apiKey(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
Sign-in with an API key; see
ApiKeyConfigurer. - apiKey(String) - Static method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors
-
The request carries an API key of this owner that was accepted, with no scopes until told otherwise.
- ApiKey - Class in com.codename1.backend.security.apikey
-
What a server keeps about an API key: who it acts for, what it may do, whether it has been revoked, and the SHA-256 by which a presented key is recognized.
- ApiKey(String, String, List, String, String, String, boolean) - Constructor for class com.codename1.backend.security.apikey.ApiKey
- ApiKeyAuthenticationFilter - Class in com.codename1.backend.security
-
Authenticates a request from the API key it presents, in
X-API-Keyor asAuthorization: Bearer <key>. - ApiKeyAuthenticationToken - Class in com.codename1.backend.security.apikey
-
Who a request is from, when an API key says so.
- ApiKeyAuthenticationToken(ApiKey) - Constructor for class com.codename1.backend.security.apikey.ApiKeyAuthenticationToken
- ApiKeyConfigurer - Class in com.codename1.backend.security
-
Sign-in with an API key on each request.
- ApiKeyGenerator - Class in com.codename1.backend.security.apikey
-
Makes API keys: a prefix, then 32 random bytes as base64url.
- ApiKeyGenerator() - Constructor for class com.codename1.backend.security.apikey.ApiKeyGenerator
- ApiKeyGenerator(String) - Constructor for class com.codename1.backend.security.apikey.ApiKeyGenerator
- apiKeyId() - Static method in class com.codename1.backend.security.ratelimit.RateLimitKeys
-
The id of the API key the request presented; no key for a request that signed in another way.
- ApiKeyRepository - Interface in com.codename1.backend.security.apikey
-
Where API keys are kept.
- append(boolean) - Method in class java.lang.StringBuffer
-
Appends the string representation of the boolean argument to the string buffer.
- append(boolean) - Method in class java.lang.StringBuilder
-
Appends the string representation of the boolean argument to the string builder.
- append(char) - Method in class java.io.StringWriter
- append(char) - Method in interface java.lang.Appendable
-
Appends the specified character.
- append(char) - Method in class java.lang.StringBuffer
-
Appends the string representation of the char argument to this string buffer.
- append(char) - Method in class java.lang.StringBuilder
-
Appends the string representation of the char argument to this string builder.
- append(char[]) - Method in class java.lang.StringBuilder
- append(char[], int, int) - Method in class java.lang.StringBuffer
-
Appends the string representation of a subarray of the char array argument to this string buffer.
- append(char[], int, int) - Method in class java.lang.StringBuilder
-
Appends the string representation of a subarray of the char array argument to this string builder.
- append(double) - Method in class java.lang.StringBuffer
-
Appends the string representation of the double argument to this string buffer.
- append(double) - Method in class java.lang.StringBuilder
-
Appends the string representation of the double argument to this string builder.
- append(float) - Method in class java.lang.StringBuffer
-
Appends the string representation of the float argument to this string buffer.
- append(float) - Method in class java.lang.StringBuilder
-
Appends the string representation of the float argument to this string builder.
- append(int) - Method in class java.lang.StringBuffer
-
Appends the string representation of the int argument to this string buffer.
- append(int) - Method in class java.lang.StringBuilder
-
Appends the string representation of the int argument to this string builder.
- append(long) - Method in class java.lang.StringBuffer
-
Appends the string representation of the long argument to this string buffer.
- append(long) - Method in class java.lang.StringBuilder
-
Appends the string representation of the long argument to this string builder.
- append(CharSequence) - Method in class java.io.StringWriter
- append(CharSequence) - Method in interface java.lang.Appendable
-
Appends the character sequence
csq. - append(CharSequence) - Method in class java.lang.StringBuffer
- append(CharSequence) - Method in class java.lang.StringBuilder
- append(CharSequence, int, int) - Method in class java.io.StringWriter
- append(CharSequence, int, int) - Method in interface java.lang.Appendable
-
Appends a subsequence of
csq. - append(CharSequence, int, int) - Method in class java.lang.StringBuffer
- append(CharSequence, int, int) - Method in class java.lang.StringBuilder
- append(Object) - Method in class java.lang.StringBuffer
-
Appends the string representation of the Object argument to this string buffer.
- append(Object) - Method in class java.lang.StringBuilder
-
Appends the string representation of the Object argument to this string builder.
- append(String) - Method in class java.lang.StringBuffer
-
Appends the string to this string buffer.
- append(String) - Method in class java.lang.StringBuilder
-
Appends the string to this string builder.
- append(StringBuffer) - Method in class java.lang.StringBuilder
-
Appends StringBuffer to end of builder.
- append(String, Map) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
uriwithfieldsadded to its query. - Appendable - Interface in java.lang
-
Declares methods to append characters or character sequences.
- appendParameterTypes(Class...) - Method in class java.lang.invoke.MethodType
- appendParameterTypes(List) - Method in class java.lang.invoke.MethodType
- APPLE - Enum constant in enum com.codename1.backend.security.oauth2.client.CommonOAuth2Provider
-
Sign in with Apple.
- AppleClientSecret - Class in com.codename1.backend.security.oauth2.client
-
The client secret of Sign in with Apple, which is not a text Apple issues but a token this server signs: an ES256 JWT naming the team, the client and Apple, signed with the
.p8key downloaded from the developer account. - AppleClientSecret(String, String, String) - Constructor for class com.codename1.backend.security.oauth2.client.AppleClientSecret
- APPLICATION_FORM_URLENCODED - Static variable in class com.codename1.backend.test.MediaType
- APPLICATION_FORM_URLENCODED_VALUE - Static variable in class com.codename1.backend.test.MediaType
- APPLICATION_JSON - Static variable in class com.codename1.backend.test.MediaType
- APPLICATION_JSON_VALUE - Static variable in class com.codename1.backend.test.MediaType
- APPLICATION_OCTET_STREAM - Static variable in class com.codename1.backend.test.MediaType
- APPLICATION_OCTET_STREAM_VALUE - Static variable in class com.codename1.backend.test.MediaType
- APPLICATION_XML - Static variable in class com.codename1.backend.test.MediaType
- APPLICATION_XML_VALUE - Static variable in class com.codename1.backend.test.MediaType
- apply(T) - Method in interface java.util.function.Function
- apply(T, T) - Method in interface java.util.function.BinaryOperator
- apply(T, U) - Method in interface java.util.function.BiFunction
- applyPattern(String) - Method in class java.text.SimpleDateFormat
-
Apply a new pattern.
- APRIL - Static variable in class java.util.Calendar
-
Value of the MONTH field indicating the fourth month of the year.
- ArithmeticException - Exception Class in java.lang
-
Thrown when an exceptional arithmetic condition has occurred.
- ArithmeticException() - Constructor for exception class java.lang.ArithmeticException
-
Constructs an ArithmeticException with no detail message.
- ArithmeticException(String) - Constructor for exception class java.lang.ArithmeticException
-
Constructs an ArithmeticException with the specified detail message.
- Array - Class in java.lang.reflect
-
Added this for Kotlin
- Array() - Constructor for class java.lang.reflect.Array
- arraycopy(Object, int, Object, int, int) - Static method in class java.lang.System
-
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array.
- ArrayDeque<E> - Class in java.util
-
An implementation of Deque, backed by an array.
- ArrayDeque() - Constructor for class java.util.ArrayDeque
-
Constructs a new empty instance of ArrayDeque big enough for 16 elements.
- ArrayDeque(int) - Constructor for class java.util.ArrayDeque
-
Constructs a new empty instance of ArrayDeque big enough for specified number of elements.
- ArrayDeque(Collection) - Constructor for class java.util.ArrayDeque
-
Constructs a new instance of ArrayDeque containing the elements of the specified collection, with the order returned by the collection's iterator.
- arrayElementGetter(Class) - Static method in class java.lang.invoke.MethodHandles
- arrayElementSetter(Class) - Static method in class java.lang.invoke.MethodHandles
- ArrayIndexOutOfBoundsException - Exception Class in java.lang
-
Thrown to indicate that an array has been accessed with an illegal index.
- ArrayIndexOutOfBoundsException() - Constructor for exception class java.lang.ArrayIndexOutOfBoundsException
-
Constructs an ArrayIndexOutOfBoundsException with no detail message.
- ArrayIndexOutOfBoundsException(int) - Constructor for exception class java.lang.ArrayIndexOutOfBoundsException
-
Constructs a new ArrayIndexOutOfBoundsException class with an argument indicating the illegal index.
- ArrayIndexOutOfBoundsException(String) - Constructor for exception class java.lang.ArrayIndexOutOfBoundsException
-
Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.
- ArrayList<E> - Class in java.util
-
ArrayList is an implementation of
List, backed by an array. - ArrayList() - Constructor for class java.util.ArrayList
-
Constructs a new instance of
ArrayListwith ten capacity. - ArrayList(int) - Constructor for class java.util.ArrayList
-
Constructs a new instance of
ArrayListwith the specified capacity. - ArrayList(Collection) - Constructor for class java.util.ArrayList
-
Constructs a new instance of
ArrayListcontaining the elements of the specified collection. - Arrays - Class in java.util
-
Arrayscontains static methods which operate on arrays. - ArrayStoreException - Exception Class in java.lang
-
Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
- ArrayStoreException() - Constructor for exception class java.lang.ArrayStoreException
-
Constructs an ArrayStoreException with no detail message.
- ArrayStoreException(String) - Constructor for exception class java.lang.ArrayStoreException
-
Constructs an ArrayStoreException with the specified detail message.
- asCollector(Class, int) - Method in class java.lang.invoke.MethodHandle
- asFixedArity() - Method in class java.lang.invoke.MethodHandle
- asHeader() - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.CsrfRequestPostProcessor
-
Sends the token in the
X-CSRF-TOKENheader instead of a parameter. - asLifoQueue(Deque) - Static method in class java.util.Collections
-
Answers a LIFO Queue as a view of a Deque.
- asList(T...) - Static method in class java.util.Arrays
-
Returns a
Listof the objects in the specified array. - AssertionError - Exception Class in java.lang
- AssertionError() - Constructor for exception class java.lang.AssertionError
- AssertionError(boolean) - Constructor for exception class java.lang.AssertionError
- AssertionError(char) - Constructor for exception class java.lang.AssertionError
- AssertionError(double) - Constructor for exception class java.lang.AssertionError
- AssertionError(float) - Constructor for exception class java.lang.AssertionError
- AssertionError(int) - Constructor for exception class java.lang.AssertionError
- AssertionError(long) - Constructor for exception class java.lang.AssertionError
- AssertionError(Object) - Constructor for exception class java.lang.AssertionError
- AssertionError(String) - Constructor for exception class java.lang.AssertionError
- AssertionError(String, Throwable) - Constructor for exception class java.lang.AssertionError
- assignedKeyColumn(int) - Method in class com.codename1.backend.sql.Dialect
-
The declaration of a primary key column whose value the APPLICATION assigns -- a UUID, a key issued by another service.
- asSpreader(Class, int) - Method in class java.lang.invoke.MethodHandle
- asSqlite() - Method in class com.codename1.backend.Database
-
The underlying SQLite handle, or null when this is a server engine.
- asSubclass(Class) - Method in class java.lang.Class
-
Replacement for Class.asSubclass(Class).
- asType(MethodType) - Method in class java.lang.invoke.MethodHandle
- asVarargsCollector(Class) - Method in class java.lang.invoke.MethodHandle
- Async - Annotation Type in com.codename1.backend.annotations
-
Runs this method on another thread; the caller returns at once.
- AsyncResult<V> - Class in com.codename1.backend
-
A
Futurethat is already complete: what an@Asyncmethod returns from its body. - AtomicBoolean - Class in java.util.concurrent.atomic
-
CLDC11 subset stub.
- AtomicBoolean() - Constructor for class java.util.concurrent.atomic.AtomicBoolean
- AtomicBoolean(boolean) - Constructor for class java.util.concurrent.atomic.AtomicBoolean
- AtomicInteger - Class in java.util.concurrent.atomic
-
CLDC11 subset stub.
- AtomicInteger() - Constructor for class java.util.concurrent.atomic.AtomicInteger
- AtomicInteger(int) - Constructor for class java.util.concurrent.atomic.AtomicInteger
- AtomicLong - Class in java.util.concurrent.atomic
-
CLDC11 subset stub.
- AtomicLong() - Constructor for class java.util.concurrent.atomic.AtomicLong
- AtomicLong(long) - Constructor for class java.util.concurrent.atomic.AtomicLong
- AtomicReference<V> - Class in java.util.concurrent.atomic
-
CLDC11 subset stub.
- AtomicReference() - Constructor for class java.util.concurrent.atomic.AtomicReference
- AtomicReference(V) - Constructor for class java.util.concurrent.atomic.AtomicReference
- atStartOfDay(ZoneId) - Method in class java.time.LocalDate
- attemptLimiter(RateLimiter) - Method in class com.codename1.backend.security.MfaConfigurer
-
What counts attempts, in place of the application's
RateLimiterbean and of the count kept in this process; null to count none. - attemptLimiter(RateLimiter, RateLimiter) - Method in class com.codename1.backend.security.MfaConfigurer
-
What counts attempts, as two limits:
perUsera user's wrong one-time codes from everywhere, andperAddresstheir wrong codes at one client network -- one-time codes and recovery codes apart. - ATTEMPTS - Static variable in class com.codename1.backend.security.MfaConfigurer
-
The setting that holds how many wrong one-time codes a user has in one window, from everywhere together; 5 unless set.
- ATTEMPTS_PER_ADDRESS - Static variable in class com.codename1.backend.security.MfaConfigurer
-
The setting that holds how many of those one client network may use up, and how many wrong recovery codes it may try for the user; half of
MfaConfigurer.ATTEMPTS, rounded up, unless set. - ATTEMPTS_WINDOW - Static variable in class com.codename1.backend.security.MfaConfigurer
-
The setting that holds the length of that window in seconds; 300 unless set.
- ATTESTATION_INVALID - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The attestation statement does not verify.
- atTime(int, int) - Method in class java.time.LocalDate
- atTime(int, int, int) - Method in class java.time.LocalDate
- atTime(int, int, int, int) - Method in class java.time.LocalDate
- atTime(LocalTime) - Method in class java.time.LocalDate
- attribute(ByteSink, String, Object) - Static method in class com.codename1.backend.mvc.Html
- AttributeConverter<T,
S> - Interface in com.codename1.orm.session -
Reflection-free conversion between a domain value and one SQL scalar.
- ATTRIBUTES_EXCLUDE - Static variable in class com.codename1.backend.otel.OtlpTracer
- attributeValue(Object) - Static method in class com.codename1.backend.mvc.Html
-
Snapshot an attribute's textual value before it is checked and rendered.
- AUD - Static variable in class com.codename1.backend.security.oauth2.jwt.JwtClaimNames
-
Whom the token is for.
- audience(String...) - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet.Builder
-
aud: one audience is written as text, several as a list. - audience(List) - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet.Builder
-
aud. - AUDIENCE - Static variable in class com.codename1.backend.security.oauth2.client.AppleClientSecret
-
Who the token is for.
- AUDIENCE - Static variable in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
-
The setting that holds the default audience; see
AuthorizationServerSettings.Builder.defaultAudience. - AUDIENCES - Static variable in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
-
The audiences a token must name one of, separated by commas.
- AUGUST - Static variable in class java.util.Calendar
-
Value of the MONTH field indicating the eighth month of the year.
- AUTH_TIME - Static variable in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationServer
-
Session attribute holding the last completed credential check, in epoch seconds.
- authenticate(Authentication) - Method in interface com.codename1.backend.security.AuthenticationManager
-
The accepted authentication, with its authorities.
- authenticate(Authentication) - Method in interface com.codename1.backend.security.AuthenticationProvider
-
The accepted authentication, or null when this provider cannot decide and the next one should be asked.
- authenticate(Authentication) - Method in class com.codename1.backend.security.DaoAuthenticationProvider
- authenticate(Authentication) - Method in class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationProvider
- authenticate(Authentication) - Method in class com.codename1.backend.security.ProviderManager
- authenticate(PublicKeyCredentialRequestOptions, Map) - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
Verifies the answer to
options, and records the sign-in on the credential. - authenticated() - Static method in class com.codename1.backend.security.AuthenticatedAuthorizationManager
-
The caller signed in: any authentication but the anonymous one.
- authenticated() - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
-
Anyone who signed in.
- authenticated(Object, Object, Collection) - Static method in class com.codename1.backend.security.UsernamePasswordAuthenticationToken
-
A token that has been checked.
- AuthenticatedAuthorizationManager<T> - Class in com.codename1.backend.security
-
Grants access by whether the caller signed in at all.
- authentication(Authentication) - Static method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors
-
The request is from this authentication.
- Authentication - Interface in com.codename1.backend.security
-
Who a request is from: a credential presented for checking, or -- once an
AuthenticationManagerhas accepted it -- the principal and what it may do. - authenticationCodec(AuthenticationCodec) - Method in class com.codename1.backend.security.HttpSecurity
-
Keeps one more kind of
Authenticationin the session as itself; seeAuthenticationCodec. - AuthenticationCodec - Interface in com.codename1.backend.security
-
Keeps one kind of
Authenticationin the HTTP session, and makes it again on the next request. - authenticationEntryPoint(AuthenticationEntryPoint) - Method in class com.codename1.backend.security.ApiKeyConfigurer
-
What answers a request whose key is refused, and -- when this is the chain's only way in -- one that sent none.
- authenticationEntryPoint(AuthenticationEntryPoint) - Method in class com.codename1.backend.security.ExceptionHandlingConfigurer
-
The entry point for every request under the chain.
- authenticationEntryPoint(AuthenticationEntryPoint) - Method in class com.codename1.backend.security.HttpBasicConfigurer
-
What answers a request whose credentials are refused, and -- when this is the chain's only way in -- one that sent none.
- authenticationEntryPoint(AuthenticationEntryPoint) - Method in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
-
What answers a request whose token is missing or refused.
- AuthenticationEntryPoint - Interface in com.codename1.backend.security
-
Answers a request that has to authenticate first: with a challenge, or a redirect to where the user signs in.
- AuthenticationException - Exception Class in com.codename1.backend.security
-
The request could not be authenticated.
- AuthenticationException(String) - Constructor for exception class com.codename1.backend.security.AuthenticationException
- AuthenticationException(String, Throwable) - Constructor for exception class com.codename1.backend.security.AuthenticationException
- AuthenticationFailureHandler - Interface in com.codename1.backend.security
-
Answers a sign-in that was refused.
- authenticationManager(AuthenticationManager) - Method in class com.codename1.backend.security.HttpSecurity
-
The
AuthenticationManagerthe chain's sign-in filters use, in place of what the application's beans would give. - authenticationManager(AuthenticationManager) - Method in class com.codename1.backend.security.OAuth2ResourceServerConfigurer.JwtConfigurer
-
What authenticates a token, in place of everything else here.
- AuthenticationManager - Interface in com.codename1.backend.security
-
Decides whether a presented
Authenticationis genuine. - authenticationManagerResolver(AuthenticationManagerResolver) - Method in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
-
Chooses what authenticates each request's token, in place of
OAuth2ResourceServerConfigurer.jwt: aJwtIssuerAuthenticationManagerResolverfor a server that trusts several issuers. - AuthenticationManagerResolver - Interface in com.codename1.backend.security
-
Chooses what authenticates a request, by the request: a server with several tenants, or tokens from several issuers.
- AuthenticationPrincipal - Annotation Type in com.codename1.backend.annotations
-
Binds a handler parameter to the principal of whoever the request is from: the
UserDetailsthe user store returned at sign-in, usually. - authenticationProvider(AuthenticationProvider) - Method in class com.codename1.backend.security.HttpSecurity
-
One more provider for this chain, asked before those found among the application's beans.
- AuthenticationProvider - Interface in com.codename1.backend.security
-
One way of checking an
Authentication: aProviderManagerasks each of its providers that supports the token's class. - AuthenticationServiceException - Exception Class in com.codename1.backend.security
-
Authentication could not be attempted at all: the user store failed, or the layer is misconfigured.
- AuthenticationServiceException(String) - Constructor for exception class com.codename1.backend.security.AuthenticationServiceException
- AuthenticationServiceException(String, Throwable) - Constructor for exception class com.codename1.backend.security.AuthenticationServiceException
- AuthenticationSuccessHandler - Interface in com.codename1.backend.security
-
Answers the request that signed a user in.
- authenticatorAttachment(String) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
platformfor the device's own authenticator,cross-platformfor a security key, null -- the default -- for either. - authorities() - Element in annotation type com.codename1.backend.test.WithMockUser
-
The user's authorities, as they are written, in place of
WithMockUser.roles(). - authorities(String...) - Method in class com.codename1.backend.security.AnonymousConfigurer
- authorities(String...) - Method in class com.codename1.backend.security.core.userdetails.User.UserBuilder
-
Grants authorities by name.
- authorities(String...) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.JwtRequestPostProcessor
-
What the request is granted, as written, whatever the claims say.
- authorities(String...) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor
-
The user's authorities, as they are written, in place of what was granted before.
- authorities(Collection) - Method in class com.codename1.backend.security.core.userdetails.User.UserBuilder
-
Grants authorities.
- AuthorityAuthorizationDecision - Class in com.codename1.backend.security
-
A decision that turned on what the caller is granted, with the authorities any one of which would have done.
- AuthorityAuthorizationDecision(boolean, String[]) - Constructor for class com.codename1.backend.security.AuthorityAuthorizationDecision
- AuthorityAuthorizationManager<T> - Class in com.codename1.backend.security
-
Grants access to an authenticated caller holding one of a set of authorities.
- authorization(Credentials, String, String, String, String, Map, Map, String, String) - Static method in class com.codename1.backend.aws.Aws
-
The Authorization header value for one request.
- AUTHORIZATION_CODE - Static variable in class com.codename1.backend.security.oauth2.core.AuthorizationGrantType
- AUTHORIZATION_PENDING - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
RFC 8628: the user has not answered yet; ask again after the interval.
- AUTHORIZATION_REQUEST_NOT_FOUND - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
No request for authorization was waiting for this answer.
- authorizationCodeTimeToLive(long) - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings.Builder
- AuthorizationDecision - Class in com.codename1.backend.security
-
Granted, or not.
- AuthorizationDecision(boolean) - Constructor for class com.codename1.backend.security.AuthorizationDecision
- authorizationEndpoint(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings.Builder
- authorizationEndpointBaseUri(String) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
The path a sign-in starts at, before the registration's id;
/oauth2/authorizationunless set. - AuthorizationFilter - Class in com.codename1.backend.security
-
Puts the request to the chain's authorization rules, and throws
AccessDeniedExceptionwhen they refuse it. - authorizationGrantType(AuthorizationGrantType) - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient.Builder
- AuthorizationGrantType - Class in com.codename1.backend.security.oauth2.core
-
How a client obtains a token: the
grant_typeof RFC 6749 and RFC 8628. - AuthorizationGrantType(String) - Constructor for class com.codename1.backend.security.oauth2.core.AuthorizationGrantType
- AuthorizationManager<T> - Interface in com.codename1.backend.security
-
Decides whether an authentication may reach something: for a request rule, a
RequestAuthorizationContext. - authorizationRequestRepository(AuthorizationRequestRepository) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
Where a request waits while the user is at the provider, for every provider.
- AuthorizationRequestRepository - Interface in com.codename1.backend.security.oauth2.client
-
Where an
OAuth2AuthorizationRequestwaits while the user is at the identity provider. - authorizationRequestResolver(OAuth2AuthorizationRequestResolver) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
What decides that a request starts a sign-in and what is asked of the provider; see
DefaultOAuth2AuthorizationRequestResolver. - authorizationResponseIssParameterSupported(boolean) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- authorizationServer(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
Makes this server an OAuth2 authorization server and OpenID Connect provider: the one that issues tokens; see
AuthorizationServerConfigurer. - AuthorizationServerConfigurer - Class in com.codename1.backend.security
-
Makes the server an OAuth2 authorization server and OpenID Connect provider.
- AuthorizationServerKeys - Class in com.codename1.backend.security.oauth2.server.authorization
-
The keys an authorization server signs with.
- AuthorizationServerSettings - Class in com.codename1.backend.security.oauth2.server.authorization
-
Who the authorization server is and where its endpoints are.
- AuthorizationServerSettings.Builder - Class in com.codename1.backend.security.oauth2.server.authorization
-
Builds an
AuthorizationServerSettings. - authorizationService(OAuth2AuthorizationService) - Method in class com.codename1.backend.security.AuthorizationServerConfigurer
-
Where grants are kept, in place of the application's bean.
- authorizationUri(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- authorize(HttpServer.Request, Authentication) - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationServer
-
Answers the authorization endpoint for a browser whose user is
authentication. - authorizeHttpRequests(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
The authorization rules; see
AuthorizeHttpRequestsConfigurer. - AuthorizeHttpRequestsConfigurer - Class in com.codename1.backend.security
-
The authorization rules of a chain: which requests need what.
- AuthorizeHttpRequestsConfigurer.AuthorizationManagerRequestMatcherRegistry - Class in com.codename1.backend.security
-
Where rules are added: pick the requests, then say what they need.
- AuthorizeHttpRequestsConfigurer.AuthorizedUrl - Class in com.codename1.backend.security
-
What the chosen requests need.
- AUTO - Enum constant in enum com.codename1.backend.annotations.ThreadKind
-
A virtual thread when this build and this server run them, a platform thread otherwise.
- AutoCloseable - Interface in java.lang
- autoIncrement() - Element in annotation type com.codename1.annotations.Id
-
When true (the default) the database assigns the key and the generated dao reads it back into the field after an insert.
- autoLogin(HttpServer.Request) - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
- autoLogin(HttpServer.Request) - Method in interface com.codename1.backend.security.rememberme.RememberMeServices
-
Recognizes the user from the request's cookie.
- Autowired - Annotation Type in com.codename1.backend.annotations
-
Asks the build to inject this constructor, field or setter.
- available() - Method in class com.codename1.io.gzip.FilterInputStream
- available() - Method in class com.codename1.io.gzip.InflaterInputStream
- available() - Method in class java.io.ByteArrayInputStream
-
Returns the number of bytes that can be read from this input stream without blocking.
- available() - Method in class java.io.DataInputStream
-
Returns the number of bytes that can be read from this input stream without blocking.
- available() - Method in class java.io.InputStream
-
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
- availableProcessors() - Static method in class com.codename1.backend.ServerSocket
-
Cores available to this process.
- availIn - Variable in class com.codename1.io.gzip.ZStream
-
Deprecated.
- availOut - Variable in class com.codename1.io.gzip.ZStream
-
Deprecated.
- await(int[], int) - Method in class com.codename1.backend.Reactor
-
Blocks until something is ready, then fills readyFds and returns how many.
- awaitReadable(int, int) - Static method in class com.codename1.backend.ServerSocket
-
Waits for the socket to become readable, for at most timeoutMillis.
- awaitShutdownSignal() - Static method in class com.codename1.backend.Signals
-
Blocks until SIGINT or SIGTERM arrives.
- awaitTermination() - Method in class com.codename1.backend.Backend
-
Blocks until the server stops.
- awaitTermination() - Method in class com.codename1.backend.HttpServer
-
Blocks until the server has fully stopped, draining included.
- Aws - Class in com.codename1.backend.aws
-
AWS Signature Version 4, and the request plumbing every AWS service shares.
B
- Backend - Class in com.codename1.backend
-
A configured, running server: the twenty lines every main used to open with, written once.
- Backend.Builder - Class in com.codename1.backend
- Backend.Handlers - Interface in com.codename1.backend
-
Where the handlers are built, once the things they need exist.
- Backend.WebSocketEndpoints - Interface in com.codename1.backend
-
Where a server's websocket endpoints come from.
- BackendTest - Annotation Type in com.codename1.backend.test
-
Runs a test class against the application the build wired: what
@SpringBootTestdoes. - BackendTest.WebEnvironment - Enum in com.codename1.backend.test
-
How a
BackendTestreaches the application. - backlog(int) - Method in class com.codename1.backend.Backend.Builder
-
The listen backlog.
- BACKUP_STATE_INVALID - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The backup flags contradict each other, or what was recorded when the credential was registered.
- backupEligible(boolean) - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
- backupState(boolean) - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
- BAD_GATEWAY - Enum constant in enum com.codename1.backend.test.HttpStatus
- BAD_REQUEST - Enum constant in enum com.codename1.backend.test.HttpStatus
- BadCredentialsException - Exception Class in com.codename1.backend.security
-
The credentials are wrong: an unknown user or a password that does not match.
- BadCredentialsException(String) - Constructor for exception class com.codename1.backend.security.BadCredentialsException
- BadCredentialsException(String, Throwable) - Constructor for exception class com.codename1.backend.security.BadCredentialsException
- BadJwtException - Exception Class in com.codename1.backend.security.oauth2.jwt
-
The token itself is not acceptable: it is malformed, its signature does not verify, it names an algorithm or a key the decoder does not accept, or it fails a validator.
- BadJwtException(String) - Constructor for exception class com.codename1.backend.security.oauth2.jwt.BadJwtException
- BadJwtException(String, Throwable) - Constructor for exception class com.codename1.backend.security.oauth2.jwt.BadJwtException
- badModel(String) - Static method in class com.codename1.backend.mvc.Html
- Base32 - Class in com.codename1.security
-
Base32 encoder/decoder per RFC 4648.
- Base64 - Class in com.codename1.backend
-
Standard base64 (RFC 4648 section 4), with padding.
- Base64Url - Class in com.codename1.backend
-
Base64url without padding, as JSON Web Tokens use it.
- baseline() - Method in class com.codename1.migration.Migrator
-
Marks an existing database as already being at the baseline version.
- BASELINE - Enum constant in enum com.codename1.migration.MigrationState
-
The baseline marker: everything up to this version is taken as already present.
- baselineDescription(String) - Method in class com.codename1.migration.Migrator
-
The description written on the baseline row.
- baselineOnMigrate(boolean) - Method in class com.codename1.migration.Migrator
-
Adopts a database that already has tables and no history, by recording a baseline before migrating instead of refusing.
- baselineVersion(String) - Method in class com.codename1.migration.Migrator
-
The version an adopted database is taken to be at; migrations at or below it never run.
- BaseStream<T,
S> - Interface in java.util.stream - BasicAuthenticationEntryPoint - Class in com.codename1.backend.security
-
Answers 401 with the challenge that makes a client send HTTP Basic credentials:
WWW-Authenticate: Basic realm="Realm". - BasicAuthenticationEntryPoint() - Constructor for class com.codename1.backend.security.BasicAuthenticationEntryPoint
- BasicAuthenticationFilter - Class in com.codename1.backend.security
-
Authenticates a request from its
Authorization: Basicheader. - BATCH_SIZE - Static variable in class com.codename1.backend.otel.OtlpTracer
- BCryptPasswordEncoder - Class in com.codename1.backend.security.crypto
-
bcrypt, as OpenBSD defined it and Spring's
BCryptPasswordEncoderwrites it:$2a$,$2b$or$2y$, a cost, a 16 byte salt and a 23 byte hash. - BCryptPasswordEncoder() - Constructor for class com.codename1.backend.security.crypto.BCryptPasswordEncoder
-
An encoder of cost
BCryptPasswordEncoder.DEFAULT_STRENGTHwriting$2a$. - BCryptPasswordEncoder(char, int) - Constructor for class com.codename1.backend.security.crypto.BCryptPasswordEncoder
- BCryptPasswordEncoder(int) - Constructor for class com.codename1.backend.security.crypto.BCryptPasswordEncoder
- Bean - Annotation Type in com.codename1.backend.annotations
-
A method of a
Configurationclass whose return value is a bean. - bearer(String) - Static method in class com.codename1.backend.Jwt
-
Pulls the token out of an "Authorization: Bearer ..." header.
- BearerTokenAccessDeniedHandler - Class in com.codename1.backend.security.oauth2.server.resource
-
Answers a request whose token is good and does not grant what the request needs, as RFC 6750 3.1 says to:
- BearerTokenAccessDeniedHandler() - Constructor for class com.codename1.backend.security.oauth2.server.resource.BearerTokenAccessDeniedHandler
- BearerTokenAuthenticationEntryPoint - Class in com.codename1.backend.security.oauth2.server.resource
-
Answers a request that needs a bearer token and has none, or has a bad one, as RFC 6750 3 says to:
- BearerTokenAuthenticationEntryPoint() - Constructor for class com.codename1.backend.security.oauth2.server.resource.BearerTokenAuthenticationEntryPoint
- BearerTokenAuthenticationFilter - Class in com.codename1.backend.security
-
Authenticates a request from its bearer token.
- BearerTokenAuthenticationToken - Class in com.codename1.backend.security.oauth2.server.resource
-
A bearer token as it came off a request: nobody yet, until something that can verify it says who.
- BearerTokenAuthenticationToken(String) - Constructor for class com.codename1.backend.security.oauth2.server.resource.BearerTokenAuthenticationToken
- BearerTokenError - Class in com.codename1.backend.security.oauth2.server.resource
-
An error a request with a bearer token is answered with (RFC 6750 3.1): the code, the status it is sent under, and the scope it would have needed.
- BearerTokenError(String, int, String, String) - Constructor for class com.codename1.backend.security.oauth2.server.resource.BearerTokenError
- BearerTokenError(String, int, String, String, String) - Constructor for class com.codename1.backend.security.oauth2.server.resource.BearerTokenError
- BearerTokenErrors - Class in com.codename1.backend.security.oauth2.server.resource
-
The three errors of RFC 6750 3.1.
- bearerTokenResolver(BearerTokenResolver) - Method in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
-
Where the token is looked for in a request; the
Authorizationheader unless set. - BearerTokenResolver - Interface in com.codename1.backend.security.oauth2.server.resource
-
Finds the bearer token in a request.
- before(Object) - Method in class java.util.Calendar
-
Compares the time field records.
- begin() - Method in class com.codename1.backend.sql.MySql
-
Opens a transaction.
- beginEnrollment(String) - Method in class com.codename1.backend.security.mfa.TotpService
-
Makes a new secret for
usernameand returns what their app needs. - beginExclusiveTransaction() - Method in class com.codename1.backend.Database
-
Begins a transaction reserved to the calling thread until commit, rollback, or close.
- beginReadOnly() - Method in class com.codename1.backend.sql.MySql
-
Opens a transaction that refuses writes.
- beginTransaction() - Method in class com.codename1.backend.Database
-
Begins a transaction reserved to the calling thread until commit, rollback, or close.
- beginTransaction() - Method in interface com.codename1.orm.session.Session
-
Starts a transaction for this session.
- beginTransaction(boolean) - Method in class com.codename1.backend.Database
-
Begins a transaction like
Database.beginTransaction(), telling the engine when it will only read. - BELOW_BASELINE - Enum constant in enum com.codename1.migration.MigrationState
-
At or below the baseline, so it is never applied.
- BENEATH_UNSUPPORTED - Static variable in class com.codename1.backend.FileIo
-
openBeneath cannot answer here; fall back to open plus a resolved-path check.
- BiConsumer<T,
U> - Interface in java.util.function - BiFunction<T,
U, - Interface in java.util.functionR> - BIGINT - Static variable in class com.codename1.backend.sql.Dialect
-
A 64-bit integer.
- BinaryOperator<T> - Interface in java.util.function
- binarySearch(byte[], byte) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in the specified ascending sorted array.
- binarySearch(byte[], int, int, byte) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in a part of the specified sorted array.
- binarySearch(char[], char) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in the specified sorted array.
- binarySearch(char[], int, int, char) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in a part of the specified sorted array.
- binarySearch(double[], double) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in the specified sorted array.
- binarySearch(double[], int, int, double) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in a part of the specified sorted array.
- binarySearch(float[], float) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in the specified sorted array.
- binarySearch(float[], int, int, float) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in a part of the specified sorted array.
- binarySearch(int[], int) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in the specified sorted array.
- binarySearch(int[], int, int, int) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in a part of the specified sorted array.
- binarySearch(long[], int, int, long) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in a part of the specified sorted array.
- binarySearch(long[], long) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in the specified sorted array.
- binarySearch(short[], int, int, short) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in a part of the specified sorted array.
- binarySearch(short[], short) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in the specified sorted array.
- binarySearch(Object[], int, int, Object) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in a part of the specified sorted array.
- binarySearch(Object[], Object) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in the specified sorted array.
- binarySearch(List, T) - Static method in class java.util.Collections
-
Performs a binary search for the specified element in the specified sorted list.
- binarySearch(List, T, Comparator) - Static method in class java.util.Collections
-
Performs a binary search for the specified element in the specified sorted list using the specified comparator.
- binarySearch(T[], int, int, T, Comparator) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in a part of the specified sorted array using the Comparator to compare elements.
- binarySearch(T[], T, Comparator) - Static method in class java.util.Arrays
-
Performs a binary search for the specified element in the specified sorted array using the Comparator to compare elements.
- bind(Object, String, MethodType) - Method in class java.lang.invoke.MethodHandles.Lookup
- bind(String, int) - Method in class com.codename1.backend.sql.Dialect
-
sqlwritten in the portable form, rendered for this engine. - bind(String, int, int) - Static method in class com.codename1.backend.ServerSocket
-
host: null or "0.0.0.0" to listen on every interface
- BindingResult - Class in com.codename1.backend.mvc
-
Conversion errors, submitted values, and application validation for one form.
- BindingResult() - Constructor for class com.codename1.backend.mvc.BindingResult
- bindTo(Object) - Method in class java.lang.invoke.MethodHandle
- BitSet - Class in java.util
-
The
BitSetclass implements a bit field. - BitSet() - Constructor for class java.util.BitSet
-
Create a new
BitSetwith size equal to 64 bits. - BitSet(int) - Constructor for class java.util.BitSet
-
Create a new
BitSetwith size equal to nbits. - BLOB - Static variable in class com.codename1.backend.sql.Dialect
-
Arbitrary bytes.
- bool(String) - Static method in class com.codename1.backend.mvc.FormValues
- Boolean - Class in java.lang
-
The Boolean class wraps a value of the primitive type boolean in an object.
- Boolean(boolean) - Constructor for class java.lang.Boolean
-
Allocates a Boolean object representing the value argument.
- BOOLEAN - Static variable in class com.codename1.backend.sql.Dialect
-
True or false, stored as 0 or 1.
- booleanAttribute(ByteSink, String, Object) - Static method in class com.codename1.backend.mvc.Html
- booleanValue() - Method in class java.lang.Boolean
-
Returns the value of this Boolean object as a boolean primitive.
- borrow() - Method in class com.codename1.backend.DataSource
-
Takes a connection, blocking until one is free.
- borrow() - Method in class com.codename1.backend.DbPool
-
Takes a connection, blocking until one is free.
- buf - Variable in class com.codename1.io.gzip.InflaterInputStream
- buf - Variable in class java.io.ByteArrayInputStream
-
An array of bytes that was provided by the creator of the stream.
- buf - Variable in class java.io.ByteArrayOutputStream
-
The buffer where data is stored.
- buffer - Variable in class com.codename1.io.gzip.DeflaterOutputStream
- build() - Method in class com.codename1.backend.security.core.userdetails.User.UserBuilder
- build() - Method in class com.codename1.backend.security.HttpSecurity
-
The chain.
- build() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- build() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest.Builder
- build() - Method in class com.codename1.backend.security.oauth2.jwt.DefaultJwtDecoder.Builder
- build() - Method in class com.codename1.backend.security.oauth2.jwt.JwsHeader.Builder
- build() - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet.Builder
- build() - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings.Builder
- build() - Method in class com.codename1.backend.security.oauth2.server.authorization.ClientSettings.Builder
- build() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient.Builder
- build() - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings.Builder
- build() - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
- build() - Method in class com.codename1.migration.MigrationSet.Builder
-
Builds the set.
- builder() - Static method in class com.codename1.backend.Backend
-
A builder whose defaults come from the configuration this process sees.
- builder() - Static method in class com.codename1.backend.security.core.userdetails.User
-
A builder with nothing set.
- builder() - Static method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet
- builder() - Static method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
- builder() - Static method in class com.codename1.backend.security.oauth2.server.authorization.ClientSettings
- builder() - Static method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings
- builder() - Static method in class com.codename1.backend.security.webauthn.CredentialRecord
- builder(Config) - Static method in class com.codename1.backend.Backend
-
A builder over a configuration the caller already loaded or built.
- builder(String) - Static method in class com.codename1.migration.MigrationSet
-
Starts a set.
- Byte - Class in java.lang
-
The Byte class is the standard wrapper for byte values.
- Byte(byte) - Constructor for class java.lang.Byte
-
Constructs a Byte object initialized to the specified byte value.
- ByteArrayInputStream - Class in java.io
-
A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
- ByteArrayInputStream(byte[]) - Constructor for class java.io.ByteArrayInputStream
-
Creates a ByteArrayInputStream so that it uses buf as its buffer array.
- ByteArrayInputStream(byte[], int, int) - Constructor for class java.io.ByteArrayInputStream
-
Creates ByteArrayInputStream that uses buf as its buffer array.
- ByteArrayOutputStream - Class in java.io
-
This class implements an output stream in which the data is written into a byte array.
- ByteArrayOutputStream() - Constructor for class java.io.ByteArrayOutputStream
-
Creates a new byte array output stream.
- ByteArrayOutputStream(int) - Constructor for class java.io.ByteArrayOutputStream
-
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.
- bytes() - Method in class com.codename1.backend.ByteSink
-
The backing array.
- bytes(byte[]) - Method in class com.codename1.backend.test.ContentResultMatchers
-
The body is exactly these bytes.
- bytes(ByteSink) - Static method in class com.codename1.backend.mvc.Html
- ByteSink - Class in com.codename1.backend
-
A growable byte buffer that callers reuse.
- ByteSink(int) - Constructor for class com.codename1.backend.ByteSink
- bytesTransferred - Variable in exception class java.io.InterruptedIOException
-
Reports how many bytes had been transferred as part of the I/O operation before it was interrupted.
- byteValue() - Method in class java.lang.Byte
-
Returns the value of this Byte as a byte.
- byteValue() - Method in class java.lang.Double
-
Returns the value of this Double as a byte (by casting to a byte).
- byteValue() - Method in class java.lang.Float
-
Returns the value of this Float as a byte (by casting to a byte).
- byteValue() - Method in class java.lang.Integer
-
Returns the value of this Integer as a byte.
- byteValue() - Method in class java.lang.Long
-
Returns the value of this Long as a byte value.
- byteValue() - Method in class java.lang.Number
C
- cacheControl(Customizer) - Method in class com.codename1.backend.security.HeadersConfigurer
-
The headers that keep a response out of caches.
- Calendar - Class in java.util
-
Calendar is an abstract base class for converting between a Date object and a set of integer fields such as YEAR, MONTH, DAY, HOUR, and so on.
- Calendar() - Constructor for class java.util.Calendar
-
Constructs a Calendar with the default time zone.
- CallSite - Class in java.lang.invoke
-
Deprecated
- CallSite() - Constructor for class java.lang.invoke.CallSite
- cancel() - Method in class java.util.Timer
- cancel() - Method in class java.util.TimerTask
- cancel(boolean) - Method in class com.codename1.backend.AsyncResult
- cancel(boolean) - Method in interface java.util.concurrent.Future
-
Stops the work if it has not started.
- CancellationException - Exception Class in java.util.concurrent
-
Thrown by
Future.get()when the work was cancelled before it ran. - CancellationException() - Constructor for exception class java.util.concurrent.CancellationException
-
An exception with no message.
- CancellationException(String) - Constructor for exception class java.util.concurrent.CancellationException
-
An exception with
message. - canonicalQuery(Map) - Static method in class com.codename1.backend.aws.Aws
-
Query parameters sorted by name, each name and value percent-encoded.
- capacity() - Method in class java.lang.StringBuffer
-
Returns the current capacity of the String buffer.
- capacity() - Method in class java.lang.StringBuilder
-
Returns the current capacity of the String builder.
- capacity() - Method in class java.util.Vector
-
Returns the number of elements this vector can hold without growing.
- capacityIncrement - Variable in class java.util.Vector
-
How many elements should be added to the vector when it is detected that it needs to grow to accommodate extra entries.
- cardinality() - Method in class java.util.BitSet
-
Returns the number of bits that are
truein thisBitSet. - cascade() - Element in annotation type com.codename1.annotations.db.ManyToMany
-
Chooses operations to propagate to related entities.
- cascade() - Element in annotation type com.codename1.annotations.db.ManyToOne
-
Chooses operations to propagate to related entities.
- cascade() - Element in annotation type com.codename1.annotations.db.OneToMany
-
Chooses operations to propagate to related entities.
- cascade() - Element in annotation type com.codename1.annotations.db.OneToOne
-
Chooses operations to propagate to related entities.
- CascadeType - Enum in com.codename1.annotations.db
-
Operations propagated from an entity to its related entities.
- CASE_INSENSITIVE_ORDER - Static variable in class java.lang.String
- cast(Object) - Method in class java.lang.Class
-
Replacement for Class.cast(Object).
- catchException(MethodHandle, Class, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
- ceil(double) - Static method in class java.lang.Math
-
Returns the smallest (closest to negative infinity) double value that is not less than the argument and is equal to a mathematical integer.
- ceiling(E) - Method in interface java.util.NavigableSet
-
Answers the smallest element bigger than or equal to the specified one, or null if no such element.
- ceiling(E) - Method in class java.util.TreeSet
-
Answers the smallest element bigger than or equal to the specified one, or null if no such element.
- ceilingEntry(K) - Method in interface java.util.NavigableMap
-
Answers an entry related with the smallest key greater than or equal to the specified key, or null if no such key.
- ceilingEntry(K) - Method in class java.util.TreeMap
-
Answers an entry related with the smallest key greater than or equal to the specified key, or null if no such key.
- ceilingKey(K) - Method in interface java.util.NavigableMap
-
Answers the smallest key greater than or equal to the specified key, or null if no such key.
- ceilingKey(K) - Method in class java.util.TreeMap
-
Answers the smallest key greater than or equal to the specified key, or null if no such key.
- CHALLENGE_EXPIRED - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The ceremony was started too long ago.
- CHALLENGE_MISMATCH - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The client signed another challenge than the one this session was given.
- challengeValiditySeconds(int) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
How long a ceremony's options wait for their answer; 300 seconds unless set.
- changeParameterType(int, Class) - Method in class java.lang.invoke.MethodType
- changePassword(String, String) - Method in class com.codename1.backend.security.core.userdetails.InMemoryUserDetailsManager
- changePassword(String, String) - Method in class com.codename1.backend.security.core.userdetails.JdbcUserDetailsManager
-
Sets the signed-in user's password to
newPassword, which is stored as given. - changePassword(String, String) - Method in interface com.codename1.backend.security.core.userdetails.UserDetailsManager
-
Changes the password of the user the calling thread is authenticated as.
- changeReturnType(Class) - Method in class java.lang.invoke.MethodType
- changeSessionId() - Method in class com.codename1.backend.HttpSession
-
Gives the session a new id, keeping its attributes, and sends the client the new cookie.
- changeSessionId() - Method in class com.codename1.backend.security.SessionManagementConfigurer.SessionFixationConfigurer
-
Gives the session a new id and keeps its attributes.
- character(String) - Static method in class com.codename1.backend.mvc.FormValues
- Character - Class in java.lang
-
The Character class wraps a value of the primitive type char in an object.
- Character(char) - Constructor for class java.lang.Character
-
Constructs a Character object and initializes it so that it represents the primitive value argument.
- characterEncoding(String) - Method in class com.codename1.backend.test.MockRequestBuilder
-
Accepted for familiarity; bodies are always UTF-8 here.
- charAt(int) - Method in interface java.lang.CharSequence
-
Returns the character at the specified index, with the first character having index zero.
- charAt(int) - Method in class java.lang.String
-
Returns the character at the specified index.
- charAt(int) - Method in class java.lang.StringBuffer
-
The specified character of the sequence currently represented by the string buffer, as indicated by the index argument, is returned.
- charAt(int) - Method in class java.lang.StringBuilder
-
The specified character of the sequence currently represented by the string builder, as indicated by the index argument, is returned.
- charCount(int) - Static method in class java.lang.Character
-
Calculates the number of
charvalues required to represent the Unicode code point. - CharSequence - Interface in java.lang
-
This interface represents an ordered set of characters and defines the methods to probe them.
- Charset - Class in java.nio.charset
-
Added this for Kotlin
- Charset(String, String[]) - Constructor for class java.nio.charset.Charset
- charValue() - Method in class java.lang.Character
-
Returns the value of this Character object.
- check(Supplier, T) - Method in class com.codename1.backend.security.AuthenticatedAuthorizationManager
- check(Supplier, T) - Method in class com.codename1.backend.security.AuthorityAuthorizationManager
- check(Supplier, T) - Method in interface com.codename1.backend.security.AuthorizationManager
-
The decision; null abstains, which a request rule reads as granted.
- checked(Object, Object) - Static method in class com.codename1.backend.mvc.Html
- checkedCollection(Collection, Class) - Static method in class java.util.Collections
-
Returns a dynamically typesafe view of the specified collection.
- checkError() - Method in class java.io.PrintStream
-
Flush the stream and check its error state.
- checkHeaderLines(List) - Static method in class com.codename1.backend.Tracing
-
Applies the rules
Webenforces on request header lines to lines an exporter will send, so a tracer can refuse a bad configuration when it is opened. - checkIdentifier(String) - Static method in class com.codename1.backend.sql.Dialect
-
The name, if it is a plain SQL identifier: an ASCII letter or underscore, then letters, digits and underscores.
- checkPrefix(String) - Static method in class com.codename1.backend.security.apikey.ApiKeyGenerator
-
Refuses a prefix that is empty or holds anything but letters, digits and underscores.
- claim(String, Object) - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet.Builder
-
Any claim: text, a number, a boolean, or a List or Map of those.
- claim(String, Object) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.JwtRequestPostProcessor
-
One claim of the token; null removes it.
- Class<T> - Class in java.lang
-
Instances of the class Class represent classes and interfaces in a running Java application.
- Class() - Constructor for class java.lang.Class
- CLASS - Enum constant in enum java.lang.annotation.RetentionPolicy
- ClassCastException - Exception Class in java.lang
-
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
- ClassCastException() - Constructor for exception class java.lang.ClassCastException
-
Constructs a ClassCastException with no detail message.
- ClassCastException(String) - Constructor for exception class java.lang.ClassCastException
-
Constructs a ClassCastException with the specified detail message.
- classes() - Element in annotation type com.codename1.backend.test.BackendTest
-
TestConfigurationclasses to add. - ClassLoader - Class in java.lang
- ClassLoader() - Constructor for class java.lang.ClassLoader
- ClassLoader(ClassLoader) - Constructor for class java.lang.ClassLoader
- ClassNotFoundException - Exception Class in java.lang
-
Thrown when an application tries to load in a class through its string name using the forName method in class Class but no definition for the class with the specified name could be found.
- ClassNotFoundException() - Constructor for exception class java.lang.ClassNotFoundException
-
Constructs a ClassNotFoundException with no detail message.
- ClassNotFoundException(String) - Constructor for exception class java.lang.ClassNotFoundException
-
Constructs a ClassNotFoundException with the specified detail message.
- clean() - Method in class com.codename1.migration.Migrator
-
Drops every table and view in the database, the history included.
- CLEAN_DISABLED - Static variable in exception class com.codename1.migration.MigrationException
-
Migrator.clean()was called while clean is disabled. - cleanDisabled(boolean) - Method in class com.codename1.migration.Migrator
-
Whether
Migrator.clean()is refused. - clear() - Method in interface com.codename1.orm.session.Session
-
Detaches every entity and discards all unflushed changes.
- clear() - Method in class java.lang.ref.Reference
-
Clears this reference object.
- clear() - Method in class java.util.AbstractCollection
-
Removes all elements from this
Collection, leaving it empty (optional). - clear() - Method in class java.util.AbstractList
-
Removes all elements from this list, leaving it empty.
- clear() - Method in class java.util.AbstractMap
-
Removes all elements from this map, leaving it empty.
- clear() - Method in class java.util.AbstractQueue
-
Removes all elements of the queue, leaving it empty.
- clear() - Method in class java.util.ArrayDeque
-
Empty the deque.
- clear() - Method in class java.util.ArrayList
-
Removes all elements from this
ArrayList, leaving it empty. - clear() - Method in class java.util.BitSet
-
Clears all the bits in this
BitSet. - clear() - Method in interface java.util.Collection
-
Removes all elements from this
Collection, leaving it empty (optional). - clear() - Method in class java.util.HashMap
-
Removes all mappings from this hash map, leaving it empty.
- clear() - Method in class java.util.HashSet
-
Removes all elements from this
HashSet, leaving it empty. - clear() - Method in class java.util.Hashtable
-
Removes all key/value pairs from this
Hashtable, leaving the size zero and the capacity unchanged. - clear() - Method in class java.util.IdentityHashMap
-
Removes all elements from this map, leaving it empty.
- clear() - Method in class java.util.LinkedHashMap
-
Removes all elements from this map, leaving it empty.
- clear() - Method in class java.util.LinkedList
-
Removes all elements from this
LinkedList, leaving it empty. - clear() - Method in interface java.util.List
-
Removes all elements from this
List, leaving it empty. - clear() - Method in interface java.util.Map
-
Removes all elements from this
Map, leaving it empty. - clear() - Method in class java.util.PriorityQueue
-
Removes all the elements of the priority queue.
- clear() - Method in interface java.util.Set
-
Removes all elements from this set, leaving it empty.
- clear() - Method in class java.util.TreeMap
-
Removes all mappings from this TreeMap, leaving it empty.
- clear() - Method in class java.util.TreeSet
-
Removes all elements from this
TreeSet, leaving it empty. - clear() - Method in class java.util.Vector
-
Removes all elements from this vector, leaving it empty.
- clear(int) - Method in class java.util.BitSet
-
Clears the bit at index
pos. - clear(int, int) - Method in class java.util.BitSet
-
Clears the bits starting from
pos1topos2. - clearAuthentication(boolean) - Method in class com.codename1.backend.security.LogoutConfigurer
-
Whether signing out forgets who was signed in; true unless changed.
- clearChanged() - Method in class java.util.Observable
-
Clears the changed flag for this
Observable. - clearContext() - Static method in class com.codename1.backend.security.SecurityContextHolder
-
Forgets the thread's context.
- clearContext() - Static method in class com.codename1.backend.test.TestSecurityContextHolder
-
Removes what was put in place: the thread's tests run as nobody again.
- CLIENT_CREDENTIALS - Static variable in class com.codename1.backend.security.oauth2.core.AuthorizationGrantType
- CLIENT_SECRET_BASIC - Static variable in class com.codename1.backend.security.oauth2.core.ClientAuthenticationMethod
-
The id and secret in an
Authorization: Basicheader. - CLIENT_SECRET_POST - Static variable in class com.codename1.backend.security.oauth2.core.ClientAuthenticationMethod
-
The id and secret as the form fields
client_idandclient_secret. - clientAddress() - Static method in class com.codename1.backend.security.ratelimit.RateLimitKeys
-
The address of the client:
HttpServer.Request.getRemoteAddress(). - clientAuthenticationMethod(ClientAuthenticationMethod) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
-
ClientAuthenticationMethod.CLIENT_SECRET_BASICunless set, andClientAuthenticationMethod.NONEfor a client without a secret. - clientAuthenticationMethod(ClientAuthenticationMethod) - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient.Builder
- ClientAuthenticationMethod - Class in com.codename1.backend.security.oauth2.core
-
How a client proves which client it is at the token endpoint.
- ClientAuthenticationMethod(String) - Constructor for class com.codename1.backend.security.oauth2.core.ClientAuthenticationMethod
- clientId(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- clientId(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient.Builder
- clientName(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- clientName(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient.Builder
- clientNetwork() - Static method in class com.codename1.backend.security.ratelimit.RateLimitKeys
-
The client's network: its address, with an IPv6 address cut to its first 64 bits.
- ClientRegistration - Class in com.codename1.backend.security.oauth2.client
-
This server as a client of one identity provider: the id and secret the provider issued it, the scopes it asks for, and where the provider's endpoints are.
- ClientRegistration.Builder - Class in com.codename1.backend.security.oauth2.client
-
Builds a
ClientRegistration. - ClientRegistration.ClientSecretSupplier - Interface in com.codename1.backend.security.oauth2.client
-
Where a client secret comes from when it is not a fixed text: Sign in with Apple's is a token this server signs.
- ClientRegistration.ProviderDetails - Class in com.codename1.backend.security.oauth2.client
-
Where the provider is.
- clientRegistrationRepository(ClientRegistrationRepository) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
The providers, in place of the application's bean and the configuration.
- ClientRegistrationRepository - Interface in com.codename1.backend.security.oauth2.client
-
The identity providers this server signs users in through.
- ClientRegistrations - Class in com.codename1.backend.security.oauth2.client
-
Registrations read from the server's configuration, and from an issuer's metadata.
- clientSecret(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- clientSecret(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient.Builder
-
The secret as the encoder wrote it:
encoder.encode(secret). - clientSecretEncoder(PasswordEncoder) - Method in class com.codename1.backend.security.AuthorizationServerConfigurer
-
What client secrets were encoded with, in place of the application's
PasswordEncoderbean. - clientSecretSupplier(ClientRegistration.ClientSecretSupplier) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
-
A secret made when it is needed; see
AppleClientSecret. - clientSettings(ClientSettings) - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient.Builder
- ClientSettings - Class in com.codename1.backend.security.oauth2.server.authorization
-
What is asked of one client beyond what OAuth2 asks of every client.
- ClientSettings.Builder - Class in com.codename1.backend.security.oauth2.server.authorization
-
Builds a
ClientSettings. - clock(Clock) - Method in class com.codename1.backend.security.AuthorizationServerConfigurer
-
The clock every lifetime is measured on; for tests.
- clock(Clock) - Method in class com.codename1.backend.security.MfaConfigurer
-
The clock the pending sign-in's lifetime is read from; for tests.
- clock(Clock) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
The clock a challenge's lifetime is read from; for tests.
- Clock - Class in java.time
- Clock - Interface in com.codename1.backend.security
-
Where the parts of the layer that judge time -- a token's expiry, a rate limit's window -- read it from, so a test can move it.
- Clock() - Constructor for class java.time.Clock
- clone() - Method in class com.codename1.io.gzip.Deflate
- clone() - Method in class com.codename1.io.gzip.GZIPHeader
- clone() - Method in class java.lang.Enum
- clone() - Method in class java.lang.Object
- clone() - Method in class java.text.DateFormat
- clone() - Method in class java.text.DateFormatSymbols
- clone() - Method in class java.text.SimpleDateFormat
- Cloneable - Interface in java.lang
-
This (empty) interface must be implemented by all classes that wish to support cloning.
- CloneNotSupportedException - Exception Class in java.lang
-
Thrown when a program attempts to clone an object which does not support the
Cloneableinterface. - CloneNotSupportedException() - Constructor for exception class java.lang.CloneNotSupportedException
-
Constructs a new
CloneNotSupportedExceptionthat includes the current stack trace. - CloneNotSupportedException(String) - Constructor for exception class java.lang.CloneNotSupportedException
-
Constructs a new
CloneNotSupportedExceptionwith the current stack trace and the specified detail message. - close() - Method in class com.codename1.backend.Database
-
Inside the connection gate, like execute, query and transaction.
- close() - Method in class com.codename1.backend.DataSource
-
Closes every connection.
- close() - Method in class com.codename1.backend.Db
-
SYNCHRONIZED, like execute, query and transaction, and it keeps the handle when the close does not take.
- close() - Method in class com.codename1.backend.DbPool
- close() - Method in class com.codename1.backend.Http2
- close() - Method in class com.codename1.backend.orm.EntityManager
-
Closes the pool, or the connection, this manager was opened over.
- close() - Method in class com.codename1.backend.Reactor
- close() - Method in class com.codename1.backend.ServerSocket
- close() - Method in class com.codename1.backend.sql.MySql
- close() - Method in class com.codename1.backend.sql.Postgres
- close() - Method in class com.codename1.backend.Tcp
-
Closes the connection, and does not release anything an operation still holds.
- close() - Method in class com.codename1.backend.Tls
- close() - Method in class com.codename1.backend.WebSocketSession
-
A normal close, code 1000, no reason.
- close() - Method in class com.codename1.io.gzip.DeflaterOutputStream
- close() - Method in class com.codename1.io.gzip.FilterInputStream
- close() - Method in class com.codename1.io.gzip.FilterOutputStream
- close() - Method in class com.codename1.io.gzip.InflaterInputStream
- close() - Method in interface com.codename1.orm.session.Session
-
Rolls back any active transaction, detaches entities, and releases session resources.
- close() - Method in class java.io.ByteArrayInputStream
-
Closes this input stream and releases any system resources associated with the stream.
- close() - Method in class java.io.ByteArrayOutputStream
-
Closes this output stream and releases any system resources associated with this stream.
- close() - Method in class java.io.DataInputStream
-
Closes this input stream and releases any system resources associated with the stream.
- close() - Method in class java.io.DataOutputStream
-
Closes this output stream and releases any system resources associated with the stream.
- close() - Method in class java.io.InputStream
-
Closes this input stream and releases any system resources associated with the stream.
- close() - Method in class java.io.InputStreamReader
-
Close the stream.
- close() - Method in class java.io.OutputStream
-
Closes this output stream and releases any system resources associated with this stream.
- close() - Method in class java.io.OutputStreamWriter
-
Close the stream.
- close() - Method in class java.io.PrintStream
-
Close the stream.
- close() - Method in class java.io.Reader
-
Close the stream.
- close() - Method in class java.io.StringReader
-
Closes this reader.
- close() - Method in class java.io.StringWriter
- close() - Method in class java.io.Writer
-
Close the stream, flushing it first.
- close() - Method in interface java.lang.AutoCloseable
- close() - Method in interface java.util.stream.BaseStream
- close(int) - Static method in class com.codename1.backend.FileIo
- close(int, String) - Method in class com.codename1.backend.WebSocketSession
-
Starts the closing handshake.
- closedStreams() - Method in class com.codename1.backend.Http2
-
The streams that have closed since the last call, as (stream id, HTTP/2 error code) pairs; null when none have.
- closeFd(int) - Static method in class com.codename1.backend.ServerSocket
- CODE - Static variable in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
The kind of an authorization code.
- codeParameter(String) - Method in class com.codename1.backend.security.MfaConfigurer
-
The form field the code is in;
codeunless set. - codePointAt(char[], int) - Static method in class java.lang.Character
-
Returns the code point at the index in the
char[]. - codePointAt(char[], int, int) - Static method in class java.lang.Character
-
Returns the code point at the index in the
char[]that's within the limit. - codePointAt(CharSequence, int) - Static method in class java.lang.Character
-
Returns the code point at the index in the
CharSequence. - codePointBefore(char[], int) - Static method in class java.lang.Character
-
Returns the Unicode code point that proceeds the
indexin thechar[]. - codePointBefore(char[], int, int) - Static method in class java.lang.Character
-
Returns the Unicode code point that proceeds the
indexin thechar[]and isn't less thanstart. - codePointBefore(CharSequence, int) - Static method in class java.lang.Character
-
Returns the Unicode code point that proceeds the
indexin theCharSequence. - codePointCount(char[], int, int) - Static method in class java.lang.Character
-
Counts the number of Unicode code points in the subsequence of the
char[], as delineated by theoffsetandcount. - codePointCount(CharSequence, int, int) - Static method in class java.lang.Character
-
Counts the number of Unicode code points in the subsequence of the
CharSequence, as delineated by thebeginIndexandendIndex. - collapse(String) - Static method in class com.codename1.backend.aws.Aws
-
Leading and trailing space removed, internal runs collapsed to one space.
- collect(Collector) - Method in interface java.util.stream.Stream
- collectArguments(MethodHandle, int, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
- Collection<E> - Interface in java.util
-
Collectionis the root of the collection hierarchy. - Collections - Class in java.util
-
Collectionscontains static methods which operate onCollectionclasses. - Collector<T,
A, - Interface in java.util.streamR> - Collectors - Class in java.util.stream
- column() - Element in annotation type com.codename1.annotations.db.ElementCollection
-
Names the scalar value column in the collection table.
- Column - Annotation Type in com.codename1.annotations
-
Renames or constrains an
@Entityfield's column. - ColumnDefinition - Class in com.codename1.backend.orm
-
One persisted field of an entity: what it is called in Java, what it is called in the database, and what kind of value it holds.
- ColumnDefinition(String, String, int, boolean, String, boolean, boolean) - Constructor for class com.codename1.backend.orm.ColumnDefinition
- columns() - Method in class com.codename1.backend.orm.EntityDefinition
-
Every persisted column, in a fixed order that indexes into get and set.
- columnType(int) - Method in class com.codename1.backend.sql.Dialect
-
What this engine calls one of the portable kinds above.
- com.codename1.annotations - package com.codename1.annotations
-
Codename One specific Java annotations used by the build pipeline and the ParparVM bytecode translator to mark methods and classes for special treatment -- e.g.
- com.codename1.annotations.db - package com.codename1.annotations.db
-
Mapping annotations for managed database persistence.
- com.codename1.backend - package com.codename1.backend
-
The Codename One backend runtime: the server side of an application, written in the same Java as the app and compiled to a native server binary.
- com.codename1.backend.annotations - package com.codename1.backend.annotations
-
Annotations that turn an ordinary class into an HTTP or websocket endpoint.
- com.codename1.backend.aws - package com.codename1.backend.aws
-
Amazon Web Services from a backend: request signing, credentials, and S3.
- com.codename1.backend.metrics - package com.codename1.backend.metrics
-
Metrics for a backend: counters, gauges and histograms named after the OpenTelemetry semantic conventions.
- com.codename1.backend.mvc - package com.codename1.backend.mvc
-
Typed models, form binding results, and HTML/htmx helpers for build-time compiled views.
- com.codename1.backend.orm - package com.codename1.backend.orm
-
The build-time ORM on the server: entity classes in, typed data access objects out.
- com.codename1.backend.otel - package com.codename1.backend.otel
-
OpenTelemetry tracing and metrics for a backend, exported over OTLP/HTTP without an OpenTelemetry library.
- com.codename1.backend.security - package com.codename1.backend.security
-
Authentication and authorization for the routes of a backend, in the shape of Spring Security: an application declares one or more
SecurityFilterChainbeans, each built from theHttpSecurityits method is handed, and every request the server does not answer on its own behalf is put to them. - com.codename1.backend.security.apikey - package com.codename1.backend.security.apikey
-
API keys: long-lived secrets a program presents instead of signing in.
- com.codename1.backend.security.core.userdetails - package com.codename1.backend.security.core.userdetails
-
Users as the security layer sees them:
UserDetails, theUserDetailsServicea chain authenticates against, and an in-memory store. - com.codename1.backend.security.crypto - package com.codename1.backend.security.crypto
-
Password hashing: the
PasswordEncodercontract, the delegating encoder that reads the{id}in front of a stored password, and the encoders behind it. - com.codename1.backend.security.mfa - package com.codename1.backend.security.mfa
-
A second factor at sign-in: one-time codes from an authenticator app, and the recovery codes that stand in for a lost phone.
- com.codename1.backend.security.oauth2.client - package com.codename1.backend.security.oauth2.client
-
Signing users in through another identity provider, with OAuth2 or OpenID Connect: this server as a client of Google, GitHub, Microsoft, Apple or any provider described by a
ClientRegistration. - com.codename1.backend.security.oauth2.core - package com.codename1.backend.security.oauth2.core
-
What the OAuth 2.0 parts of the security layer share: the error a token or a request is refused with, and the validators a token is put to.
- com.codename1.backend.security.oauth2.jose.jws - package com.codename1.backend.security.oauth2.jose.jws
-
The names of the algorithms a JSON Web Signature is made with (RFC 7518 3), for the ones this runtime signs and verifies.
- com.codename1.backend.security.oauth2.jwt - package com.codename1.backend.security.oauth2.jwt
-
JSON Web Tokens signed with a public key algorithm or a shared secret:
JwtDecoderverifies one and reads its claims,JwtEncodermakes one. - com.codename1.backend.security.oauth2.server.authorization - package com.codename1.backend.security.oauth2.server.authorization
-
An OAuth2 authorization server and OpenID Connect provider: the server that signs users in on behalf of clients and issues them tokens.
- com.codename1.backend.security.oauth2.server.resource - package com.codename1.backend.security.oauth2.server.resource
-
A server whose routes are reached with a bearer token (RFC 6750): finding the token in a request, verifying it as a JWT, turning its claims into who is calling and what they may do, and answering a request whose token is missing, bad or not enough.
- com.codename1.backend.security.ratelimit - package com.codename1.backend.security.ratelimit
-
Limits on how often a client may ask: a
RateLimitercounts requests under a key, and aRateLimitKeyResolversays which key a request counts under -- its client's address, who it is signed in as, its session, its API key. - com.codename1.backend.security.rememberme - package com.codename1.backend.security.rememberme
-
Remember-me: recognizing a returning user by a cookie, so that closing the browser does not sign them out.
- com.codename1.backend.security.webauthn - package com.codename1.backend.security.webauthn
-
Passkeys: signing in with a credential an authenticator holds, as the Web Authentication specification defines it.
- com.codename1.backend.sql - package com.codename1.backend.sql
-
The database engines a backend talks to, and what they spell differently.
- com.codename1.backend.test - package com.codename1.backend.test
-
Testing a backend the way Spring Boot tests are written, on the JVM and as a compiled native test.
- com.codename1.io.gzip - package com.codename1.io.gzip
-
gzip support based on https://github.com/ymnk/jzlib
- com.codename1.migration - package com.codename1.migration
-
Versioned database migrations, shared by applications and the Codename One backend.
- com.codename1.orm.session - package com.codename1.orm.session
-
Managed persistence contexts and queries for the client and backend ORMs.
- com.codename1.security - package com.codename1.security
-
The part of the client's cryptography a server shares with it: the portable Java digests and message authentication codes, and the one-time passwords built on them.
- combiner() - Method in interface java.util.stream.Collector
- commence(HttpServer.Request, AuthenticationException) - Method in interface com.codename1.backend.security.AuthenticationEntryPoint
-
The answer.
- commence(HttpServer.Request, AuthenticationException) - Method in class com.codename1.backend.security.BasicAuthenticationEntryPoint
- commence(HttpServer.Request, AuthenticationException) - Method in class com.codename1.backend.security.Http403ForbiddenEntryPoint
- commence(HttpServer.Request, AuthenticationException) - Method in class com.codename1.backend.security.HttpStatusEntryPoint
- commence(HttpServer.Request, AuthenticationException) - Method in class com.codename1.backend.security.LoginUrlAuthenticationEntryPoint
- commence(HttpServer.Request, AuthenticationException) - Method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenAuthenticationEntryPoint
- commit() - Method in class com.codename1.backend.sql.MySql
- commitTransaction() - Method in class com.codename1.backend.Database
-
Commits the transaction opened through this API.
- commitTransaction() - Method in interface com.codename1.orm.session.Session
-
Flushes pending changes and commits the active transaction.
- CommonOAuth2Provider - Enum in com.codename1.backend.security.oauth2.client
-
The settings of the identity providers most applications sign in through, so that a registration needs only the id and secret the provider issued.
- Comparable<T> - Interface in java.lang
-
This interface should be implemented by all classes that wish to define a
- comparator() - Method in class java.util.PriorityQueue
-
Gets the comparator of the priority queue.
- comparator() - Method in interface java.util.SortedMap
-
Returns the comparator used to compare keys in this sorted map.
- comparator() - Method in interface java.util.SortedSet
-
Returns the comparator used to compare elements in this
SortedSet. - comparator() - Method in class java.util.TreeMap
-
Returns the comparator used to compare elements in this map.
- comparator() - Method in class java.util.TreeSet
-
Returns the comparator used to compare elements in this
TreeSet. - Comparator<T> - Interface in java.util
-
A
Comparatoris used to compare two objects to determine their ordering with respect to each other. - compare(byte, byte) - Method in class java.lang.Byte
- compare(double, double) - Static method in class java.lang.Double
- compare(float, float) - Static method in class java.lang.Float
- compare(int, int) - Static method in class java.lang.Integer
- compare(long, long) - Static method in class java.lang.Long
- compare(short, short) - Static method in class java.lang.Short
- compare(T, T) - Method in interface java.util.Comparator
-
Compares the two specified objects to determine their relative ordering.
- compare(T, T, Comparator) - Static method in class java.util.Objects
- compareAndSet(boolean, boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
- compareAndSet(int, int) - Method in class java.util.concurrent.atomic.AtomicInteger
- compareAndSet(long, long) - Method in class java.util.concurrent.atomic.AtomicLong
- compareAndSet(V, V) - Method in class java.util.concurrent.atomic.AtomicReference
- compareTo(E) - Method in class java.lang.Enum
- compareTo(Boolean) - Method in class java.lang.Boolean
- compareTo(Byte) - Method in class java.lang.Byte
- compareTo(Double) - Method in class java.lang.Double
- compareTo(Float) - Method in class java.lang.Float
- compareTo(Integer) - Method in class java.lang.Integer
- compareTo(Long) - Method in class java.lang.Long
- compareTo(Short) - Method in class java.lang.Short
- compareTo(String) - Method in class java.lang.String
-
Compares two strings lexicographically.
- compareTo(Charset) - Method in class java.nio.charset.Charset
- compareTo(Duration) - Method in class java.time.Duration
- compareTo(Instant) - Method in class java.time.Instant
- compareTo(LocalDate) - Method in class java.time.LocalDate
- compareTo(LocalDateTime) - Method in class java.time.LocalDateTime
- compareTo(LocalTime) - Method in class java.time.LocalTime
- compareTo(OffsetDateTime) - Method in class java.time.OffsetDateTime
- compareTo(ZonedDateTime) - Method in class java.time.ZonedDateTime
- compareTo(Date) - Method in class java.util.Date
- compareTo(T) - Method in interface java.lang.Comparable
-
Compares this object to the specified object to determine their relative order.
- compareToIgnoreCase(String) - Method in class java.lang.String
- comparison(String, boolean) - Method in class com.codename1.backend.sql.Dialect
-
The left side of an ORDERING comparison -- >, >=, <, <= -- on a column of this kind.
- complete(HttpServer.Request, Authentication, boolean, AuthenticationSuccessHandler) - Method in class com.codename1.backend.security.SessionSignIn
-
Signs the user in, with no second factor asked: for the first factor of a chain without one, and for whatever finishes a sign-in that was held back.
- complete(HttpServer.Request, Authentication, boolean, AuthenticationSuccessHandler, boolean) - Method in class com.codename1.backend.security.SessionSignIn
-
Signs the user in, and says whether a second factor was part of it.
- Component - Annotation Type in com.codename1.backend.annotations
-
Marks a class the build constructs and injects, once per server.
- compute(K, BiFunction) - Method in interface java.util.Map
-
Attempts to compute a mapping for the specified key and its current mapped value (or
nullif there is no current mapping). - computeFields() - Method in class java.util.Calendar
-
Converts the current millisecond time value time to field values in fields[].
- computeIfAbsent(K, Function) - Method in interface java.util.Map
-
If the specified key is not already associated with a value (or is mapped to
null), attempts to compute its value using the given mapping function and enters it into this map unlessnull. - computeIfPresent(K, BiFunction) - Method in interface java.util.Map
-
If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.
- computeTime() - Method in class java.util.Calendar
-
Converts the current field values in fields[] to the millisecond time value time.
- concat(String) - Method in class java.lang.String
-
Concatenates the specified string to the end of this string.
- ConcurrentModificationException - Exception Class in java.util
-
An
ConcurrentModificationExceptionis thrown when a Collection is modified and an existing iterator on the Collection is used to modify the Collection as well. - ConcurrentModificationException() - Constructor for exception class java.util.ConcurrentModificationException
-
Constructs a new
ConcurrentModificationExceptionwith the current stack trace filled in. - ConcurrentModificationException(String) - Constructor for exception class java.util.ConcurrentModificationException
-
Constructs a new
ConcurrentModificationExceptionwith the current stack trace and message filled in. - ConditionalOnMissingBean - Annotation Type in com.codename1.backend.annotations
-
Constructs this bean only when no other bean has its type.
- ConditionalOnProperty - Annotation Type in com.codename1.backend.annotations
-
Constructs this bean only when a configuration key has a value.
- Config - Class in com.codename1.backend
-
Where a server's settings come from, in one resolution order.
- Configuration - Annotation Type in com.codename1.backend.annotations
-
A class whose
Beanmethods produce beans. - ConfigurationProperties - Annotation Type in com.codename1.backend.annotations
-
Binds a group of configuration keys to the setters of a bean.
- configure(HttpSecurity) - Method in class com.codename1.backend.security.AnonymousConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.ApiKeyConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.AuthorizationServerConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.CsrfConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.ExceptionHandlingConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.FormLoginConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.HeadersConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.HttpBasicConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.LogoutConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.MfaConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.RateLimitConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.RememberMeConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.SecurityConfigurer
-
Adds this part's filters; nothing by default.
- configure(HttpSecurity) - Method in class com.codename1.backend.security.SecurityContextConfigurer
- configure(HttpSecurity) - Method in class com.codename1.backend.security.WebAuthnConfigurer
- configure(Migrator, Config) - Static method in class com.codename1.backend.Migrations
-
Applies the settings a deployment configured to a migrator.
- confirm(String) - Method in class com.codename1.backend.security.mfa.InMemoryTotpRepository
- confirm(String) - Method in class com.codename1.backend.security.mfa.JdbcTotpRepository
- confirm(String) - Method in interface com.codename1.backend.security.mfa.TotpRepository
-
Marks the credential confirmed, if it is there and was not.
- confirm(String, byte[], long) - Method in class com.codename1.backend.security.mfa.InMemoryTotpRepository
- confirm(String, byte[], long) - Method in class com.codename1.backend.security.mfa.JdbcTotpRepository
- confirm(String, byte[], long) - Method in interface com.codename1.backend.security.mfa.TotpRepository
-
Confirms and consumes a code only if the current, unconfirmed credential still has the secret that was verified.
- confirmEnrollment(String, String) - Method in class com.codename1.backend.security.mfa.TotpService
-
Finishes an enrolment with a code from the user's app.
- CONFLICT - Enum constant in enum com.codename1.backend.test.HttpStatus
- connect(String, int, int) - Static method in class com.codename1.backend.Tcp
- connect(String, int, String, String, String, String, String, int, int) - Static method in class com.codename1.backend.sql.MySql
-
Connects, optionally upgrades to TLS, and authenticates.
- connect(String, int, String, String, String, String, String, int, int) - Static method in class com.codename1.backend.sql.Postgres
-
Connects, negotiates TLS when asked, authenticates, and returns a session ready for queries.
- connection() - Method in interface com.codename1.migration.MigrationContext
-
The runtime's own database object:
com.codename1.db.Databasein an application,com.codename1.backend.Databaseon a server. - constant(Class, Object) - Static method in class java.lang.invoke.MethodHandles
- constantTimeEquals(byte[], byte[]) - Static method in class com.codename1.security.Hmac
-
Constant-time comparison of two byte arrays.
- Constructor - Class in java.lang.reflect
- Constructor() - Constructor for class java.lang.reflect.Constructor
- CONSTRUCTOR - Enum constant in enum java.lang.annotation.ElementType
- consume(String, String) - Method in class com.codename1.backend.security.mfa.InMemoryRecoveryCodeRepository
- consume(String, String) - Method in class com.codename1.backend.security.mfa.JdbcRecoveryCodeRepository
- consume(String, String) - Method in interface com.codename1.backend.security.mfa.RecoveryCodeRepository
-
Uses one code up.
- consume(String, String) - Method in class com.codename1.backend.security.mfa.RecoveryCodeService
-
Uses a code up.
- consumeAttribute(String) - Method in class com.codename1.backend.HttpSession
-
Removes and returns an attribute once across every request and server sharing the session store.
- consumeAttribute(String, String) - Method in interface com.codename1.backend.SessionStore
-
Atomically removes and returns an attribute from the stored session.
- Consumer<T> - Interface in java.util.function
- consumeToken(String, String, long) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- consumeToken(String, String, long) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- consumeToken(String, String, long) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
Uses a secret up, if it is there, unused and has not expired at
now, and recordsnowas when. - contains(CharSequence) - Method in class java.lang.String
-
Checks if string contains the given char sequence.
- contains(Object) - Method in interface com.codename1.orm.session.Session
-
Tests whether this session manages an entity that is not scheduled for removal.
- contains(Object) - Method in class java.util.AbstractCollection
-
Tests whether this
Collectioncontains the specified object. - contains(Object) - Method in class java.util.ArrayDeque
-
Returns true if the specified element is in the deque.
- contains(Object) - Method in class java.util.ArrayList
-
Searches this
ArrayListfor the specified object. - contains(Object) - Method in interface java.util.Collection
-
Tests whether this
Collectioncontains the specified object. - contains(Object) - Method in class java.util.HashSet
-
Searches this
HashSetfor the specified object. - contains(Object) - Method in class java.util.Hashtable
-
Returns true if this
Hashtablecontains the specified object as the value of at least one of the key/value pairs. - contains(Object) - Method in class java.util.LinkedList
-
Searches this
LinkedListfor the specified object. - contains(Object) - Method in interface java.util.List
-
Tests whether this
Listcontains the specified object. - contains(Object) - Method in class java.util.PriorityQueue
-
Answers if there is an element in this queue equals to the object.
- contains(Object) - Method in interface java.util.Set
-
Searches this set for the specified object.
- contains(Object) - Method in class java.util.TreeSet
-
Searches this
TreeSetfor the specified object. - contains(Object) - Method in class java.util.Vector
-
Searches this vector for the specified object.
- contains(String) - Method in interface com.codename1.backend.security.HeaderWriter.Headers
-
Whether the handler, or an earlier writer, set this header.
- containsAll(Collection) - Method in class java.util.AbstractCollection
-
Tests whether this
Collectioncontains all objects contained in the specifiedCollection. - containsAll(Collection) - Method in interface java.util.Collection
-
Tests whether this
Collectioncontains all objects contained in the specifiedCollection. - containsAll(Collection) - Method in interface java.util.List
-
Tests whether this
Listcontains all objects contained in the specified collection. - containsAll(Collection) - Method in interface java.util.Set
-
Searches this set for all objects in the specified collection.
- containsAll(Collection) - Method in class java.util.Vector
-
Searches this vector for all objects in the specified collection.
- containsAttribute(String) - Method in class com.codename1.backend.mvc.Model
- containsContext(HttpServer.Request) - Method in class com.codename1.backend.security.HttpSessionSecurityContextRepository
- containsContext(HttpServer.Request) - Method in class com.codename1.backend.security.NullSecurityContextRepository
- containsContext(HttpServer.Request) - Method in interface com.codename1.backend.security.SecurityContextRepository
-
Whether anything is stored for
request's client. - containsElement(String, Object) - Method in interface com.codename1.orm.session.Query
-
Adds a scalar collection membership predicate without loading the collection.
- containsKey(Object) - Method in class java.util.AbstractMap
-
Returns whether this map contains the specified key.
- containsKey(Object) - Method in class java.util.HashMap
-
Returns whether this map contains the specified key.
- containsKey(Object) - Method in class java.util.Hashtable
-
Returns true if this
Hashtablecontains the specified object as a key of one of the key/value pairs. - containsKey(Object) - Method in class java.util.IdentityHashMap
-
Returns whether this map contains the specified key.
- containsKey(Object) - Method in interface java.util.Map
-
Returns whether this
Mapcontains the specified key. - containsKey(Object) - Method in class java.util.TreeMap
-
Returns whether this map contains the specified key.
- containsKey(String) - Method in class com.codename1.backend.test.HttpHeaders
- containsValue(Object) - Method in class java.util.AbstractMap
-
Returns whether this map contains the specified value.
- containsValue(Object) - Method in class java.util.HashMap
-
Returns whether this map contains the specified value.
- containsValue(Object) - Method in class java.util.Hashtable
-
Searches this
Hashtablefor the specified value. - containsValue(Object) - Method in class java.util.IdentityHashMap
-
Returns whether this map contains the specified value.
- containsValue(Object) - Method in class java.util.LinkedHashMap
- containsValue(Object) - Method in interface java.util.Map
-
Returns whether this
Mapcontains the specified value. - containsValue(Object) - Method in class java.util.TreeMap
-
Returns whether this map contains the specified value.
- content() - Static method in class com.codename1.backend.test.MockMvcResultMatchers
- content(byte[]) - Method in class com.codename1.backend.test.MockRequestBuilder
-
The body, as bytes.
- content(String) - Method in class com.codename1.backend.test.MockRequestBuilder
-
The body, as UTF-8 text.
- contentEquals(CharSequence) - Method in class java.lang.String
- contentEquals(StringBuffer) - Method in class java.lang.String
- ContentResultMatchers - Class in com.codename1.backend.test
-
Expectations of the response body, from
MockMvcResultMatchers.content(). - contentSecurityPolicy(Customizer) - Method in class com.codename1.backend.security.HeadersConfigurer
-
Content-Security-Policy; not sent unless configured here. - contentType(String) - Method in class com.codename1.backend.test.ContentResultMatchers
-
The Content-Type is this one, parameters included when it names any:
application/jsonmatchesapplication/json;charset=utf-8, which a stricter test names in full. - contentType(String) - Method in class com.codename1.backend.test.MockRequestBuilder
-
The Content-Type header.
- contentTypeCompatibleWith(String) - Method in class com.codename1.backend.test.ContentResultMatchers
-
The Content-Type's type and subtype are compatible with this one;
application/*and*/*match anything in their range. - contentTypeOptions(Customizer) - Method in class com.codename1.backend.security.HeadersConfigurer
-
X-Content-Type-Options: nosniff. - CONTINUE - Enum constant in enum com.codename1.backend.test.HttpStatus
- Controller - Annotation Type in com.codename1.backend.annotations
-
Build-time MVC declaration.
- convert(long, TimeUnit) - Method in enum java.util.concurrent.TimeUnit
-
sourceDurationinsourceUnit, converted to this unit. - convert(Jwt) - Method in class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationConverter
- convert(Jwt) - Method in class com.codename1.backend.security.oauth2.server.resource.JwtGrantedAuthoritiesConverter
- convert(S) - Method in interface com.codename1.backend.security.oauth2.core.Converter
-
What
sourcebecomes; null when it becomes nothing. - Convert - Annotation Type in com.codename1.annotations.db
-
A public no-arg converter for a basic field; converters also receive null values.
- converter() - Element in annotation type com.codename1.annotations.db.Convert
-
Selects the domain converter.
- Converter<S,
T> - Interface in com.codename1.backend.security.oauth2.core -
Makes one thing out of another: an
Authenticationout of a verified token, its authorities out of its claims. - cookie() - Static method in class com.codename1.backend.test.MockMvcResultMatchers
- cookie(String, String) - Method in class com.codename1.backend.test.MockRequestBuilder
-
A cookie, sent in the Cookie header.
- COOKIE - Static variable in class com.codename1.backend.security.oauth2.client.CookieOAuth2AuthorizationRequestRepository
-
The cookie's name.
- CookieCsrfTokenRepository - Class in com.codename1.backend.security
-
Keeps the token in a cookie,
XSRF-TOKEN, for a page whose script reads the cookie and sends its value back in theX-XSRF-TOKENheader -- the convention Angular and axios follow. - CookieCsrfTokenRepository() - Constructor for class com.codename1.backend.security.CookieCsrfTokenRepository
- CookieOAuth2AuthorizationRequestRepository - Class in com.codename1.backend.security.oauth2.client
-
Keeps the request in a cookie of its own, for a provider that answers with a form the browser posts (
ClientRegistration.FORM_POST): Sign in with Apple. - CookieOAuth2AuthorizationRequestRepository(byte[], String) - Constructor for class com.codename1.backend.security.oauth2.client.CookieOAuth2AuthorizationRequestRepository
- CookieResultMatchers - Class in com.codename1.backend.test
-
Expectations of the cookies a response sets, from
MockMvcResultMatchers.cookie(). - copy() - Method in class com.codename1.io.gzip.Adler32
- copy() - Method in class com.codename1.io.gzip.CRC32
- copy(Deflater) - Method in class com.codename1.io.gzip.Deflater
- copy(List, List) - Static method in class java.util.Collections
-
Copies the elements from the source list to the destination list.
- copyInto(Object[]) - Method in class java.util.Vector
-
Attempts to copy elements contained by this
Vectorinto the corresponding elements of the suppliedObjectarray. - copyOf(boolean[], int) - Static method in class java.util.Arrays
- copyOf(byte[], int) - Static method in class java.util.Arrays
- copyOf(char[], int) - Static method in class java.util.Arrays
- copyOf(double[], int) - Static method in class java.util.Arrays
- copyOf(float[], int) - Static method in class java.util.Arrays
- copyOf(int[], int) - Static method in class java.util.Arrays
- copyOf(long[], int) - Static method in class java.util.Arrays
- copyOf(short[], int) - Static method in class java.util.Arrays
- copyOf(T[], int) - Static method in class java.util.Arrays
- copyOf(T[], int, Class) - Static method in class java.util.Arrays
- copyOfRange(boolean[], int, int) - Static method in class java.util.Arrays
-
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
- copyOfRange(byte[], int, int) - Static method in class java.util.Arrays
-
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
- copyOfRange(char[], int, int) - Static method in class java.util.Arrays
-
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
- copyOfRange(double[], int, int) - Static method in class java.util.Arrays
-
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
- copyOfRange(float[], int, int) - Static method in class java.util.Arrays
-
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
- copyOfRange(int[], int, int) - Static method in class java.util.Arrays
-
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
- copyOfRange(long[], int, int) - Static method in class java.util.Arrays
-
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
- copyOfRange(short[], int, int) - Static method in class java.util.Arrays
-
Copies elements in original array to a new array, from index start(inclusive) to end(exclusive).
- copyOfRange(T[], int, int) - Static method in class java.util.Arrays
- copyOfRange(U[], int, int, Class) - Static method in class java.util.Arrays
- copyValueOf(char[]) - Static method in class java.lang.String
- copyValueOf(char[], int, int) - Static method in class java.lang.String
- cos(double) - Static method in class java.lang.Math
-
Returns the trigonometric cosine of an angle.
- CoseKey - Class in com.codename1.backend.security.webauthn
-
A credential's public key as an authenticator sends it -- a COSE_Key, RFC 9052 -- turned into what
Crypto.verify(String, byte[], byte[], byte[])takes: an algorithm name and a SubjectPublicKeyInfo. - count - Variable in class java.io.ByteArrayInputStream
-
The index one greater than the last valid character in the input stream buffer.
- count - Variable in class java.io.ByteArrayOutputStream
-
The number of valid bytes in the buffer.
- count() - Method in class com.codename1.backend.orm.Dao
-
How many rows the table holds.
- count() - Method in class com.codename1.backend.orm.Query
-
How many rows match.
- count() - Method in interface com.codename1.orm.session.Query
-
Counts matching root entities, ignoring ordering and pagination.
- count() - Method in interface java.util.stream.Stream
- count(Object, String) - Method in interface com.codename1.orm.session.Session
-
Counts stored related rows without loading the relationship's entities.
- count(String) - Method in class com.codename1.backend.security.mfa.InMemoryRecoveryCodeRepository
- count(String) - Method in class com.codename1.backend.security.mfa.JdbcRecoveryCodeRepository
- count(String) - Method in interface com.codename1.backend.security.mfa.RecoveryCodeRepository
-
How many codes
usernamehas left. - COUNT - Static variable in class com.codename1.backend.security.mfa.RecoveryCodeService
-
How many codes
RecoveryCodeService.generate(String)makes. - Counted - Annotation Type in com.codename1.backend.annotations
-
Counts the calls of this method, and separately the calls that threw.
- counter(String, String, String) - Static method in class com.codename1.backend.metrics.Metrics
-
A counter; the same one for the same name.
- Counter - Class in com.codename1.backend.metrics
-
A count that only goes up -- requests served, jobs run, errors seen.
- COUNTER - Static variable in class com.codename1.backend.metrics.Instrument
- COUNTER_REGRESSION - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The signature counter did not advance: the credential may have been copied.
- countInsertRows(String) - Method in class com.codename1.backend.sql.Dialect
-
How many rows an INSERT's VALUES clause writes, or -1 when the shape does not say -- an INSERT ...
- countObservers() - Method in class java.util.Observable
-
Returns the number of observers registered to this
Observable. - countTokens() - Method in class java.util.StringTokenizer
-
Returns the number of unprocessed tokens remaining in the string.
- CRC32 - Class in com.codename1.io.gzip
- CRC32() - Constructor for class com.codename1.io.gzip.CRC32
- crc32_combine(long, long, long) - Static method in class com.codename1.io.gzip.JZlib
-
Deprecated.
- crc32Combine(long, long, long) - Static method in class com.codename1.io.gzip.JZlib
- create() - Static method in class com.codename1.backend.Http2
-
A new server session, with the SETTINGS preface already queued.
- create() - Static method in class com.codename1.backend.Reactor
- create(int, int) - Static method in class com.codename1.backend.VirtualThread
-
A virtual thread that will serve
fdwhen first resumed. - create(DataSource, EntityManager) - Method in interface com.codename1.backend.Backend.Handlers
- create(String) - Static method in class com.codename1.security.Hash
-
Creates a streaming hash for the given algorithm.
- create(String) - Static method in class java.net.URI
-
A convenience factory method, intended to be used when the URI string is known to be valid (ie. a static application URI), so it is not needed for the caller to handle invalid syntax.
- create(String, byte[]) - Static method in class com.codename1.security.Hmac
-
Creates a streaming HMAC.
- create(String, String) - Static method in class com.codename1.backend.Tls
-
certPath: PEM certificate chain, leaf first
- create(String, String, boolean) - Static method in class com.codename1.backend.Tls
-
offerHttp2: advertise "h2" in ALPN.
- create(String, String, long) - Method in class com.codename1.backend.security.crypto.SignedTokens
-
A token for
subjectthat works forttlSeconds. - create(String, String, long, String) - Method in class com.codename1.backend.security.crypto.SignedTokens
-
A token for
subjectthat works forttlSeconds, and only whilefingerprintis what it is now. - createBucket(String) - Method in class com.codename1.backend.aws.S3
-
Creates a bucket, and says nothing when it already exists.
- createCredentialRequestOptions(String) - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
The options to sign in with.
- created(long) - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
- CREATED - Enum constant in enum com.codename1.backend.test.HttpStatus
- createDecoder(ClientRegistration) - Method in class com.codename1.backend.security.oauth2.client.OidcIdTokenDecoderFactory
-
The decoder of
registration: one for as long as the server runs, so the provider's keys are fetched once and kept. - createDefault() - Static method in class com.codename1.backend.security.oauth2.jwt.JwtValidators
- createDefaultWithIssuer(String) - Static method in class com.codename1.backend.security.oauth2.jwt.JwtValidators
- createDefaultWithValidators(OAuth2TokenValidator...) - Static method in class com.codename1.backend.security.oauth2.jwt.JwtValidators
-
JwtValidators.createDefault()and these as well. - createDelegatingPasswordEncoder() - Static method in class com.codename1.backend.security.crypto.PasswordEncoderFactories
-
A
DelegatingPasswordEncoderthat encodes with{pbkdf2-sha256}and also verifies{bcrypt}, Spring's{pbkdf2}and{pbkdf2@SpringSecurity_v5_8}and, on a development profile,{noop}. - createEmptyContext() - Static method in class com.codename1.backend.security.SecurityContextHolder
-
A context with no authentication in it.
- createNewToken(PersistentRememberMeToken) - Method in class com.codename1.backend.security.rememberme.InMemoryTokenRepositoryImpl
- createNewToken(PersistentRememberMeToken) - Method in class com.codename1.backend.security.rememberme.JdbcTokenRepository
- createNewToken(PersistentRememberMeToken) - Method in interface com.codename1.backend.security.rememberme.PersistentTokenRepository
-
Stores a new series.
- createPublicKeyCredentialCreationOptions(String) - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
The options for
usernameto make a passkey with. - createQuery(String) - Method in interface com.codename1.orm.session.Session
-
Creates an untyped JPQL query, including bulk update or delete statements.
- createQuery(String, Class) - Method in interface com.codename1.orm.session.Session
-
Creates a typed query using the supported JPQL subset.
- createTable() - Method in class com.codename1.backend.orm.Dao
-
CREATE TABLE IF NOT EXISTS, in this engine's spelling.
- createTables() - Method in class com.codename1.backend.orm.EntityManager
-
Creates the table of every registered entity that has none.
- createTables() - Method in interface com.codename1.orm.session.Session
-
Creates missing tables, indexes, and constraints for registered mappings.
- createTables(boolean) - Method in class com.codename1.backend.Backend.Builder
-
Whether to create the table of every generated entity at start-up.
- createTask(long, int) - Static method in class com.codename1.backend.VirtualThread
-
A virtual thread that runs a background task: when first resumed it calls
Tasks.runVirtual(token). - createUser(UserDetails) - Method in class com.codename1.backend.security.core.userdetails.InMemoryUserDetailsManager
- createUser(UserDetails) - Method in class com.codename1.backend.security.core.userdetails.JdbcUserDetailsManager
- createUser(UserDetails) - Method in interface com.codename1.backend.security.core.userdetails.UserDetailsManager
- createWakePipe() - Static method in class com.codename1.backend.Reactor
-
A non-blocking pipe,
{readEnd, writeEnd}, for waking a thread that polls: register the read end, andReactor.wake(int)the write end from any thread. - CREDENTIAL_EXISTS - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
A credential with this id is registered already, to this user or another.
- CREDENTIAL_NOT_ALLOWED - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The credential is not one the ceremony allowed.
- credentialId(byte[]) - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
- CredentialRecord - Class in com.codename1.backend.security.webauthn
-
One registered passkey: what the server keeps of a credential, as the WebAuthn specification's credential record lists it.
- CredentialRecord.Builder - Class in com.codename1.backend.security.webauthn
-
Builds a
CredentialRecord. - Credentials - Class in com.codename1.backend.aws
-
AWS credentials, and the ways a server actually obtains them.
- Credentials(String, String, String) - Constructor for class com.codename1.backend.aws.Credentials
- Credentials(String, String, String, long) - Constructor for class com.codename1.backend.aws.Credentials
- credentialsExpired(boolean) - Method in class com.codename1.backend.security.core.userdetails.User.UserBuilder
- CredentialsExpiredException - Exception Class in com.codename1.backend.security
-
The password was right and has expired.
- CredentialsExpiredException(String) - Constructor for exception class com.codename1.backend.security.CredentialsExpiredException
- CredentialsExpiredException(String, Throwable) - Constructor for exception class com.codename1.backend.security.CredentialsExpiredException
- cron() - Element in annotation type com.codename1.backend.annotations.Scheduled
-
A cron expression, or
${key}to read one from configuration. - CROSS_ORIGIN - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The ceremony ran inside a frame of another origin, which is not allowed.
- Crypto - Class in com.codename1.backend
-
The crypto a server needs to authenticate a request.
- CryptoException - Exception Class in com.codename1.security
-
Thrown by classes in this package when a cryptographic operation fails.
- CryptoException(String) - Constructor for exception class com.codename1.security.CryptoException
-
Creates a new instance with the given message.
- CryptoException(String, Throwable) - Constructor for exception class com.codename1.security.CryptoException
-
Creates a new instance wrapping an underlying cause.
- csrf() - Static method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors
-
The request carries a valid CSRF token, in the
_csrfparameter. - csrf(ByteSink, Model) - Static method in class com.codename1.backend.mvc.Html
- csrf(ByteSink, Model, Object) - Static method in class com.codename1.backend.mvc.Html
- csrf(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
CSRF protection; see
CsrfConfigurer. - CsrfConfigurer - Class in com.codename1.backend.security
-
Protection against cross-site request forgery.
- CsrfException - Exception Class in com.codename1.backend.security
-
A state-changing request did not prove it came from the application's own pages.
- CsrfException(String) - Constructor for exception class com.codename1.backend.security.CsrfException
- CsrfFilter - Class in com.codename1.backend.security
-
Refuses a state-changing request that does not carry the chain's CSRF token.
- CsrfToken - Interface in com.codename1.backend.security
-
The token a page sends back with a state-changing request to show the request came from the application's own pages.
- csrfTokenRepository(CsrfTokenRepository) - Method in class com.codename1.backend.security.CsrfConfigurer
-
Where the token is kept; the session unless set.
- CsrfTokenRepository - Interface in com.codename1.backend.security
-
Where a chain keeps the CSRF token it expects a client to send back.
- current() - Static method in class com.codename1.backend.security.SecurityExchange
-
The exchange of the request this thread is serving under a chain, or null when it serves none.
- current() - Static method in class com.codename1.backend.Tracing
-
The span of the work this thread is doing: the request's, inside a handler.
- current() - Static method in class com.codename1.backend.VirtualThread
-
The handle of the virtual thread the caller runs on, or 0 on a host or platform thread.
- current() - Static method in class java.util.concurrent.ThreadLocalRandom
- currentCode(String) - Method in class com.codename1.backend.security.mfa.TotpService
-
The code
username's app shows now. - currentRequest() - Static method in class com.codename1.backend.Backend
-
The request the calling thread is serving, or null outside one.
- currentThread() - Static method in class java.lang.Thread
-
Returns a reference to the currently executing Thread object.
- currentTimeMillis() - Method in interface com.codename1.backend.security.Clock
-
Milliseconds since the epoch.
- currentTimeMillis() - Static method in class java.lang.System
-
Returns the current time in milliseconds.
- currentTraceparent() - Static method in class com.codename1.backend.Tracing
-
The current trace as a W3C
traceparentvalue, for a transport the server does not instrument itself -- a message queue, a raw socket. - customize(OAuth2TokenContext) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2TokenCustomizer
-
Called once for every token, before it is signed.
- customize(T) - Method in interface com.codename1.backend.security.Customizer
- Customizer<T> - Interface in com.codename1.backend.security
-
Configures one part of an
HttpSecurity: the lambda handed toformLogin,csrf,authorizeHttpRequestsand the rest.
D
- dao(Class) - Method in class com.codename1.backend.orm.EntityManager
-
The dao for an entity class.
- Dao<T> - Class in com.codename1.backend.orm
-
Typed access to one entity's table.
- DaoAuthenticationProvider - Class in com.codename1.backend.security
-
Checks a username and password against a
UserDetailsService: loads the user, compares the password through aPasswordEncoder, and refuses an account that is locked, disabled or expired. - DaoAuthenticationProvider() - Constructor for class com.codename1.backend.security.DaoAuthenticationProvider
- DaoAuthenticationProvider(UserDetailsService) - Constructor for class com.codename1.backend.security.DaoAuthenticationProvider
- DataAccessException - Exception Class in com.codename1.backend
-
A database operation failed: a statement the engine refused, a connection that could not be opened or was lost, a query that returned more rows than one.
- DataAccessException(String) - Constructor for exception class com.codename1.backend.DataAccessException
- DataAccessException(String, Throwable) - Constructor for exception class com.codename1.backend.DataAccessException
- database() - Method in class com.codename1.backend.orm.EntityManager
-
The connection this manager is pinned to, or null when it holds a pool.
- Database - Class in com.codename1.backend
-
One database API over SQLite, PostgreSQL and MySQL, chosen by URL.
- Database.Work - Interface in com.codename1.backend
-
A unit of work run inside
Database.transaction(Database.Work). - DataInput - Interface in java.io
-
The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.
- DataInputStream - Class in java.io
-
A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
- DataInputStream(InputStream) - Constructor for class java.io.DataInputStream
-
Creates a DataInputStream and saves its argument, the input stream in, for later use.
- DataOutput - Interface in java.io
-
The DataOutput interface provides for converting data from any of the Java primitive types to a series of bytes and writing these bytes to a binary stream.
- DataOutputStream - Class in java.io
-
A data output stream lets an application write primitive Java data types to an output stream in a portable way.
- DataOutputStream(OutputStream) - Constructor for class java.io.DataOutputStream
-
Creates a new data output stream to write data to the specified underlying output stream.
- dataSource() - Method in class com.codename1.backend.orm.EntityManager
-
The pool behind this manager, or null when it is pinned to one connection.
- dataSource(DataSource) - Method in class com.codename1.backend.Backend.Builder
-
A pool the caller opened.
- dataSource(String) - Method in class com.codename1.backend.Backend.Builder
-
The database, as a SQLite path or a postgres:// or mysql:// URL.
- DataSource - Class in com.codename1.backend
-
A pool of connections to ONE database, whichever engine that database is.
- DATASOURCE_BORROW_MILLIS - Static variable in class com.codename1.backend.Config
-
How long a borrow waits for a free connection, in milliseconds.
- DATASOURCE_BUSY_MILLIS - Static variable in class com.codename1.backend.Config
-
How long SQLite waits on a locked database, in milliseconds.
- DATASOURCE_POOL_SIZE - Static variable in class com.codename1.backend.Config
-
How many connections the pool holds.
- DATASOURCE_URL - Static variable in class com.codename1.backend.Config
-
The database, as a SQLite path or a PostgreSQL or MySQL URL.
- DataSource.Work - Interface in com.codename1.backend
-
A unit of work run against one borrowed connection.
- Date - Class in java.util
-
The class Date represents a specific instant in time, with millisecond precision.
- Date() - Constructor for class java.util.Date
-
Allocates a Date object and initializes it to represent the current time specified number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT.
- Date(long) - Constructor for class java.util.Date
-
Allocates a Date object and initializes it to represent the specified number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT.
- DATE - Static variable in class java.util.Calendar
-
Field number for get and set indicating the day of the month.
- DateFormat - Class in java.text
-
A class for parsing and formatting localisation sensitive dates, compatible with Jave 6 SDK.
- DateFormatSymbols - Class in java.text
- DateFormatSymbols() - Constructor for class java.text.DateFormatSymbols
- DateTimeException - Exception Class in java.time
- DateTimeException(String) - Constructor for exception class java.time.DateTimeException
- DateTimeException(String, Throwable) - Constructor for exception class java.time.DateTimeException
- DateTimeFormatter - Class in java.time.format
- DateTimeParseException - Exception Class in java.time.format
- DateTimeParseException(String, CharSequence, int) - Constructor for exception class java.time.format.DateTimeParseException
- DateTimeParseException(String, CharSequence, int, Throwable) - Constructor for exception class java.time.format.DateTimeParseException
- DAY_OF_MONTH - Static variable in class java.util.Calendar
-
Field number for get and set indicating the day of the month.
- DAY_OF_WEEK - Static variable in class java.util.Calendar
-
Field number for get and set indicating the day of the week.
- DAY_OF_WEEK_IN_MONTH - Static variable in class java.util.Calendar
-
Field number for
getandsetindicating the ordinal number of the day of the week within the current month. - DAYS - Enum constant in enum java.util.concurrent.TimeUnit
-
Days.
- Db - Class in com.codename1.backend
-
SQLite persistence for server-side binaries, on the engine the translator already bundles.
- Db.Work - Interface in com.codename1.backend
-
A unit of work run inside
Db.transaction(Db.Work). - DbPool - Class in com.codename1.backend
-
A fixed pool of connections to one SQLite database.
- DbTransient - Annotation Type in com.codename1.annotations
-
Excludes an
@Entityfield from the generated table. - DECEMBER - Static variable in class java.util.Calendar
-
Value of the MONTH field indicating the twelfth month of the year.
- decide(String, boolean, String, Map) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- decide(String, boolean, String, Map) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- decide(String, boolean, String, Map) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
Answers a device grant that is
OAuth2Authorization.PENDING: makes itOAuth2Authorization.ACTIVEforprincipalName, orOAuth2Authorization.DENIED. - decode(String) - Static method in class com.codename1.backend.Base64
-
The decoded bytes, or null when the input is not valid base64.
- decode(String) - Static method in class com.codename1.backend.Base64Url
-
Null for anything that is not valid base64url, rather than a partial result.
- decode(String) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
The reverse of
OAuth2Parameters.encode(String), with+read as a space; null whenvalueis not a well-formed encoding. - decode(String) - Method in class com.codename1.backend.security.oauth2.jwt.DefaultJwtDecoder
- decode(String) - Method in interface com.codename1.backend.security.oauth2.jwt.JwtDecoder
-
The token, once its signature has verified and its claims have passed the decoder's validators.
- decode(String) - Method in class com.codename1.backend.security.oauth2.jwt.SupplierJwtDecoder
- decode(String) - Static method in class com.codename1.security.Base32
-
Decodes a Base32 string.
- decode(String, List, Map) - Method in interface com.codename1.backend.security.AuthenticationCodec
-
The authentication
AuthenticationCodec.encode(Authentication)kept, for a later request. - decoder(JwtDecoder) - Method in class com.codename1.backend.security.OAuth2ResourceServerConfigurer.JwtConfigurer
-
The decoder, in place of the application's bean and the properties.
- decrementAndGet() - Method in class java.util.concurrent.atomic.AtomicInteger
- decrementAndGet() - Method in class java.util.concurrent.atomic.AtomicLong
- deepEquals(Object[], Object[]) - Static method in class java.util.Arrays
-
Returns
trueif the two given arrays are deeply equal to one another. - deepEquals(Object, Object) - Static method in class java.util.Objects
- deepHashCode(Object[]) - Static method in class java.util.Arrays
-
Returns a hash code based on the "deep contents" of the given array.
- deepToString(Object[]) - Static method in class java.util.Arrays
-
Creates a "deep"
Stringrepresentation of theObject[]passed, such that if the array contains other arrays, theStringrepresentation of those arrays is generated as well. - DEF_WBITS - Static variable in class com.codename1.io.gzip.JZlib
- DEFAULT - Static variable in class java.text.DateFormat
-
Constant for default style (MEDIUM) parsing/formatting pattern.
- DEFAULT_AUTHORIZATION_REQUEST_BASE_URI - Static variable in class com.codename1.backend.security.oauth2.client.DefaultOAuth2AuthorizationRequestResolver
-
The path a sign-in starts at, before the registration's id.
- DEFAULT_BUFSIZE - Static variable in class com.codename1.io.gzip.DeflaterOutputStream
- DEFAULT_BUFSIZE - Static variable in class com.codename1.io.gzip.InflaterInputStream
- DEFAULT_COOKIE_NAME - Static variable in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
-
The cookie's name unless changed.
- DEFAULT_NAME - Static variable in class com.codename1.migration.MigrationSet
-
The name of the application's own set.
- DEFAULT_PARAMETER - Static variable in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
-
The form field that asks to be remembered unless changed.
- DEFAULT_PREFIX - Static variable in class com.codename1.backend.security.apikey.ApiKeyGenerator
-
The prefix unless another is given.
- DEFAULT_STRENGTH - Static variable in class com.codename1.backend.security.crypto.BCryptPasswordEncoder
-
The cost Spring uses unless told otherwise.
- DEFAULT_TABLE - Static variable in class com.codename1.migration.MigrationSet
-
The history table of the application's own set.
- defaultAccessDeniedHandlerFor(AccessDeniedHandler, RequestMatcher) - Method in class com.codename1.backend.security.ExceptionHandlingConfigurer
-
A handler for the denied requests
preferredMatchermatches, used when no single handler is set. - defaultAudience(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings.Builder
-
The resource server an access token is for when the request that had it issued named none: its
aud(RFC 9068). - defaultAuthenticationEntryPointFor(AuthenticationEntryPoint, RequestMatcher) - Method in class com.codename1.backend.security.ExceptionHandlingConfigurer
-
An entry point for the requests
preferredMatchermatches, used when no single entry point is set. - DefaultAuthorizationCodeTokenResponseClient - Class in com.codename1.backend.security.oauth2.client
-
The exchange over the runtime's HTTP client, which parks the request's thread while the provider answers.
- DefaultAuthorizationCodeTokenResponseClient() - Constructor for class com.codename1.backend.security.oauth2.client.DefaultAuthorizationCodeTokenResponseClient
- DefaultBearerTokenResolver - Class in com.codename1.backend.security.oauth2.server.resource
-
Finds the token in the
Authorization: Bearerheader. - DefaultBearerTokenResolver() - Constructor for class com.codename1.backend.security.oauth2.server.resource.DefaultBearerTokenResolver
- defaultBounds() - Static method in class com.codename1.backend.metrics.Histogram
-
A copy of OpenTelemetry's default explicit bucket boundaries.
- DefaultCsrfToken - Class in com.codename1.backend.security
-
A
CsrfTokenthat is its three values. - DefaultCsrfToken(String, String, String) - Constructor for class com.codename1.backend.security.DefaultCsrfToken
- DefaultJwtDecoder - Class in com.codename1.backend.security.oauth2.jwt
-
Verifies tokens against keys it holds, or keys an issuer publishes.
- DefaultJwtDecoder.Builder - Class in com.codename1.backend.security.oauth2.jwt
-
Builds a
DefaultJwtDecoder. - DefaultJwtEncoder - Class in com.codename1.backend.security.oauth2.jwt
-
Signs tokens with the keys of a
JwkSource. - DefaultJwtEncoder(JwkSource) - Constructor for class com.codename1.backend.security.oauth2.jwt.DefaultJwtEncoder
- DefaultLoginPageGeneratingFilter - Class in com.codename1.backend.security
-
Serves a plain login page at
GET /loginfor a chain that uses form login and names no page of its own. - DefaultOAuth2AuthorizationRequestResolver - Class in com.codename1.backend.security.oauth2.client
-
Starts a sign-in for a
GETof/oauth2/authorization/{registrationId}. - DefaultOAuth2AuthorizationRequestResolver(ClientRegistrationRepository) - Constructor for class com.codename1.backend.security.oauth2.client.DefaultOAuth2AuthorizationRequestResolver
- DefaultOAuth2AuthorizationRequestResolver(ClientRegistrationRepository, String) - Constructor for class com.codename1.backend.security.oauth2.client.DefaultOAuth2AuthorizationRequestResolver
- DefaultOAuth2User - Class in com.codename1.backend.security.oauth2.client
-
An
OAuth2Userthat holds what it is given. - DefaultOAuth2User(String, Collection, Map) - Constructor for class com.codename1.backend.security.oauth2.client.DefaultOAuth2User
-
A user called
name, whatever the attributes say: for a service that ties the provider's user to an account of the application's. - DefaultOAuth2User(Collection, Map, String) - Constructor for class com.codename1.backend.security.oauth2.client.DefaultOAuth2User
- DefaultOAuth2UserService - Class in com.codename1.backend.security.oauth2.client
-
The user of a provider that is OAuth2 without OpenID Connect -- GitHub: its attributes are what the provider's user info address answers the access token with, and its name is the registration's name attribute among them.
- DefaultOAuth2UserService() - Constructor for class com.codename1.backend.security.oauth2.client.DefaultOAuth2UserService
- DefaultOidcUser - Class in com.codename1.backend.security.oauth2.client
-
An
OidcUserthat holds what it is given. - DefaultOidcUser(String, Collection, Jwt, Map) - Constructor for class com.codename1.backend.security.oauth2.client.DefaultOidcUser
-
A user called
name; seeDefaultOAuth2User(String, Collection, Map). - DefaultOidcUser(Collection, Jwt, Map, String) - Constructor for class com.codename1.backend.security.oauth2.client.DefaultOidcUser
- defaults - Variable in class java.util.Properties
-
The default values for keys not found in this
Propertiesinstance. - defaultsDisabled() - Method in class com.codename1.backend.security.HeadersConfigurer
-
Turns every default off, leaving what is configured after this call.
- DefaultSecurityFilterChain - Class in com.codename1.backend.security
-
A
SecurityFilterChainthat is a matcher and a list of filters: whatHttpSecurity.build()returns. - DefaultSecurityFilterChain(RequestMatcher, List) - Constructor for class com.codename1.backend.security.DefaultSecurityFilterChain
- defaultsForSpringSecurity_v5_5() - Static method in class com.codename1.backend.security.crypto.Pbkdf2PasswordEncoder
-
What Spring Security wrote as
{pbkdf2}up to its version 5.7, and still reads under that id: SHA-1, 185000 rounds, an 8 byte salt and a 32 byte key. - defaultsForSpringSecurity_v5_8() - Static method in class com.codename1.backend.security.crypto.Pbkdf2PasswordEncoder
-
What Spring Security writes as
{pbkdf2@SpringSecurity_v5_8}: SHA-256, 310000 rounds, a 16 byte salt and a 32 byte key. - defaultSuccessUrl(String) - Method in class com.codename1.backend.security.FormLoginConfigurer
-
Where a user goes after signing in when no page asked for the sign-in.
- defaultSuccessUrl(String) - Method in class com.codename1.backend.security.MfaConfigurer
-
Where a user goes after the code when no page asked for the sign-in.
- defaultSuccessUrl(String) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
Where a user goes after signing in when no page asked for the sign-in;
/unless set. - defaultSuccessUrl(String) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
The
redirectUrla sign-in is answered with when no page asked for it. - defaultSuccessUrl(String, boolean) - Method in class com.codename1.backend.security.FormLoginConfigurer
- defaultSuccessUrl(String, boolean) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
- defaultValue() - Element in annotation type com.codename1.backend.annotations.PathVariable
-
Used when the request omits it.
- defaultValue() - Element in annotation type com.codename1.backend.annotations.RequestHeader
-
Used when the request omits it.
- defaultValue() - Element in annotation type com.codename1.backend.annotations.RequestParam
-
Used when the request omits it.
- DEFINED_PORT - Enum constant in enum com.codename1.backend.test.BackendTest.WebEnvironment
-
Served on the configured
cn1.server.port. - deflate(int) - Method in class com.codename1.io.gzip.Deflater
- deflate(int) - Method in class com.codename1.io.gzip.DeflaterOutputStream
- deflate(int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- Deflate - Class in com.codename1.io.gzip
- deflateEnd() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- deflateInit(int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- deflateInit(int, boolean) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- deflateInit(int, int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- deflateInit(int, int, boolean) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- deflateInit(int, int, int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- deflateInit(int, int, int, JZlib.WrapperType) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- deflateParams(int, int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- deflater - Variable in class com.codename1.io.gzip.DeflaterOutputStream
- Deflater - Class in com.codename1.io.gzip
- Deflater() - Constructor for class com.codename1.io.gzip.Deflater
- Deflater(int) - Constructor for class com.codename1.io.gzip.Deflater
- Deflater(int, boolean) - Constructor for class com.codename1.io.gzip.Deflater
- Deflater(int, int) - Constructor for class com.codename1.io.gzip.Deflater
- Deflater(int, int, boolean) - Constructor for class com.codename1.io.gzip.Deflater
- Deflater(int, int, int) - Constructor for class com.codename1.io.gzip.Deflater
- Deflater(int, int, int, JZlib.WrapperType) - Constructor for class com.codename1.io.gzip.Deflater
- DeflaterOutputStream - Class in com.codename1.io.gzip
- DeflaterOutputStream(OutputStream) - Constructor for class com.codename1.io.gzip.DeflaterOutputStream
- DeflaterOutputStream(OutputStream, Deflater) - Constructor for class com.codename1.io.gzip.DeflaterOutputStream
- DeflaterOutputStream(OutputStream, Deflater, int) - Constructor for class com.codename1.io.gzip.DeflaterOutputStream
- DeflaterOutputStream(OutputStream, Deflater, int, boolean) - Constructor for class com.codename1.io.gzip.DeflaterOutputStream
- deflateSetDictionary(byte[], int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- DelegatingOAuth2TokenValidator<T> - Class in com.codename1.backend.security.oauth2.core
-
Puts a token to several validators and reports everything any of them found: a token that is both expired and from the wrong issuer says both.
- DelegatingOAuth2TokenValidator(Collection) - Constructor for class com.codename1.backend.security.oauth2.core.DelegatingOAuth2TokenValidator
- DelegatingPasswordEncoder - Class in com.codename1.backend.security.crypto
-
Reads which scheme a stored password was made with from the
{id}in front of it, so one user store can hold passwords of several ages: - DelegatingPasswordEncoder(String, Map) - Constructor for class com.codename1.backend.security.crypto.DelegatingPasswordEncoder
- delete() - Method in class com.codename1.backend.orm.Query
-
Deletes every matching row and answers how many.
- delete(byte[]) - Method in class com.codename1.backend.security.webauthn.InMemoryPublicKeyCredentialUserEntityRepository
- delete(byte[]) - Method in class com.codename1.backend.security.webauthn.InMemoryUserCredentialRepository
- delete(byte[]) - Method in class com.codename1.backend.security.webauthn.JdbcPublicKeyCredentialUserEntityRepository
- delete(byte[]) - Method in class com.codename1.backend.security.webauthn.JdbcUserCredentialRepository
- delete(byte[]) - Method in interface com.codename1.backend.security.webauthn.PublicKeyCredentialUserEntityRepository
-
Forgets the user with this handle.
- delete(byte[]) - Method in interface com.codename1.backend.security.webauthn.UserCredentialRepository
-
Removes a credential.
- delete(int, int) - Method in class java.lang.StringBuffer
-
Removes the characters in a substring of this StringBuffer.
- delete(int, int) - Method in class java.lang.StringBuilder
-
Removes the characters in a substring of this StringBuilder.
- delete(String) - Method in class com.codename1.backend.security.apikey.JdbcApiKeyRepository
-
Forgets the key with this id altogether.
- delete(String) - Method in class com.codename1.backend.security.mfa.InMemoryTotpRepository
- delete(String) - Method in class com.codename1.backend.security.mfa.JdbcTotpRepository
- delete(String) - Method in interface com.codename1.backend.security.mfa.TotpRepository
-
Forgets the credential.
- delete(String) - Method in interface com.codename1.backend.SessionStore
-
Forgets a session.
- delete(String, Object...) - Static method in class com.codename1.backend.test.MockMvcRequestBuilders
- delete(String, Object...) - Method in class com.codename1.backend.test.TestRestTemplate
- delete(T) - Method in class com.codename1.backend.orm.Dao
-
Deletes the row whose key
entitycarries. - DELETE - Enum constant in enum com.codename1.backend.test.HttpMethod
- deleteById(Object) - Method in class com.codename1.backend.orm.Dao
-
Deletes the row with this key.
- deleteCharAt(int) - Method in class java.lang.StringBuffer
-
Removes the character at the specified position in this StringBuffer (shortening the StringBuffer by one character).
- deleteCharAt(int) - Method in class java.lang.StringBuilder
-
Removes the character at the specified position in this StringBuilder (shortening the StringBuilder by one character).
- deleteCookies(String...) - Method in class com.codename1.backend.security.LogoutConfigurer
-
Cookies to delete at sign-out, by name; each must have been set with the path
/. - deleteExpired(long) - Method in class com.codename1.backend.security.ratelimit.JdbcRateLimiter
-
Deletes the counts of every limiter whose window ended more than
olderThanSecondsago; for a scheduled job, since a key that is never seen again leaves its row behind. - deleteExpired(long, long) - Method in class com.codename1.backend.security.rememberme.JdbcTokenRepository
-
Deletes the series last used more than
olderThanSecondsago: for a scheduled job, since a cookie nobody presents again leaves its row behind. - DeleteMapping - Annotation Type in com.codename1.backend.annotations
-
Maps an HTTP DELETE to this method.
- deleteObject(String, String) - Method in class com.codename1.backend.aws.S3
- deleteObserver(Observer) - Method in class java.util.Observable
-
Removes the specified observer from the list of observers.
- deleteObservers() - Method in class java.util.Observable
-
Removes all observers from the list of observers.
- deleteUser(String) - Method in class com.codename1.backend.security.core.userdetails.InMemoryUserDetailsManager
- deleteUser(String) - Method in class com.codename1.backend.security.core.userdetails.JdbcUserDetailsManager
- deleteUser(String) - Method in interface com.codename1.backend.security.core.userdetails.UserDetailsManager
- DENIED - Static variable in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
-
A device grant the user refused.
- deny() - Method in class com.codename1.backend.security.HeadersConfigurer.FrameOptionsConfig
-
No page may be framed.
- denyAll() - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
-
Nobody.
- DenyAll - Annotation Type in com.codename1.backend.annotations
-
Lets nobody call this method -- or any public method of this class.
- Deprecated - Annotation Type in java.lang
-
An annotation for marking an element as deprecated.
- Deque<E> - Interface in java.util
-
A kind of collection that can insert or remove element at both ends("double ended queue").
- Der - Class in com.codename1.backend.security.crypto
-
The little ASN.1 DER a server needs to move keys and signatures between the shapes they travel in: a JSON Web Key's numbers and the SubjectPublicKeyInfo that
Crypto.verify(String, byte[], byte[], byte[])takes; a PKCS#1 or SEC 1 private key out of an older PEM file and the PKCS#8 thatCrypto.sign(String, byte[], byte[])takes; an ECDSA signature as OpenSSL and the JDK write it and as a JSON Web Signature carries it. - derive(String, int, long) - Method in class com.codename1.backend.security.ratelimit.InMemoryRateLimiter
-
A limiter in this process with counts of its own, read on the same clock; the name is not needed to keep them apart.
- derive(String, int, long) - Method in class com.codename1.backend.security.ratelimit.JdbcRateLimiter
-
A limiter over the same table, under
name, read on the same clock. - derive(String, int, long) - Method in interface com.codename1.backend.security.ratelimit.RateLimiter
-
A limiter that keeps its counts where this one does, apart from this one's, with a limit of its own; null when this limiter cannot make one, which is what it answers unless it says more.
- descendingIterator() - Method in class java.util.ArrayDeque
-
Returns the iterator in reverse order, from tail to head.
- descendingIterator() - Method in interface java.util.Deque
-
Returns the iterator in reverse order, from tail to head.
- descendingIterator() - Method in class java.util.LinkedList
-
Returns the iterator in reverse order, from tail to head.
- descendingIterator() - Method in interface java.util.NavigableSet
-
Answers a descending iterator of this set.
- descendingIterator() - Method in class java.util.TreeSet
-
Answers a descending iterator of this set.
- descendingKeySet() - Method in interface java.util.NavigableMap
-
Answers a NavigableSet view of the keys in descending order.
- descendingKeySet() - Method in class java.util.TreeMap
-
Answers a NavigableSet view of the keys in descending order.
- descendingMap() - Method in interface java.util.NavigableMap
-
Answers a reverse order view of the map.
- descendingMap() - Method in class java.util.TreeMap
-
Answers a reverse order view of the map.
- descendingSet() - Method in interface java.util.NavigableSet
-
Answers a reverse order view of this set.
- descendingSet() - Method in class java.util.TreeSet
-
Answers a reverse order view of this set.
- describe() - Method in class com.codename1.backend.Config
-
What was read, for a start-up line.
- description() - Element in annotation type com.codename1.annotations.db.Migration
-
What the migration does; recorded in the schema history.
- description() - Element in annotation type com.codename1.backend.annotations.Counted
-
What it counts, for the listing.
- description() - Element in annotation type com.codename1.backend.annotations.ManagedAttribute
-
What the value means, for the listing.
- description() - Element in annotation type com.codename1.backend.annotations.ManagedOperation
-
What the operation does, for the listing.
- description() - Element in annotation type com.codename1.backend.annotations.ManagedResource
-
What the bean is, for the listing.
- description() - Element in annotation type com.codename1.backend.annotations.McpParam
-
What the argument is, for the agent.
- description() - Element in annotation type com.codename1.backend.annotations.McpTool
-
What the tool does.
- description() - Element in annotation type com.codename1.backend.annotations.Timed
-
What it measures, for the listing.
- descriptorOf(long) - Static method in class com.codename1.backend.VirtualThread
-
The descriptor this virtual thread serves, or -1.
- desiredAssertionStatus() - Method in class java.lang.Class
-
Deprecated
- destroyMethod() - Element in annotation type com.codename1.backend.annotations.Bean
-
A no-argument method of the returned object the build calls when the server stops.
- detach(Object) - Method in interface com.codename1.orm.session.Session
-
Stops tracking an instance, discarding its unflushed changes.
- DETACH - Enum constant in enum com.codename1.annotations.db.CascadeType
-
Detaches already loaded related entities.
- DEVICE_CODE - Static variable in class com.codename1.backend.security.oauth2.core.AuthorizationGrantType
- DEVICE_CODE - Static variable in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
The kind of an RFC 8628 device code.
- DEVICE_VERIFICATION_ATTEMPTS - Static variable in class com.codename1.backend.security.AuthorizationServerConfigurer
-
The setting that holds how many device codes one user may try at the verification page in one window; 10 unless set.
- DEVICE_VERIFICATION_WINDOW - Static variable in class com.codename1.backend.security.AuthorizationServerConfigurer
-
The setting that holds the length of that window in seconds; 300 unless set.
- deviceAuthorizationEndpoint(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings.Builder
- deviceCodeTimeToLive(long) - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings.Builder
- deviceVerification(HttpServer.Request, Authentication, String, String) - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationServer
-
Answers the device verification page for the signed-in user
authentication: the form that takes a user code, the question that follows a right one, and the answer to that question. - deviceVerification(HttpServer.Request, Authentication, String, String, String) - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationServer
-
OAuth2AuthorizationServer.deviceVerification(HttpServer.Request, Authentication, String, String), told the header a CSRF token may come back in as well. - deviceVerificationEndpoint(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings.Builder
- deviceVerificationRateLimiter(RateLimiter) - Method in class com.codename1.backend.security.AuthorizationServerConfigurer
-
What bounds how many device codes one user may try at the verification page, in place of what the application's
RateLimiterbean would count and of the count kept in this process. - dialect() - Method in class com.codename1.backend.Database
-
How this connection's engine spells what the three of them spell differently: parameter placeholders, identifier quoting, column types, the declaration of a generated key.
- dialect() - Method in class com.codename1.backend.DataSource
-
How this pool's engine spells things.
- dialect() - Method in class com.codename1.backend.orm.EntityManager
-
How this manager's engine spells things.
- dialect() - Method in interface com.codename1.migration.MigrationContext
-
The engine being migrated.
- Dialect - Class in com.codename1.backend.sql
-
What the three engines spell differently, in one place.
- Dictionary<K,
V> - Class in java.util -
**Note: Do not use this class since it is obsolete.
- Dictionary() - Constructor for class java.util.Dictionary
-
Constructs a new instance of this class.
- digest() - Method in class com.codename1.security.Hash
-
Finalises the running hash and returns the digest.
- digest(byte[]) - Method in class com.codename1.security.Hash
-
Convenience: feed
datathen return the digest. - digestLength() - Method in class com.codename1.security.Hash
-
Number of bytes in the digest produced by this hash.
- digit(char, int) - Static method in class java.lang.Character
-
Returns the numeric value of the character ch in the specified radix.
- disable() - Method in class com.codename1.backend.security.HeadersConfigurer.FrameOptionsConfig
-
Does not send the header.
- disable() - Method in class com.codename1.backend.security.HeadersConfigurer.HstsConfig
-
Does not send the header.
- disable() - Method in class com.codename1.backend.security.HeadersConfigurer.Toggle
-
Does not send the header.
- disable() - Method in class com.codename1.backend.security.SecurityConfigurer
-
Takes this part out of the chain:
http.csrf(csrf -> csrf.disable()). - disable(String) - Method in class com.codename1.backend.security.mfa.TotpService
-
Removes the second factor of
username. - disabled(boolean) - Method in class com.codename1.backend.security.core.userdetails.User.UserBuilder
- DISABLED - Static variable in class com.codename1.backend.otel.OtlpTracer
- DisabledException - Exception Class in com.codename1.backend.security
-
The account is disabled.
- DisabledException(String) - Constructor for exception class com.codename1.backend.security.DisabledException
- DisabledException(String, Throwable) - Constructor for exception class com.codename1.backend.security.DisabledException
- discard() - Method in class com.codename1.backend.Span
-
Drops the span: it ends normally but is never exported.
- discriminatorColumn() - Element in annotation type com.codename1.annotations.db.Inheritance
-
Names the column distinguishing concrete classes in this single-table hierarchy.
- DiscriminatorValue - Annotation Type in com.codename1.annotations.db
-
The persistent discriminator for a concrete class in an entity hierarchy.
- disjoint(Collection, Collection) - Static method in class java.util.Collections
-
Returns whether the specified collections have no elements in common.
- displayName() - Method in class java.nio.charset.Charset
- distinct() - Method in interface java.util.stream.Stream
- Documented - Annotation Type in java.lang.annotation
- doesNotExist() - Method in class com.codename1.backend.test.JsonPathResultMatchers
-
No non-null value is there: the path is absent or holds JSON
null. - doesNotExist(String) - Method in class com.codename1.backend.test.CookieResultMatchers
- doesNotExist(String) - Method in class com.codename1.backend.test.HeaderResultMatchers
- doFilter(HttpServer.Request) - Method in interface com.codename1.backend.security.FilterChain
-
The answer of what follows; null when no route takes the request.
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.AnonymousAuthenticationFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.ApiKeyAuthenticationFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.AuthorizationFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.BasicAuthenticationFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.BearerTokenAuthenticationFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.CsrfFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.DefaultLoginPageGeneratingFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.ExceptionTranslationFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.HeaderWriterFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.LogoutFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.OAuth2AuthorizationEndpointFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.OAuth2AuthorizationRequestRedirectFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.OAuth2AuthorizationServerFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.OAuth2LoginAuthenticationFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.RateLimitFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.RememberMeAuthenticationFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.SecondFactorAuthenticationFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.SecurityContextHolderFilter
- doFilter(HttpServer.Request, FilterChain) - Method in interface com.codename1.backend.security.SecurityFilter
-
The answer to
request; null when nothing under the chain routes it, which the server answers 404. - doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.UsernamePasswordAuthenticationFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.WebAuthnAuthenticationFilter
- doFilter(HttpServer.Request, FilterChain) - Method in class com.codename1.backend.security.WebAuthnRegistrationFilter
- doFinal() - Method in class com.codename1.security.Hmac
-
Finalises and returns the authentication tag.
- doFinal(byte[]) - Method in class com.codename1.security.Hmac
-
One-shot convenience.
- Double - Class in java.lang
-
The Double class wraps a value of the primitive type double in an object.
- Double(double) - Constructor for class java.lang.Double
-
Constructs a newly allocated Double object that represents the primitive double argument.
- doubleToLongBits(double) - Static method in class java.lang.Double
-
Returns a representation of the specified floating-point value according to the IEEE 754 floating-point "double format" bit layout.
- doubleValue() - Method in class java.lang.Byte
- doubleValue() - Method in class java.lang.Double
-
Returns the double value of this Double.
- doubleValue() - Method in class java.lang.Float
-
Returns the double value of this Float object.
- doubleValue() - Method in class java.lang.Integer
-
Returns the value of this Integer as a double.
- doubleValue() - Method in class java.lang.Long
-
Returns the value of this Long as a double.
- doubleValue() - Method in class java.lang.Number
- doubleValue() - Method in class java.lang.Short
- doubleValue() - Method in class java.util.concurrent.atomic.AtomicInteger
- doubleValue() - Method in class java.util.concurrent.atomic.AtomicLong
- drain() - Method in class com.codename1.backend.Http2
-
Runs the session's output side and returns the bytes to put on the wire.
- drainWake(int) - Static method in class com.codename1.backend.Reactor
-
Empties the pipe once its poller has woken.
- dropArguments(MethodHandle, int, Class...) - Static method in class java.lang.invoke.MethodHandles
- dropArguments(MethodHandle, int, List) - Static method in class java.lang.invoke.MethodHandles
- dropParameterTypes(int, int) - Method in class java.lang.invoke.MethodType
- dropTable() - Method in class com.codename1.backend.orm.Dao
-
DROP TABLE IF EXISTS.
- Duration - Class in java.time
- dynamicInvoker() - Method in class java.lang.invoke.CallSite
E
- E - Static variable in class java.lang.Math
-
The double value that is closer than any other to e, the base of the natural logarithms.
- EAGER - Enum constant in enum com.codename1.annotations.db.FetchType
-
Initializes the relationship when its owner is loaded.
- EC - Static variable in class com.codename1.backend.security.crypto.Der
-
The key type of an elliptic curve key, as a JSON Web Key names it.
- ecCoordinateLength(String) - Static method in class com.codename1.backend.security.crypto.Der
- ecCurve(byte[]) - Static method in class com.codename1.backend.security.crypto.Der
- ecdsaDerToJose(byte[], int) - Static method in class com.codename1.backend.security.crypto.Der
-
An ECDSA signature as a JSON Web Signature carries it -- r and s side by side, each padded to the curve's size -- from the ASN.1 DER that
Crypto.sign(String, byte[], byte[])returns. - ecdsaJoseToDer(byte[]) - Static method in class com.codename1.backend.security.crypto.Der
-
The ASN.1 DER
Crypto.verify(String, byte[], byte[], byte[])takes, from an ECDSA signature as a JSON Web Signature carries it. - ecPublicKey(String, byte[], byte[]) - Static method in class com.codename1.backend.security.crypto.Der
- ecPublicKeyParts(byte[]) - Static method in class com.codename1.backend.security.crypto.Der
-
The two coordinates of an EC SubjectPublicKeyInfo's point, each as long as
Der.ecCoordinateLength(String)says. - element() - Method in class java.util.AbstractQueue
-
Returns but does not remove the element at the head of the queue.
- element() - Method in class java.util.ArrayDeque
-
Gets but does not remove the head element of this deque.
- element() - Method in class java.util.LinkedList
- element() - Method in interface java.util.Queue
-
Gets but does not remove the element at the head of the queue.
- elementAt(int) - Method in class java.util.Vector
-
Returns the element at the specified location in this vector.
- ElementCollection - Annotation Type in com.codename1.annotations.db
-
Mapping for an owned collection of scalar values.
- elementCount - Variable in class java.util.Vector
-
The number of elements or the size of the vector.
- elementData - Variable in class java.util.Vector
-
The elements of the vector.
- elementName() - Method in exception class java.lang.annotation.IncompleteAnnotationException
- elements() - Method in class java.util.Dictionary
-
Returns an enumeration on the elements of this dictionary.
- elements() - Method in class java.util.Hashtable
-
Returns an enumeration on the values of this
Hashtable. - elements() - Method in class java.util.Vector
-
Returns an enumeration on the elements of this vector.
- ElementType - Enum in java.lang.annotation
-
A mirror of java.lang.annotation.ElementType.
- EMAIL_NOT_VERIFIED - Static variable in class com.codename1.backend.security.oauth2.client.LinkingOAuth2UserService
-
The provider does not vouch for the user's email address.
- Embeddable - Annotation Type in com.codename1.annotations.db
-
A reusable value object whose scalar fields are stored in its owner table.
- Embedded - Annotation Type in com.codename1.annotations.db
-
Flattens an embeddable value into the owner table using a field-name prefix.
- EmbeddedId - Annotation Type in com.codename1.annotations.db
-
Flattens an embeddable identifier into the owner table using a field-name prefix.
- empty() - Method in class java.util.Stack
-
Returns whether the stack is empty or not.
- empty() - Static method in interface java.util.stream.Stream
- empty(int, String, Map) - Static method in class com.codename1.backend.HttpServer.Response
-
A response with headers but no body, for 304 and for HEAD.
- EMPTY_LIST - Static variable in class java.util.Collections
-
An empty immutable instance of
List. - EMPTY_MAP - Static variable in class java.util.Collections
-
An empty immutable instance of
Map. - EMPTY_SET - Static variable in class java.util.Collections
-
An empty immutable instance of
Set. - emptyList() - Static method in class java.util.Collections
-
Returns a type-safe empty, immutable
List. - emptyMap() - Static method in class java.util.Collections
-
Returns a type-safe empty, immutable
Map. - emptySet() - Static method in class java.util.Collections
-
Returns a type-safe empty, immutable
Set. - EmptyStackException - Exception Class in java.util
-
Thrown by methods in the Stack class to indicate that the stack is empty.
- EmptyStackException() - Constructor for exception class java.util.EmptyStackException
-
Constructs a new EmptyStackException with null as its error message string.
- ENABLED - Static variable in class com.codename1.backend.otel.OtlpMetricExporter
- ENABLED - Static variable in class com.codename1.backend.security.SecuritySchema
-
The setting that makes the build register the set.
- enableWriteAheadLog() - Method in class com.codename1.backend.Db
-
Switches the database to write-ahead logging, which is what lets readers run while a writer is active.
- encode(byte[]) - Static method in class com.codename1.backend.Base64
- encode(byte[]) - Static method in class com.codename1.backend.Base64Url
- encode(byte[]) - Static method in class com.codename1.security.Base32
-
Encodes the bytes as a Base32 string (uppercase, with
=padding). - encode(Authentication) - Method in interface com.codename1.backend.security.AuthenticationCodec
-
What to keep of
authenticationbeside its name and authorities, as plain values; null when it is not of this codec's kind. - encode(JwtEncoderParameters) - Method in class com.codename1.backend.security.oauth2.jwt.DefaultJwtEncoder
- encode(JwtEncoderParameters) - Method in interface com.codename1.backend.security.oauth2.jwt.JwtEncoder
-
The signed token.
- encode(CharSequence) - Method in class com.codename1.backend.security.crypto.BCryptPasswordEncoder
- encode(CharSequence) - Method in class com.codename1.backend.security.crypto.DelegatingPasswordEncoder
- encode(CharSequence) - Method in class com.codename1.backend.security.crypto.NoOpPasswordEncoder
- encode(CharSequence) - Method in interface com.codename1.backend.security.crypto.PasswordEncoder
-
The password as it should be stored: salted and hashed, so encoding one password twice gives two different results.
- encode(CharSequence) - Method in class com.codename1.backend.security.crypto.Pbkdf2PasswordEncoder
- encode(CharSequence) - Method in class com.codename1.backend.security.crypto.Pbkdf2Sha256PasswordEncoder
- encode(String) - Static method in class com.codename1.backend.aws.Aws
-
RFC 3986 unreserved characters pass; everything else becomes %XX with UPPER case hex.
- encode(String) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
valueasapplication/x-www-form-urlencodedwrites it: every byte of its UTF-8 that is not a letter, a digit or one of-._~as%XX. - encodePath(String) - Static method in class com.codename1.backend.aws.Aws
-
The path, percent-encoded segment by segment.
- ENCRYPTION_KEY - Static variable in class com.codename1.backend.security.mfa.JdbcTotpRepository
-
The setting that holds the key.
- end() - Method in class com.codename1.backend.Span
-
Ends the span.
- end() - Method in class com.codename1.io.gzip.Deflater
- end() - Method in class com.codename1.io.gzip.Inflater
- end() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.Those methods are expected to be override by Inflater and Deflater.
- endOfStatement(String) - Method in class com.codename1.backend.sql.Dialect
-
Where
sqlstops being the statement and starts being its terminator, its trailing comment or trailing space. - endpoint() - Element in annotation type com.codename1.backend.annotations.OpenTelemetry
-
The collector's base URL,
cn1.otel.endpoint, compiled in belowOTEL_EXPORTER_OTLP_ENDPOINTand the properties files. - ENDPOINT - Static variable in class com.codename1.backend.otel.OtlpMetricExporter
- ENDPOINT - Static variable in class com.codename1.backend.otel.OtlpTracer
- endsWith(String) - Method in class java.lang.String
-
Tests if this string ends with the specified suffix.
- ensure(int) - Method in class com.codename1.backend.ByteSink
- ensureCapacity(int) - Method in class java.lang.StringBuffer
-
Ensures that the capacity of the buffer is at least equal to the specified minimum.
- ensureCapacity(int) - Method in class java.lang.StringBuilder
-
Ensures that the capacity of the builder is at least equal to the specified minimum.
- ensureCapacity(int) - Method in class java.util.ArrayList
-
Ensures that after this operation the
ArrayListcan hold the specified number of elements without further growing. - ensureCapacity(int) - Method in class java.util.Vector
-
Ensures that this vector can hold the specified number of elements without growing.
- Entity - Annotation Type in com.codename1.annotations
-
Marks a POJO or
PropertyBusinessObjectas a persistent entity, in the app and on the Codename One backend alike. - EntityDefinition - Class in com.codename1.backend.orm
-
What the build generated about one entity class: its table, its columns, and reflection-free access to its fields.
- EntityDefinition() - Constructor for class com.codename1.backend.orm.EntityDefinition
- EntityManager - Class in com.codename1.backend.orm
-
The entry point to the build-time ORM: entities in, daos out.
- EntityManager.Work - Interface in com.codename1.backend.orm
-
A unit of work run inside
EntityManager.transaction(EntityManager.Work). - entrySet() - Method in class java.util.AbstractMap
-
Returns a set containing all of the mappings in this map.
- entrySet() - Method in class java.util.HashMap
-
Returns a set containing all of the mappings in this map.
- entrySet() - Method in class java.util.Hashtable
-
Returns a set of the mappings contained in this
Hashtable. - entrySet() - Method in class java.util.IdentityHashMap
-
Returns a set containing all of the mappings in this map.
- entrySet() - Method in class java.util.LinkedHashMap
-
Returns a set containing all of the mappings in this map.
- entrySet() - Method in interface java.util.Map
-
Returns a
Setcontaining all of the mappings in thisMap. - entrySet() - Method in class java.util.TreeMap
-
Returns a set containing all of the mappings in this map.
- Enum<E> - Class in java.lang
-
Implementation class required to compile enums
- Enum(String, int) - Constructor for class java.lang.Enum
- enumeration(Collection) - Static method in class java.util.Collections
-
Returns an
Enumerationon the specified collection. - Enumeration<T> - Interface in java.util
-
An object that implements the Enumeration interface generates a series of elements, one at a time.
- EOFException - Exception Class in java.io
-
Signals that an end of file or end of stream has been reached unexpectedly during input.
- EOFException() - Constructor for exception class java.io.EOFException
-
Constructs an EOFException with null as its error detail message.
- EOFException(String) - Constructor for exception class java.io.EOFException
-
Constructs an EOFException with the specified detail message.
- eq(String, Object) - Method in class com.codename1.backend.orm.Query
-
field = value, or field IS NULL when the value is null.
- eq(String, Object) - Method in interface com.codename1.orm.session.Query
-
Adds an equality predicate; null matches SQL NULL.
- equal(Object, Object) - Static method in class com.codename1.backend.mvc.Html
- equals(boolean[], boolean[]) - Static method in class java.util.Arrays
-
Compares the two arrays.
- equals(byte[], byte[]) - Static method in class java.util.Arrays
-
Compares the two arrays.
- equals(char[], char[]) - Static method in class java.util.Arrays
-
Compares the two arrays.
- equals(double[], double[]) - Static method in class java.util.Arrays
-
Compares the two arrays.
- equals(float[], float[]) - Static method in class java.util.Arrays
-
Compares the two arrays.
- equals(int[], int[]) - Static method in class java.util.Arrays
-
Compares the two arrays.
- equals(long[], long[]) - Static method in class java.util.Arrays
-
Compares the two arrays.
- equals(short[], short[]) - Static method in class java.util.Arrays
-
Compares the two arrays.
- equals(Object) - Method in class com.codename1.backend.security.core.userdetails.User
- equals(Object) - Method in class com.codename1.backend.security.oauth2.core.AuthorizationGrantType
- equals(Object) - Method in class com.codename1.backend.security.oauth2.core.ClientAuthenticationMethod
- equals(Object) - Method in class com.codename1.backend.security.SimpleGrantedAuthority
- equals(Object) - Method in class com.codename1.orm.session.Identifier
-
Compares normalized components in identifier-field order.
- equals(Object) - Method in interface java.lang.annotation.Annotation
-
Returns true if the specified object represents an annotation that is logically equivalent to this one.
- equals(Object) - Method in class java.lang.Boolean
-
Returns true if and only if the argument is not null and is a Boolean object that represents the same boolean value as this object.
- equals(Object) - Method in class java.lang.Byte
-
Compares this object to the specified object.
- equals(Object) - Method in class java.lang.Character
-
Compares this object against the specified object.
- equals(Object) - Method in class java.lang.Double
-
Compares this object against the specified object.
- equals(Object) - Method in class java.lang.Enum
- equals(Object) - Method in class java.lang.Float
-
Compares this object against some other object.
- equals(Object) - Method in class java.lang.Integer
-
Compares this object to the specified object.
- equals(Object) - Method in class java.lang.Long
-
Compares this object against the specified object.
- equals(Object) - Method in class java.lang.Object
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class java.lang.Record
- equals(Object) - Method in class java.lang.Short
-
Compares this object to the specified object.
- equals(Object) - Method in class java.lang.String
-
Compares this string to the specified object.
- equals(Object) - Method in class java.net.URI
- equals(Object) - Method in class java.text.DateFormat
- equals(Object) - Method in class java.time.Duration
- equals(Object) - Method in class java.time.Instant
- equals(Object) - Method in class java.time.LocalDate
- equals(Object) - Method in class java.time.LocalDateTime
- equals(Object) - Method in class java.time.LocalTime
- equals(Object) - Method in class java.time.OffsetDateTime
- equals(Object) - Method in class java.time.ZonedDateTime
- equals(Object) - Method in class java.time.ZoneId
- equals(Object) - Method in class java.util.AbstractList
-
Compares the specified object to this list and return true if they are equal.
- equals(Object) - Method in class java.util.AbstractMap
-
Compares the specified object to this instance, and returns
trueif the specified object is a map and both maps contain the same mappings. - equals(Object) - Method in class java.util.AbstractMap.SimpleEntry
-
Answers whether the object is equal to this entry.
- equals(Object) - Method in class java.util.AbstractMap.SimpleImmutableEntry
-
Answers whether the object is equal to this entry.
- equals(Object) - Method in class java.util.AbstractSet
-
Compares the specified object to this Set and returns true if they are equal.
- equals(Object) - Method in class java.util.BitSet
-
Compares the argument to this
BitSetand returns whether they are equal. - equals(Object) - Method in class java.util.Calendar
-
Compares this calendar to the specified object.
- equals(Object) - Method in interface java.util.Collection
-
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison.
- equals(Object) - Method in interface java.util.Comparator
-
Compares this
Comparatorwith the specifiedObjectand indicates whether they are equal. - equals(Object) - Method in class java.util.Date
-
Compares two dates for equality.
- equals(Object) - Method in class java.util.Hashtable
-
Compares this
Hashtablewith the specified object and indicates if they are equal. - equals(Object) - Method in class java.util.IdentityHashMap
-
Compares this map with other objects.
- equals(Object) - Method in interface java.util.List
-
Compares the given object with the
List, and returns true if they represent the same object using a class specific comparison. - equals(Object) - Method in interface java.util.Map.Entry
-
Compares the specified object to this
Map.Entryand returns if they are equal. - equals(Object) - Method in interface java.util.Map
-
Compares the argument to the receiver, and returns
trueif the specified object is aMapand bothMaps contain the same mappings. - equals(Object) - Method in interface java.util.Set
-
Compares the specified object to this set, and returns true if they represent the same object using a class specific comparison.
- equals(Object) - Method in class java.util.Vector
-
Compares the specified object to this vector and returns if they are equal.
- equals(Object[], Object[]) - Static method in class java.util.Arrays
-
Compares the two arrays.
- equals(Object, Object) - Static method in class java.util.Objects
-
Returns true if the arguments are equal to each other and false otherwise.
- equalsConstantTime(byte[], byte[]) - Static method in class com.codename1.backend.Crypto
-
Compares without leaking where two values first differ.
- equalsConstantTime(String, String) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
Whether two values are equal, in time that does not depend on where they differ.
- equalsIgnoreCase(String) - Method in class java.lang.String
-
Compares this String to another String, ignoring case considerations.
- erase() - Method in class java.lang.invoke.MethodType
- eraseCredentials() - Method in class com.codename1.backend.security.AbstractAuthenticationToken
-
Drops the secret this token carried, once it has been checked.
- eraseCredentials() - Method in class com.codename1.backend.security.core.userdetails.User
-
Drops the password, once it has been checked.
- eraseCredentials() - Method in class com.codename1.backend.security.UsernamePasswordAuthenticationToken
- err - Static variable in class java.lang.System
-
The "standard" error output stream.
- Error - Exception Class in java.lang
-
An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
- Error() - Constructor for exception class java.lang.Error
-
Constructs an Error with no specified detail message.
- Error(String) - Constructor for exception class java.lang.Error
-
Constructs an Error with the specified detail message.
- errors(Model, String, String) - Static method in class com.codename1.backend.mvc.Html
- ES256 - Enum constant in enum com.codename1.backend.security.oauth2.jose.jws.SignatureAlgorithm
-
ECDSA on P-256 with SHA-256.
- ES256 - Static variable in class com.codename1.backend.Crypto
-
ECDSA over P-256 with SHA-256, and over P-384 with SHA-384.
- ES256 - Static variable in class com.codename1.backend.security.webauthn.CoseKey
-
The COSE identifier of ES256: ECDSA on P-256 with SHA-256.
- ES384 - Enum constant in enum com.codename1.backend.security.oauth2.jose.jws.SignatureAlgorithm
-
ECDSA on P-384 with SHA-384.
- ES384 - Static variable in class com.codename1.backend.Crypto
- EventListener - Interface in java.util
-
EventListener is the superclass of all event listener interfaces.
- EventListenerProxy - Class in java.util
-
This abstract class provides a simple wrapper for objects of type
EventListener. - EventListenerProxy(EventListener) - Constructor for class java.util.EventListenerProxy
-
Creates a new
EventListenerproxy instance. - exactInvoker(MethodType) - Static method in class java.lang.invoke.MethodHandles
- Exception - Exception Class in java.lang
-
The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
- Exception() - Constructor for exception class java.lang.Exception
-
Constructs an Exception with no specified detail message.
- Exception(String) - Constructor for exception class java.lang.Exception
-
Constructs an Exception with the specified detail message.
- Exception(String, Throwable) - Constructor for exception class java.lang.Exception
-
Constructs a new exception with message and cause.
- Exception(Throwable) - Constructor for exception class java.lang.Exception
-
Constructs a new exception with the provided cause.
- exceptionHandling(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
The answers to a request that must sign in or is denied; see
ExceptionHandlingConfigurer. - ExceptionHandlingConfigurer - Class in com.codename1.backend.security
-
How a chain answers a request that must sign in, and one that may not have what it asked for.
- ExceptionTranslationFilter - Class in com.codename1.backend.security
-
Turns the security exceptions thrown by what follows it -- the authorization rules, a controller, a service the controller calls -- into answers.
- exchange(String, HttpMethod, HttpEntity, Class, Object...) - Method in class com.codename1.backend.test.TestRestTemplate
-
Sends any method with any body and headers.
- execute(Runnable) - Method in class com.codename1.backend.TaskExecutor
-
Runs
taskon this executor. - execute(String, Object[]) - Method in class com.codename1.backend.Database
-
Synchronized, like the two below, because a shared session is not safe to interleave -- and for the network engines it is worse than interleaved transactions.
- execute(String, Object[]) - Method in class com.codename1.backend.DataSource
-
One statement on a borrowed connection.
- execute(String, Object[]) - Method in class com.codename1.backend.Db
-
Runs a statement that returns no rows.
- execute(String, Object[]) - Method in class com.codename1.backend.sql.MySql
- execute(String, Object[]) - Method in class com.codename1.backend.sql.Postgres
-
Runs a statement that returns no rows, and returns the number affected.
- execute(String, Object[]) - Method in interface com.codename1.migration.MigrationContext
-
Runs one statement.
- executeUpdate() - Method in interface com.codename1.orm.session.JpqlQuery
-
Executes a bulk update or delete in an active transaction.
- ExecutionException - Exception Class in java.util.concurrent
-
Thrown by
Future.get()when the work failed; the cause is what it threw. - ExecutionException() - Constructor for exception class java.util.concurrent.ExecutionException
-
An exception with no message or cause.
- ExecutionException(String) - Constructor for exception class java.util.concurrent.ExecutionException
-
An exception with
message. - ExecutionException(String, Throwable) - Constructor for exception class java.util.concurrent.ExecutionException
-
An exception with
messageand the failure that caused it. - ExecutionException(Throwable) - Constructor for exception class java.util.concurrent.ExecutionException
-
An exception wrapping the failure that caused it.
- executor() - Element in annotation type com.codename1.backend.annotations.Scheduled
-
The executor to run on.
- executors() - Static method in class com.codename1.backend.Tasks
-
The executors of every running server, for a listing.
- exists() - Method in class com.codename1.backend.test.JsonPathResultMatchers
-
A non-null value is there.
- exists(String) - Method in class com.codename1.backend.test.CookieResultMatchers
- exists(String) - Method in class com.codename1.backend.test.HeaderResultMatchers
- exit(int) - Method in class java.lang.Runtime
-
Terminates the currently running Java application.
- exit(int) - Static method in class java.lang.System
-
Terminates the currently running Java application.
- EXP - Static variable in class com.codename1.backend.security.oauth2.jwt.JwtClaimNames
-
When the token stops being valid, in seconds since the epoch.
- EXPECTATION_FAILED - Enum constant in enum com.codename1.backend.test.HttpStatus
- EXPIRED_TOKEN - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
RFC 8628: the device code ran out before the user answered.
- expiresAt(long) - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet.Builder
-
exp, in seconds since the epoch. - explicitCastArguments(MethodHandle, MethodType) - Static method in class java.lang.invoke.MethodHandles
- export() - Method in class com.codename1.backend.otel.OtlpMetricExporter
-
Sends one export now.
- EXPORT_DELAY - Static variable in class com.codename1.backend.otel.OtlpTracer
- extendToken(String, String, long, long) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- extendToken(String, String, long, long) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- extendToken(String, String, long, long) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
Extends an unused, unexpired token to at least
expiresAt, atomically.
F
- failed(Throwable) - Static method in class com.codename1.backend.AsyncResult
-
A result that failed with
failure, for a body that reports rather than throws. - FAILED - Enum constant in enum com.codename1.migration.MigrationState
-
Applied and failed; the database may hold half of it.
- FAILED_MIGRATION_PRESENT - Static variable in exception class com.codename1.migration.MigrationException
-
A previous run left a migration marked failed; call
Migrator.repair()after cleaning up. - failure(HttpServer.Request) - Method in class com.codename1.backend.security.SessionSignIn
-
A mechanism refused the credentials it was given.
- failure(OAuth2Error...) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2TokenValidatorResult
-
The token failed, for these reasons.
- failure(Collection) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2TokenValidatorResult
-
The token failed, for these reasons; passed, when there are none.
- failureHandler(AuthenticationFailureHandler) - Method in class com.codename1.backend.security.FormLoginConfigurer
-
Answers a refused sign-in itself, instead of the redirect.
- failureHandler(AuthenticationFailureHandler) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
What answers a refused sign-in.
- failureHandler(AuthenticationFailureHandler) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
Answers a refused sign-in itself, instead of the 401; it is handed the exception, which says why.
- failureUrl(String) - Method in class com.codename1.backend.security.FormLoginConfigurer
-
Where a refused sign-in goes; the login page with
?errorunless set. - failureUrl(String) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
Where a refused sign-in goes; the login page with
?errorunless set. - fallback(HttpServer.WebSocketHandler) - Method in interface com.codename1.backend.HttpServer.WebSocketRegistry
-
Consulted for any upgrade
HttpServer.WebSocketRegistry.route(String, WebSocket)did not claim. - FALSE - Static variable in class java.lang.Boolean
-
The Boolean object corresponding to the primitive value false.
- FEBRUARY - Static variable in class java.util.Calendar
-
Value of the MONTH field indicating the second month of the year.
- FederatedIdentityRepository - Interface in com.codename1.backend.security.oauth2.client
-
Which local user each identity at a provider is: the pairs of a registration's id and the provider's subject, each tied to one user name.
- fetch() - Element in annotation type com.codename1.annotations.db.ElementCollection
-
Controls relationship initialization.
- fetch() - Element in annotation type com.codename1.annotations.db.ManyToMany
-
Controls relationship initialization.
- fetch() - Element in annotation type com.codename1.annotations.db.ManyToOne
-
Controls relationship initialization.
- fetch() - Element in annotation type com.codename1.annotations.db.OneToMany
-
Controls relationship initialization.
- fetch() - Element in annotation type com.codename1.annotations.db.OneToOne
-
Controls relationship initialization.
- fetch(String) - Method in interface com.codename1.backend.security.oauth2.jwt.RemoteJwkSet.Fetcher
-
The body of a successful response.
- fetch(String) - Method in interface com.codename1.orm.session.Query
-
Initializes a direct relationship for returned entities, overriding lazy mapping.
- FetchType - Enum in com.codename1.annotations.db
-
Controls when a mapped relationship is loaded.
- field(Model, String, String, Object) - Static method in class com.codename1.backend.mvc.Html
- FIELD - Enum constant in enum java.lang.annotation.ElementType
- fields - Variable in class java.util.Calendar
-
The field values for the currently set time for this calendar.
- fields() - Element in annotation type com.codename1.annotations.db.Index
-
Lists Java attribute names in index order, not SQL column names.
- fieldValue(String, Object) - Method in class com.codename1.backend.mvc.BindingResult
- file(int, String, int, long, long, Map) - Static method in class com.codename1.backend.HttpServer.Response
-
A response whose body is a file.
- file(MockMultipartFile) - Method in class com.codename1.backend.test.MockMultipartRequestBuilder
-
Adds a file part.
- file(String, byte[]) - Method in class com.codename1.backend.test.MockMultipartRequestBuilder
-
Adds a file part with no filename.
- FileIo - Class in com.codename1.backend
-
The file-system calls a static handler needs, isolated so that everything else in
StaticFiles-- ranges, conditional requests, MIME types, the containment check -- is pure Java and shared by every target. - FileNotFoundException - Exception Class in java.io
-
Signals that an attempt to open the file denoted by a specified pathname has failed.
- FileNotFoundException() - Constructor for exception class java.io.FileNotFoundException
- FileNotFoundException(String) - Constructor for exception class java.io.FileNotFoundException
- fill() - Method in class com.codename1.io.gzip.InflaterInputStream
- fill(boolean[], boolean) - Static method in class java.util.Arrays
-
Fills the specified array with the specified element.
- fill(boolean[], int, int, boolean) - Static method in class java.util.Arrays
-
Fills the specified range in the array with the specified element.
- fill(byte[], byte) - Static method in class java.util.Arrays
-
Fills the specified array with the specified element.
- fill(byte[], int, int, byte) - Static method in class java.util.Arrays
-
Fills the specified range in the array with the specified element.
- fill(char[], char) - Static method in class java.util.Arrays
-
Fills the specified array with the specified element.
- fill(char[], int, int, char) - Static method in class java.util.Arrays
-
Fills the specified range in the array with the specified element.
- fill(double[], double) - Static method in class java.util.Arrays
-
Fills the specified array with the specified element.
- fill(double[], int, int, double) - Static method in class java.util.Arrays
-
Fills the specified range in the array with the specified element.
- fill(float[], float) - Static method in class java.util.Arrays
-
Fills the specified array with the specified element.
- fill(float[], int, int, float) - Static method in class java.util.Arrays
-
Fills the specified range in the array with the specified element.
- fill(int[], int) - Static method in class java.util.Arrays
-
Fills the specified array with the specified element.
- fill(int[], int, int, int) - Static method in class java.util.Arrays
-
Fills the specified range in the array with the specified element.
- fill(long[], int, int, long) - Static method in class java.util.Arrays
-
Fills the specified range in the array with the specified element.
- fill(long[], long) - Static method in class java.util.Arrays
-
Fills the specified array with the specified element.
- fill(short[], int, int, short) - Static method in class java.util.Arrays
-
Fills the specified range in the array with the specified element.
- fill(short[], short) - Static method in class java.util.Arrays
-
Fills the specified array with the specified element.
- fill(Object[], int, int, Object) - Static method in class java.util.Arrays
-
Fills the specified range in the array with the specified element.
- fill(Object[], Object) - Static method in class java.util.Arrays
-
Fills the specified array with the specified element.
- fill(List, T) - Static method in class java.util.Collections
-
Fills the specified list with the specified element.
- filter(Predicate) - Method in interface java.util.stream.Stream
- filterArguments(MethodHandle, int, MethodHandle...) - Static method in class java.lang.invoke.MethodHandles
- FilterChain - Interface in com.codename1.backend.security
-
The rest of the chain, as a
SecurityFiltersees it: the filters after it and then the application's routes. - FilterInputStream - Class in com.codename1.io.gzip
-
Simple version of filter input stream
- FilterInputStream(InputStream) - Constructor for class com.codename1.io.gzip.FilterInputStream
- FilterOutputStream - Class in com.codename1.io.gzip
-
Dummy implementation of filter output stream
- FilterOutputStream(OutputStream) - Constructor for class com.codename1.io.gzip.FilterOutputStream
- filterReturnValue(MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
- find(Class, Object) - Method in interface com.codename1.orm.session.Session
-
Finds an entity, reusing its managed instance when present.
- find(Class, Object, LockMode) - Method in interface com.codename1.orm.session.Session
-
Finds an entity and optionally locks its database row.
- find(String) - Method in class com.codename1.backend.security.mfa.InMemoryTotpRepository
- find(String) - Method in class com.codename1.backend.security.mfa.JdbcTotpRepository
- find(String) - Method in interface com.codename1.backend.security.mfa.TotpRepository
-
The credential of
username, or null. - find(String, Object[]) - Method in class com.codename1.backend.orm.Dao
-
Rows matching a WHERE clause written by hand, for the query the builder cannot express.
- findAll() - Method in class com.codename1.backend.orm.Dao
-
Every row.
- findAll() - Method in class com.codename1.backend.security.apikey.InMemoryApiKeyRepository
-
Every key, in the order they were added.
- findAll() - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryRegisteredClientRepository
- findAll() - Method in interface com.codename1.backend.security.oauth2.server.authorization.RegisteredClientRepository
-
Every client there is, when that is known as the server starts and does not change behind it; null otherwise, which is what a repository answers unless it says more.
- findByClientId(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryRegisteredClientRepository
- findByClientId(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcRegisteredClientRepository
- findByClientId(String) - Method in interface com.codename1.backend.security.oauth2.server.authorization.RegisteredClientRepository
-
The client that calls itself this, or null.
- findByCredentialId(byte[]) - Method in class com.codename1.backend.security.webauthn.InMemoryUserCredentialRepository
- findByCredentialId(byte[]) - Method in class com.codename1.backend.security.webauthn.JdbcUserCredentialRepository
- findByCredentialId(byte[]) - Method in interface com.codename1.backend.security.webauthn.UserCredentialRepository
-
The credential with this id, or null.
- findByHash(String) - Method in interface com.codename1.backend.security.apikey.ApiKeyRepository
-
The key with this hash, or null.
- findByHash(String) - Method in class com.codename1.backend.security.apikey.InMemoryApiKeyRepository
- findByHash(String) - Method in class com.codename1.backend.security.apikey.JdbcApiKeyRepository
- findById(byte[]) - Method in class com.codename1.backend.security.webauthn.InMemoryPublicKeyCredentialUserEntityRepository
- findById(byte[]) - Method in class com.codename1.backend.security.webauthn.JdbcPublicKeyCredentialUserEntityRepository
- findById(byte[]) - Method in interface com.codename1.backend.security.webauthn.PublicKeyCredentialUserEntityRepository
-
The user with this handle, or null.
- findById(Object) - Method in class com.codename1.backend.orm.Dao
-
The row with this key, or null.
- findById(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- findById(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryRegisteredClientRepository
- findById(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- findById(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcRegisteredClientRepository
- findById(String) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
The grant with this id, or null: one that was removed is revoked.
- findById(String) - Method in interface com.codename1.backend.security.oauth2.server.authorization.RegisteredClientRepository
-
The client stored under this id, or null.
- findByOwner(String) - Method in class com.codename1.backend.security.apikey.JdbcApiKeyRepository
-
The keys of one owner, oldest first.
- findByRegistrationId(String) - Method in interface com.codename1.backend.security.oauth2.client.ClientRegistrationRepository
-
The registration under this id, or null.
- findByRegistrationId(String) - Method in class com.codename1.backend.security.oauth2.client.InMemoryClientRegistrationRepository
- findByUserId(byte[]) - Method in class com.codename1.backend.security.webauthn.InMemoryUserCredentialRepository
- findByUserId(byte[]) - Method in class com.codename1.backend.security.webauthn.JdbcUserCredentialRepository
- findByUserId(byte[]) - Method in interface com.codename1.backend.security.webauthn.UserCredentialRepository
-
The credentials of the user with this handle, oldest first; empty when they have none.
- findByUsername(String) - Method in interface com.codename1.backend.security.oauth2.client.FederatedIdentityRepository
-
The identities tied to
username, each as{provider, subject}. - findByUsername(String) - Method in class com.codename1.backend.security.oauth2.client.InMemoryFederatedIdentityRepository
- findByUsername(String) - Method in class com.codename1.backend.security.oauth2.client.JdbcFederatedIdentityRepository
- findByUsername(String) - Method in class com.codename1.backend.security.webauthn.InMemoryPublicKeyCredentialUserEntityRepository
- findByUsername(String) - Method in class com.codename1.backend.security.webauthn.JdbcPublicKeyCredentialUserEntityRepository
- findByUsername(String) - Method in interface com.codename1.backend.security.webauthn.PublicKeyCredentialUserEntityRepository
-
The user of this name, or null.
- findConstructor(Class, MethodType) - Method in class java.lang.invoke.MethodHandles.Lookup
- findGetter(Class, String, Class) - Method in class java.lang.invoke.MethodHandles.Lookup
- findHashes(String) - Method in class com.codename1.backend.security.mfa.InMemoryRecoveryCodeRepository
- findHashes(String) - Method in class com.codename1.backend.security.mfa.JdbcRecoveryCodeRepository
- findHashes(String) - Method in interface com.codename1.backend.security.mfa.RecoveryCodeRepository
-
A snapshot of the user's salted password hashes, for checking a presented code.
- findOne(String, Object[]) - Method in class com.codename1.backend.orm.Dao
-
The first row matching a hand-written WHERE clause, or null.
- findSetter(Class, String, Class) - Method in class java.lang.invoke.MethodHandles.Lookup
- findSpecial(Class, String, MethodType, Class) - Method in class java.lang.invoke.MethodHandles.Lookup
- findStatic(Class, String, MethodType) - Method in class java.lang.invoke.MethodHandles.Lookup
- findStaticGetter(Class, String, Class) - Method in class java.lang.invoke.MethodHandles.Lookup
- findStaticSetter(Class, String, Class) - Method in class java.lang.invoke.MethodHandles.Lookup
- findToken(String, String) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- findToken(String, String) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- findToken(String, String) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
What is stored for a secret, whatever its state; null when nothing is.
- findUsername(String, String) - Method in interface com.codename1.backend.security.oauth2.client.FederatedIdentityRepository
-
The local user this identity is tied to, or null.
- findUsername(String, String) - Method in class com.codename1.backend.security.oauth2.client.InMemoryFederatedIdentityRepository
- findUsername(String, String) - Method in class com.codename1.backend.security.oauth2.client.JdbcFederatedIdentityRepository
- findVirtual(Class, String, MethodType) - Method in class java.lang.invoke.MethodHandles.Lookup
- finish() - Method in class com.codename1.io.gzip.DeflaterOutputStream
- finished() - Method in class com.codename1.io.gzip.Deflater
- finished() - Method in class com.codename1.io.gzip.Inflater
- finished() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- FINISHED - Static variable in class com.codename1.backend.VirtualThread
-
VirtualThread.resume(long): the connection is done and the handle should be freed. - finisher() - Method in interface java.util.stream.Collector
- first() - Method in class com.codename1.backend.orm.Query
-
The first matching row, or null.
- first() - Method in interface com.codename1.orm.session.JpqlQuery
-
Executes a select for at most one result, respecting the offset.
- first() - Method in interface com.codename1.orm.session.Query
-
Executes the query for at most one result, respecting the offset.
- first() - Method in interface java.util.SortedSet
-
Returns the first element in this
SortedSet. - first() - Method in class java.util.TreeSet
-
Answers the first element in this TreeSet.
- firstElement() - Method in class java.util.Vector
-
Returns the first element in this vector.
- firstEntry() - Method in interface java.util.NavigableMap
-
Answers the entry with the smallest key, or null if the map is empty.
- firstEntry() - Method in class java.util.TreeMap
-
Answers the entry with the smallest key, or null if the map is empty.
- firstKey() - Method in interface java.util.SortedMap
-
Returns the first key in this sorted map.
- firstKey() - Method in class java.util.TreeMap
-
Returns the first key in this map.
- firstOf(RateLimitKeyResolver...) - Static method in class com.codename1.backend.security.ratelimit.RateLimitKeys
-
The first of
resolversthat has a key for the request: who is signed in, or else the client's address. - fixed(Instant, ZoneId) - Static method in class java.time.Clock
- fixedDelay() - Element in annotation type com.codename1.backend.annotations.Scheduled
-
Milliseconds between the end of one run and the start of the next.
- fixedDelayString() - Element in annotation type com.codename1.backend.annotations.Scheduled
-
Scheduled.fixedDelay()as text, which may read configuration. - fixedRate() - Element in annotation type com.codename1.backend.annotations.Scheduled
-
Milliseconds between the starts of consecutive runs.
- fixedRateString() - Element in annotation type com.codename1.backend.annotations.Scheduled
-
Scheduled.fixedRate()as text, which may read configuration. - FLAG_BRIDGES - Static variable in class java.lang.invoke.LambdaMetafactory
- FLAG_MARKERS - Static variable in class java.lang.invoke.LambdaMetafactory
- FLAG_SERIALIZABLE - Static variable in class java.lang.invoke.LambdaMetafactory
- flip(int) - Method in class java.util.BitSet
-
Flips the bit at index
pos. - flip(int, int) - Method in class java.util.BitSet
-
Flips the bits starting from
pos1topos2. - Float - Class in java.lang
-
The Float class wraps a value of primitive type float in an object.
- Float(double) - Constructor for class java.lang.Float
-
Constructs a newly allocated Floatobject that represents the argument converted to type float.
- Float(float) - Constructor for class java.lang.Float
-
Constructs a newly allocated Float object that represents the primitive float argument.
- floatToIntBits(float) - Static method in class java.lang.Float
-
Returns the bit representation of a single-float value.
- floatValue() - Method in class java.lang.Byte
- floatValue() - Method in class java.lang.Double
-
Returns the float value of this Double.
- floatValue() - Method in class java.lang.Float
-
Returns the float value of this Float object.
- floatValue() - Method in class java.lang.Integer
-
Returns the value of this Integer as a float.
- floatValue() - Method in class java.lang.Long
-
Returns the value of this Long as a float.
- floatValue() - Method in class java.lang.Number
- floatValue() - Method in class java.lang.Short
- floatValue() - Method in class java.util.concurrent.atomic.AtomicInteger
- floatValue() - Method in class java.util.concurrent.atomic.AtomicLong
- floor(double) - Static method in class java.lang.Math
-
Returns the largest (closest to positive infinity) double value that is not greater than the argument and is equal to a mathematical integer.
- floor(E) - Method in interface java.util.NavigableSet
-
Answers the biggest element less than or equal to the specified one, or null if no such element.
- floor(E) - Method in class java.util.TreeSet
-
Answers the biggest element less than or equal to the specified one, or null if no such element.
- floorEntry(K) - Method in interface java.util.NavigableMap
-
Answers an entry related with the biggest key less than or equal to the specified key, or null if no such key.
- floorEntry(K) - Method in class java.util.TreeMap
-
Answers an entry related with the biggest key less than or equal to the specified key, or null if no such key.
- floorKey(K) - Method in interface java.util.NavigableMap
-
Answers the biggest key less than or equal to the specified key, or null if no such key.
- floorKey(K) - Method in class java.util.TreeMap
-
Answers the biggest key less than or equal to the specified key, or null if no such key.
- flush() - Method in class com.codename1.io.gzip.DeflaterOutputStream
- flush() - Method in class com.codename1.io.gzip.FilterOutputStream
- flush() - Method in interface com.codename1.orm.session.Session
-
Writes pending inserts, updates, relationship changes, and removals.
- flush() - Method in class java.io.DataOutputStream
-
Flushes this data output stream.
- flush() - Method in interface java.io.Flushable
-
Flushes the object by writing out any buffered data to the underlying output.
- flush() - Method in class java.io.OutputStream
-
Flushes this output stream and forces any buffered output bytes to be written out.
- flush() - Method in class java.io.OutputStreamWriter
-
Flush the stream.
- flush() - Method in class java.io.PrintStream
-
Flush the stream.
- flush() - Method in class java.io.StringWriter
- flush() - Method in class java.io.Writer
-
Flush the stream.
- flush(int) - Method in class com.codename1.backend.otel.OtlpTracer
- flush(int) - Method in interface com.codename1.backend.Tracer
-
Blocks until what has ended so far is exported, or the time runs out.
- Flushable - Interface in java.io
-
Indicates that an output object can be flushed.
- FLYWAY_BASELINE_DESCRIPTION - Static variable in class com.codename1.backend.Config
-
The description written on the baseline row.
- FLYWAY_BASELINE_ON_MIGRATE - Static variable in class com.codename1.backend.Config
-
Whether a database that has tables and no history is adopted at the baseline version instead of refused.
- FLYWAY_BASELINE_VERSION - Static variable in class com.codename1.backend.Config
-
The version an adopted database is taken to be at.
- FLYWAY_CLEAN_DISABLED - Static variable in class com.codename1.backend.Config
-
Whether dropping the whole schema through
Migrator.clean()is refused. - FLYWAY_ENABLED - Static variable in class com.codename1.backend.Config
-
Whether pending migrations run at start-up.
- FLYWAY_IGNORE_FUTURE_MIGRATIONS - Static variable in class com.codename1.backend.Config
-
Whether a schema migrated by a newer build is tolerated.
- FLYWAY_INSTALLED_BY - Static variable in class com.codename1.backend.Config
-
The name recorded as having applied each migration.
- FLYWAY_LOCK_RETRY_COUNT - Static variable in class com.codename1.backend.Config
-
How many one-second attempts to wait for another process that is migrating.
- FLYWAY_OUT_OF_ORDER - Static variable in class com.codename1.backend.Config
-
Whether a migration older than the newest applied one is applied instead of refused.
- FLYWAY_TABLE - Static variable in class com.codename1.backend.Config
-
The application's schema history table.
- FLYWAY_TARGET - Static variable in class com.codename1.backend.Config
-
The highest version to migrate to;
latest, the default, means all of them. - FLYWAY_VALIDATE_ON_MIGRATE - Static variable in class com.codename1.backend.Config
-
Whether applied migrations are checked against the scripts before migrating.
- foldArguments(MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
- FORBIDDEN - Enum constant in enum com.codename1.backend.test.HttpStatus
- forEach(BiConsumer) - Method in interface java.util.Map
-
Performs the given action for each entry in this map.
- forEach(Consumer) - Method in interface java.lang.Iterable
-
Performs the given action for each element of the
Iterable. - forEach(Consumer) - Method in interface java.util.stream.Stream
- forEndpoint(Credentials, String, String) - Static method in class com.codename1.backend.aws.S3
-
An S3-compatible endpoint -- MinIO, R2, Ceph -- addressed path-style.
- FORM_POST - Static variable in class com.codename1.backend.security.oauth2.client.ClientRegistration
-
The
response_modethat has the provider answer with a form the browser posts, rather than a redirect. - format(long) - Static method in class com.codename1.backend.Http1Date
- format(Object) - Method in class java.text.DateFormat
-
Format a given object.
- format(Object) - Method in class java.text.Format
-
Format an object.
- format(String, Object...) - Static method in class java.lang.String
- format(DateTimeFormatter) - Method in class java.time.LocalDate
- format(DateTimeFormatter) - Method in class java.time.LocalDateTime
- format(DateTimeFormatter) - Method in class java.time.LocalTime
- format(DateTimeFormatter) - Method in class java.time.OffsetDateTime
- format(DateTimeFormatter) - Method in class java.time.ZonedDateTime
- format(TemporalAccessor) - Method in class java.time.format.DateTimeFormatter
- format(Date) - Method in class java.text.DateFormat
-
Format a given date.
- format(Date) - Method in class java.text.SimpleDateFormat
- format(Map) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
fieldsas a form body or a query, without a leading?. - Format - Class in java.text
-
An abstract class for parsing and formatting localisation sensitive information, compatible with JDK 6.
- Format() - Constructor for class java.text.Format
- formEncoding(String) - Static method in class com.codename1.backend.mvc.Html
-
Form binding supports the two structured HTML form encodings.
- formLogin(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
Sign-in through an HTML form; see
FormLoginConfigurer. - FormLoginConfigurer - Class in com.codename1.backend.security
-
Sign-in through an HTML form.
- FormValues - Class in com.codename1.backend.mvc
-
Strict scalar form conversion used by generated binders.
- forName(String) - Static method in class com.codename1.backend.sql.Dialect
-
The dialect for an engine name, or null when the name is not one of the three.
- forName(String) - Static method in class java.lang.Class
-
Returns the Class object associated with the class with the given string name.
- forName(String) - Static method in class java.nio.charset.Charset
- forRegion(String) - Static method in class com.codename1.backend.aws.S3
-
AWS S3 in one region, with credentials resolved the usual way.
- FOUND - Enum constant in enum com.codename1.backend.test.HttpStatus
- frameOptions(Customizer) - Method in class com.codename1.backend.security.HeadersConfigurer
-
X-Frame-Options: whether a page may be shown in a frame. - free() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- free(long) - Static method in class com.codename1.backend.VirtualThread
-
Release it.
- freeMemory() - Method in class java.lang.Runtime
-
Returns the amount of free memory in the system.
- frequency(Collection, Object) - Static method in class java.util.Collections
-
Returns the number of elements in the
Collectionthat match theObjectpassed. - FRIDAY - Static variable in class java.util.Calendar
-
Value of the DAY_OF_WEEK field indicating Friday.
- from(ClientRegistration, String) - Static method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
-
A request through
registration, with a newstate,nonceand PKCE verifier of 256 random bits each. - from(OAuth2AuthorizationRequest) - Static method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
-
A builder that starts as a copy of
request. - from(JwsHeader, JwtClaimsSet) - Static method in class com.codename1.backend.security.oauth2.jwt.JwtEncoderParameters
-
These claims under this header.
- from(JwtClaimsSet) - Static method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet
-
A builder that starts from these claims.
- from(JwtClaimsSet) - Static method in class com.codename1.backend.security.oauth2.jwt.JwtEncoderParameters
-
These claims, signed with the encoder's first key under the algorithm that key is for.
- from(CredentialRecord) - Static method in class com.codename1.backend.security.webauthn.CredentialRecord
-
A builder that starts as a copy of
record. - from(String) - Static method in enum com.codename1.backend.security.oauth2.jose.jws.MacAlgorithm
-
The algorithm of this name, or null when it is not one of these.
- from(String) - Static method in enum com.codename1.backend.security.oauth2.jose.jws.SignatureAlgorithm
-
The algorithm of this name, or null when it is not one of these.
- fromConfig(Config) - Static method in class com.codename1.backend.DataSource
-
The pool a
Configdescribes, which is the one a server normally wants: the URL comes from the deployment rather than from the source. - fromConfig(Config) - Static method in class com.codename1.backend.security.oauth2.client.ClientRegistrations
-
The registrations the configuration declares; empty when it declares none.
- fromConfig(DataSource, Config) - Static method in class com.codename1.backend.security.mfa.JdbcTotpRepository
-
A repository whose key is the configuration's
JdbcTotpRepository.ENCRYPTION_KEY. - fromContainer() - Static method in class com.codename1.backend.aws.Credentials
-
The ECS / EKS container credential endpoint, or null when not in one.
- fromDatabase(S) - Method in interface com.codename1.orm.session.AttributeConverter
-
Converts a stored scalar to the entity field's domain type.
- fromDecoders(Map) - Static method in class com.codename1.backend.security.oauth2.server.resource.JwtIssuerAuthenticationManagerResolver
-
Trusts these issuers, each verified by the decoder given for it.
- fromEnvironment() - Static method in class com.codename1.backend.aws.Credentials
-
AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY / AWS_SESSION_TOKEN, or null.
- fromFile(String, String, String) - Static method in class com.codename1.backend.security.oauth2.client.AppleClientSecret
-
AppleClientSecret(String, String, String)reading the key from a file. - fromHex(String) - Static method in class com.codename1.security.Hash
-
Decodes a hex string back into bytes.
- fromInstanceMetadata() - Static method in class com.codename1.backend.aws.Credentials
-
IMDSv2.
- fromIssuerLocation(String) - Static method in class com.codename1.backend.security.oauth2.client.ClientRegistrations
-
A builder with the endpoints of
issuerread from its metadata now. - fromIssuerLocation(String) - Static method in class com.codename1.backend.security.oauth2.jwt.JwtDecoders
-
A decoder for the tokens of
issuer. - fromIssuerLocation(String, RemoteJwkSet.Fetcher) - Static method in class com.codename1.backend.security.oauth2.jwt.JwtDecoders
-
JwtDecoders.fromIssuerLocation(String)reading throughfetcher. - fromIssuerLocation(String, RemoteJwkSet.Fetcher, JwsAlgorithm[]) - Static method in class com.codename1.backend.security.oauth2.jwt.JwtDecoders
-
JwtDecoders.fromIssuerLocation(String, RemoteJwkSet.Fetcher)accepting the algorithms named here and no others, whatever the issuer's metadata lists. - fromMap(Map) - Method in class com.codename1.backend.security.HttpSessionSecurityContextRepository
-
The authentication
HttpSessionSecurityContextRepository.toMap(Authentication)stored, or null whenstoredis not one. - fromMap(Map) - Static method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
-
The request
OAuth2AuthorizationRequest.toMap()wrote, or null whenstoredis not one. - fromMap(Map) - Static method in class com.codename1.backend.security.webauthn.PublicKeyCredentialCreationOptions
-
The options
PublicKeyCredentialCreationOptions.toMap()wrote, read back from where a ceremony's pending state is kept; null whenstoredis not that. - fromMap(Map) - Static method in class com.codename1.backend.security.webauthn.PublicKeyCredentialRequestOptions
-
The options
PublicKeyCredentialRequestOptions.toStoredMap()wrote, read back; null whenstoredis not that. - fromOidcIssuerLocation(String) - Static method in class com.codename1.backend.security.oauth2.jwt.JwtDecoders
-
The same, for an issuer that serves OpenID Connect Discovery.
- fromTrustedIssuers(String...) - Static method in class com.codename1.backend.security.oauth2.server.resource.JwtIssuerAuthenticationManagerResolver
-
Trusts these issuers, each verified with the keys its own metadata names; see
JwtDecoders.fromIssuerLocation(String). - FULL - Static variable in class java.text.DateFormat
-
Constant for full style parsing/formatting pattern.
- fullyAuthenticated() - Static method in class com.codename1.backend.security.AuthenticatedAuthorizationManager
-
The caller signed in during this session, rather than being recognized by a remember-me cookie.
- fullyAuthenticated() - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
-
Only callers who did not sign in.
- Function<T,
R> - Interface in java.util.function - FunctionalInterface - Annotation Type in java.lang
-
Marks an interface that is meant to be a functional interface: exactly one abstract method, so a lambda or method reference can implement it.
- Future<V> - Interface in java.util.concurrent
-
The result of work that finishes later -- on the backend, what an
@Asyncmethod returns, completed when its body has run on its executor. - FUTURE - Enum constant in enum com.codename1.migration.MigrationState
-
Applied by a newer build: its version is above everything this build carries.
- FUTURE_SCHEMA - Static variable in exception class com.codename1.migration.MigrationException
-
The database was migrated by a newer build than this one.
G
- GATEWAY_TIMEOUT - Enum constant in enum com.codename1.backend.test.HttpStatus
- gauge(String, String, String, Gauge.MultiSource) - Static method in class com.codename1.backend.metrics.Metrics
-
A gauge with several labelled values.
- gauge(String, String, String, Gauge.Source) - Static method in class com.codename1.backend.metrics.Metrics
-
A gauge read from
sourcewhen metrics are collected. - Gauge - Class in com.codename1.backend.metrics
-
A value read when metrics are collected -- a queue's depth, a pool's size, a
@ManagedAttribute. - GAUGE - Static variable in class com.codename1.backend.metrics.Instrument
- Gauge.MultiSource - Interface in com.codename1.backend.metrics
-
Where a gauge with several labelled values comes from -- one per executor, say.
- Gauge.Source - Interface in com.codename1.backend.metrics
-
Where a gauge's value comes from.
- gc() - Method in class java.lang.Runtime
-
Runs the garbage collector.
- gc() - Static method in class java.lang.System
-
Runs the garbage collector.
- ge(String, Object) - Method in interface com.codename1.orm.session.Query
-
Adds a greater-than-or-equal predicate.
- generate(String) - Method in class com.codename1.backend.security.mfa.RecoveryCodeService
-
Makes
RecoveryCodeService.COUNTnew codes forusername, replacing any they had. - generate(String, String...) - Method in class com.codename1.backend.security.apikey.ApiKeyGenerator
-
A new key for
owner, grantingscopes. - Generated - Annotation Type in com.codename1.backend.annotations
-
Marks a class the backend processors wrote, so a later pass knows its own work.
- GeneratedApiKey - Class in com.codename1.backend.security.apikey
-
A key that has just been made: the one moment its text exists.
- generatedKeyColumn(int) - Method in class com.codename1.backend.sql.Dialect
- generatedKeyColumn(int, String) - Method in class com.codename1.backend.sql.Dialect
-
The full declaration of a primary key column whose value the DATABASE assigns -- everything after the column name.
- generatedKeysThroughReturning() - Method in class com.codename1.backend.sql.Dialect
-
Whether a generated key comes back from the INSERT itself rather than from a follow-up question.
- GeneratedValue - Annotation Type in com.codename1.annotations.db
-
Overrides the legacy Id.autoIncrement strategy for this identifier.
- generateRsaKey(int) - Static method in class com.codename1.backend.Crypto
-
A new RSA private key as PKCS#8 DER, with the public exponent 65537.
- generateToken(HttpServer.Request) - Method in class com.codename1.backend.security.CookieCsrfTokenRepository
- generateToken(HttpServer.Request) - Method in interface com.codename1.backend.security.CsrfTokenRepository
-
A new token, not yet stored.
- generateToken(HttpServer.Request) - Method in class com.codename1.backend.security.HttpSessionCsrfTokenRepository
- GenerationType - Enum in com.codename1.annotations.db
-
Identifier generation strategies for a single identifier field.
- generator() - Element in annotation type com.codename1.annotations.db.GeneratedValue
-
Names the counter used by SEQUENCE or TABLE generation.
- generic() - Method in class java.lang.invoke.MethodType
- genericMethodType(int) - Static method in class java.lang.invoke.MethodType
- genericMethodType(int, boolean) - Static method in class java.lang.invoke.MethodType
- get() - Method in class com.codename1.backend.AsyncResult
- get() - Method in class com.codename1.backend.metrics.Counter
- get() - Method in class java.lang.ref.Reference
-
Returns this reference object's referent.
- get() - Method in class java.lang.ThreadLocal
- get() - Method in class java.util.concurrent.atomic.AtomicBoolean
- get() - Method in class java.util.concurrent.atomic.AtomicInteger
- get() - Method in class java.util.concurrent.atomic.AtomicLong
- get() - Method in class java.util.concurrent.atomic.AtomicReference
- get() - Method in interface java.util.concurrent.Future
-
Waits for the work to finish and returns its result.
- get() - Method in interface java.util.function.Supplier
- get(int) - Method in class java.util.AbstractList
-
Returns the element at the specified location in this list.
- get(int) - Method in class java.util.AbstractSequentialList
- get(int) - Method in class java.util.ArrayList
- get(int) - Method in class java.util.BitSet
-
Retrieves the bit at index
pos. - get(int) - Method in class java.util.Calendar
-
Gets the value for a given time field.
- get(int) - Method in class java.util.LinkedList
- get(int) - Method in interface java.util.List
-
Returns the element at the specified location in this
List. - get(int) - Method in class java.util.Vector
-
Returns the element at the specified location in this vector.
- get(int, int) - Method in class java.util.BitSet
-
Retrieves the bits starting from
pos1topos2and returns back a new bitset made of these bits. - get(long, TimeUnit) - Method in class com.codename1.backend.AsyncResult
- get(long, TimeUnit) - Method in interface java.util.concurrent.Future
-
Waits up to
timeoutfor the work to finish and returns its result. - get(Object) - Method in class java.util.AbstractMap
-
Returns the value of the mapping with the specified key.
- get(Object) - Method in class java.util.Dictionary
-
Returns the value which is associated with
key. - get(Object) - Method in class java.util.HashMap
-
Returns the value of the mapping with the specified key.
- get(Object) - Method in class java.util.Hashtable
-
Returns the value associated with the specified key in this
Hashtable. - get(Object) - Method in class java.util.IdentityHashMap
-
Returns the value of the mapping with the specified key.
- get(Object) - Method in class java.util.LinkedHashMap
-
Returns the value of the mapping with the specified key.
- get(Object) - Method in interface java.util.Map
-
Returns the value of the mapping with the specified key.
- get(Object) - Method in class java.util.TreeMap
-
Returns the value of the mapping with the specified key.
- get(Object, int) - Method in class com.codename1.backend.orm.EntityDefinition
-
The value of column
indexonentity, already in the form a parameter is bound as: Long, Double, String, byte[] or null. - get(String) - Method in class com.codename1.backend.Config
-
The value for
key, or null when no layer has one. - get(String) - Static method in class com.codename1.backend.metrics.Metrics
-
The instrument called
name, or null. - get(String) - Method in class com.codename1.backend.security.crypto.JwkSet
-
The key with this id, or null.
- get(String) - Method in class com.codename1.backend.test.HttpHeaders
-
Every value, or null when the header is absent.
- get(String) - Static method in class com.codename1.backend.Web
- get(String, int, String) - Static method in class com.codename1.backend.Http
- get(String, Object...) - Static method in class com.codename1.backend.test.MockMvcRequestBuilders
- get(String, String) - Method in class com.codename1.backend.Config
-
The value for
key, orfallbackwhen no layer has one. - GET - Enum constant in enum com.codename1.backend.test.HttpMethod
- getAccessKeyId() - Method in class com.codename1.backend.aws.Credentials
- getAccessToken() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AccessTokenResponse
- getAccessToken() - Method in class com.codename1.backend.security.oauth2.client.OAuth2UserRequest
-
The access token, to ask the provider about the user with.
- getAccessTokenTimeToLive() - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings
- getActiveCount() - Method in class com.codename1.backend.TaskExecutor
-
Tasks running now.
- getActiveRequests() - Method in class com.codename1.backend.HttpServer
-
Requests being handled right now.
- getAdditionalParameters() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AccessTokenResponse
-
Everything else the answer carried:
id_tokenamong it. - getAdditionalParameters() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
-
What the request carries besides the parameters OAuth2 defines.
- getAdler() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- getAlgorithm() - Method in class com.codename1.backend.security.crypto.Jwk
-
The one algorithm the key is for, or null when it is for any its type allows.
- getAlgorithm() - Method in class com.codename1.backend.security.oauth2.jwt.JwsHeader
- getAlgorithm() - Method in class com.codename1.backend.security.webauthn.CoseKey
-
The COSE identifier of the key's algorithm:
CoseKey.ES256orCoseKey.RS256. - getAlgorithm() - Method in class com.codename1.backend.security.webauthn.CredentialRecord
-
The COSE identifier of the key's algorithm; see
CoseKey. - getAllowCredentials() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialRequestOptions
-
The ids of the credentials that may answer; empty for any the authenticator holds.
- getAmPmStrings() - Method in class java.text.DateFormatSymbols
- getAndAdd(int) - Method in class java.util.concurrent.atomic.AtomicInteger
- getAndAdd(long) - Method in class java.util.concurrent.atomic.AtomicLong
- getAndDecrement() - Method in class java.util.concurrent.atomic.AtomicInteger
- getAndDecrement() - Method in class java.util.concurrent.atomic.AtomicLong
- getAndIncrement() - Method in class java.util.concurrent.atomic.AtomicInteger
- getAndIncrement() - Method in class java.util.concurrent.atomic.AtomicLong
- getAndSet(boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
- getAndSet(int) - Method in class java.util.concurrent.atomic.AtomicInteger
- getAndSet(long) - Method in class java.util.concurrent.atomic.AtomicLong
- getAndSet(V) - Method in class java.util.concurrent.atomic.AtomicReference
- getAnnotation(Class) - Method in class java.lang.Class
-
Returns this element's annotation for the specified type if such an annotation is present, else null.
- getAnnotations() - Method in class java.lang.Class
-
Returns all annotations present on this element.
- getApiKey() - Method in class com.codename1.backend.security.apikey.ApiKeyAuthenticationToken
- getApiKey() - Method in class com.codename1.backend.security.apikey.GeneratedApiKey
-
What to store.
- getApplied() - Method in class com.codename1.migration.MigrateResult
-
The migrations that ran.
- getAttachment() - Method in class com.codename1.backend.WebSocketSession
- getAttribute(String) - Method in class com.codename1.backend.HttpSession
- getAttribute(String) - Method in class com.codename1.backend.mvc.Model
- getAttribute(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
-
One attribute, or null.
- getAttribute(String) - Method in class com.codename1.backend.security.SecurityExchange
-
Something an earlier filter recorded under
name, or null. - getAttributeNames() - Method in class com.codename1.backend.HttpSession
-
The attribute names, as a copy.
- getAttributes() - Method in class com.codename1.backend.security.oauth2.client.DefaultOAuth2User
- getAttributes() - Method in interface com.codename1.backend.security.oauth2.client.OAuth2User
-
What the provider said of the user, by name.
- getAttributes() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
- getAudience() - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
aud: whom the token is for. - getAuthentication() - Method in interface com.codename1.backend.security.SecurityContext
-
The authenticated principal, an anonymous token, or null when no chain has looked at the request.
- getAuthentication() - Method in class com.codename1.backend.security.SecurityContextImpl
- getAuthenticatorAttachment() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialCreationOptions
-
platform,cross-platform, or null for either. - getAuthorities() - Method in class com.codename1.backend.security.AbstractAuthenticationToken
- getAuthorities() - Method in interface com.codename1.backend.security.Authentication
-
What the principal has been granted; empty before authentication.
- getAuthorities() - Method in class com.codename1.backend.security.AuthorityAuthorizationDecision
-
The authorities the rule accepts; the caller needed one of them.
- getAuthorities() - Method in class com.codename1.backend.security.core.userdetails.User
- getAuthorities() - Method in interface com.codename1.backend.security.core.userdetails.UserDetails
-
What the user has been granted; never null.
- getAuthorities() - Method in class com.codename1.backend.security.oauth2.client.DefaultOAuth2User
- getAuthorities() - Method in interface com.codename1.backend.security.oauth2.client.OAuth2User
- getAuthority() - Method in class com.codename1.backend.Http2.Stream
-
From :authority, which is what Host is in HTTP/1.1.
- getAuthority() - Method in interface com.codename1.backend.security.GrantedAuthority
-
The authority as text; never null for an authority that can be checked.
- getAuthority() - Method in class com.codename1.backend.security.SimpleGrantedAuthority
- getAuthority() - Method in class java.net.URI
-
Returns
- getAuthorization() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2TokenContext
-
The grant the token is issued under; null for
client_credentials, which keeps none. - getAuthorizationCodeTimeToLive() - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings
- getAuthorizationEndpoint() - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
-
/oauth2/authorizeunless set. - getAuthorizationGrantType() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration
- getAuthorizationGrantType() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
- getAuthorizationGrantType() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2TokenContext
-
The
grant_typeof the request the token answers. - getAuthorizationGrantTypes() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
- getAuthorizationId() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService.StoredToken
-
The grant it was issued under.
- getAuthorizationRequestUri() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
-
The address the browser is sent to.
- getAuthorizationUri() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.ProviderDetails
- getAuthorizationUri() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
- getAuthorizedClientRegistrationId() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthenticationToken
-
The registration the user signed in through.
- getAuthorizedScopes() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2TokenContext
- getAvailableIDs() - Static method in class java.util.TimeZone
-
Gets all the available IDs supported.
- getAvailIn() - Method in class com.codename1.io.gzip.InflaterInputStream
- getAvailIn() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- getAvailOut() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- getBody() - Method in class com.codename1.backend.Http.Response
- getBody() - Method in class com.codename1.backend.Http2.Stream
-
The body as it ARRIVED, so the caller can check it before decoding.
- getBody() - Method in class com.codename1.backend.HttpServer.Request
-
The body as text, or null when the request has none.
- getBody() - Method in class com.codename1.backend.test.HttpEntity
- getBody() - Method in class com.codename1.backend.Web.Result
- getBodyAsString() - Method in class com.codename1.backend.Http.Response
- getBodyAsString() - Method in class com.codename1.backend.Http2.Stream
- getBodyAsString() - Method in class com.codename1.backend.Web.Result
- getBodyBytes() - Method in class com.codename1.backend.HttpServer.Request
-
The body as bytes, or null when the request has none: a binary body as it arrived -- decompressed when the client sent it gzip encoded -- and a text body as its UTF-8.
- getBoolean(String, boolean) - Method in class com.codename1.backend.Config
-
The value for
keyas a flag, orfallback. - getBuffer() - Method in class java.io.StringWriter
- getBuilder() - Method in class com.codename1.backend.security.SecurityConfigurer
-
The
HttpSecuritythis configurer was applied to. - getBuilder(String) - Method in enum com.codename1.backend.security.oauth2.client.CommonOAuth2Provider
-
A builder with the provider's settings in it, wanting the client id and secret.
- getBytes() - Method in class com.codename1.backend.HttpServer.Part
-
The part's content.
- getBytes() - Method in class com.codename1.backend.test.MockMultipartFile
- getBytes() - Method in class java.lang.String
-
Convert this String into bytes according to the platform's default character encoding, storing the result into a new byte array.
- getBytes(String) - Method in class java.lang.String
-
Convert this String into bytes according to the specified character encoding, storing the result into a new byte array.
- getBytes(Charset) - Method in class java.lang.String
-
Convert this String into bytes according to the specified character encoding, storing the result into a new byte array.
- getCanonicalName() - Method in class java.lang.Class
-
Deprecated
- getCause() - Method in exception class java.lang.Throwable
-
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
- getChallenge() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialCreationOptions
-
The challenge the authenticator's answer must carry back.
- getChallenge() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialRequestOptions
-
The challenge the authenticator's answer must sign.
- getChars(int, int, char[], int) - Method in class java.lang.String
-
Copies characters from this string into the destination character array.
- getChars(int, int, char[], int) - Method in class java.lang.StringBuffer
-
Characters are copied from this string buffer into the destination character array dst.
- getChars(int, int, char[], int) - Method in class java.lang.StringBuilder
-
Characters are copied from this string builder into the destination character array dst.
- getChecksum() - Method in class com.codename1.migration.MigrationInfo
-
The checksum of the script.
- getClaim(String) - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
A claim as the JSON had it: a String, a Long or Double, a Boolean, a List or a Map; null when the token has none of that name.
- getClaim(String) - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet
- getClaimAsBoolean(String) - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
A claim that is true or false, or the text of either; null otherwise.
- getClaimAsLong(String) - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
A numeric claim as a whole number; null when the token has none of that name or it is not a number.
- getClaimAsString(String) - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
A claim as text; null when the token has none of that name.
- getClaimAsStringList(String) - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
A claim that is a list, or one value standing for a list of one: every element as text.
- getClaims() - Method in class com.codename1.backend.security.oauth2.client.DefaultOidcUser
- getClaims() - Method in interface com.codename1.backend.security.oauth2.client.OidcUser
-
The claims of the ID token, with what the provider's user info added.
- getClaims() - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
- getClaims() - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet
- getClaims() - Method in class com.codename1.backend.security.oauth2.jwt.JwtEncoderParameters
- getClaims() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2TokenContext
-
The claims so far, to add to or change.
- getClaims(String, Set) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OidcUserInfoMapper
-
The claims of
usernamethatscopesentitle a client to. - getClass() - Method in class java.lang.Object
-
Returns the runtime class of an object.
- getClassLoader() - Method in class java.lang.Class
- getClassName() - Method in class java.lang.StackTraceElement
- getClientAuthenticationMethod() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration
- getClientAuthenticationMethods() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
- getClientId() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration
- getClientId() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
- getClientId() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
- getClientName() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration
-
What a login page calls this provider.
- getClientName() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
- getClientRegistration() - Method in class com.codename1.backend.security.oauth2.client.OAuth2UserRequest
- getClientSecret() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration
-
The fixed secret, or null when there is none or it is supplied; see
ClientRegistration.resolveClientSecret(). - getClientSecret() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
-
The encoded secret, or null for a client without one.
- getClientSecret(ClientRegistration) - Method in class com.codename1.backend.security.oauth2.client.AppleClientSecret
- getClientSecret(ClientRegistration) - Method in interface com.codename1.backend.security.oauth2.client.ClientRegistration.ClientSecretSupplier
-
The secret to send now.
- getClientSettings() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
- getCode() - Method in exception class com.codename1.migration.MigrationException
-
The kind of failure.
- getCodeVerifier() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
-
The PKCE verifier.
- getColumn() - Method in class com.codename1.backend.orm.ColumnDefinition
-
The column name, from @Column(name) or the field name.
- getComment() - Method in class com.codename1.io.gzip.GZIPHeader
- getComment() - Method in class com.codename1.io.gzip.GZIPInputStream
- getCompletedCount() - Method in class com.codename1.backend.TaskExecutor
- getComponentType() - Method in class java.lang.Class
-
Gets for Array classes, this returns the type of the elements of the array.
- getConfig() - Method in class com.codename1.backend.Backend
-
The configuration this server resolved its settings from.
- getConfig() - Method in class com.codename1.backend.security.HttpSecurity
-
The configuration of the server the chain is built for.
- getConfigurer(Class) - Method in class com.codename1.backend.security.HttpSecurity
-
The configurer of this class applied to the chain, or null.
- getContentAsByteArray() - Method in class com.codename1.backend.test.MockResponse
- getContentAsString() - Method in class com.codename1.backend.test.MockResponse
-
The body as UTF-8 text.
- getContentType() - Method in class com.codename1.backend.aws.S3.ObjectInfo
- getContentType() - Method in class com.codename1.backend.HttpServer.Part
-
The part's Content-Type, or null when it declared none.
- getContentType() - Method in class com.codename1.backend.test.HttpHeaders
- getContentType() - Method in class com.codename1.backend.test.MockMultipartFile
- getContentType() - Method in class com.codename1.backend.test.MockResponse
-
The Content-Type, or null.
- getContext() - Static method in class com.codename1.backend.security.SecurityContextHolder
-
The thread's context; an empty one is made when there is none.
- getContext() - Static method in class com.codename1.backend.test.TestSecurityContextHolder
-
The context in place, or an empty one.
- getCookie(String) - Method in class com.codename1.backend.HttpServer.Request
-
The value of one cookie the client sent, or null.
- getCookie(String) - Method in class com.codename1.backend.test.MockResponse
-
The value of a cookie this response sets, or null.
- getCookieName() - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
- getCount() - Method in class com.codename1.backend.mvc.IterationStatus
- getCountry() - Method in class java.util.Locale
- getCRC() - Method in class com.codename1.io.gzip.GZIPHeader
- getCRC() - Method in class com.codename1.io.gzip.GZIPInputStream
- getCRC() - Method in class com.codename1.io.gzip.GZIPOutputStream
- getCRC32Table() - Static method in class com.codename1.io.gzip.CRC32
- getCreated() - Method in class com.codename1.backend.security.webauthn.CredentialRecord
-
When it was registered, in epoch milliseconds.
- getCreatedAt() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
- getCreationTime() - Method in class com.codename1.backend.HttpSession
- getCredential() - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations.Assertion
-
The credential, as stored after this sign-in.
- getCredentialId() - Method in class com.codename1.backend.security.webauthn.CredentialRecord
-
The credential's id, which the authenticator chose.
- getCredentialId() - Method in class com.codename1.backend.security.webauthn.WebAuthnAuthentication
-
The id of the credential that signed, or null.
- getCredentials() - Method in class com.codename1.backend.security.AnonymousAuthenticationToken
- getCredentials() - Method in class com.codename1.backend.security.apikey.ApiKeyAuthenticationToken
-
Null: the key itself is not kept once it has been recognized.
- getCredentials() - Method in interface com.codename1.backend.security.Authentication
-
What proves the principal is who it says: a password, usually, and null once it has been checked.
- getCredentials() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthenticationToken
- getCredentials() - Method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenAuthenticationToken
- getCredentials() - Method in class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationToken
- getCredentials() - Method in class com.codename1.backend.security.RememberMeAuthenticationToken
- getCredentials() - Method in class com.codename1.backend.security.UsernamePasswordAuthenticationToken
- getCredentials() - Method in class com.codename1.backend.security.webauthn.WebAuthnAuthentication
- getCurve() - Method in class com.codename1.backend.security.crypto.Jwk
-
P-256orP-384for an EC key; null otherwise. - getDataSource() - Method in class com.codename1.backend.Backend
-
The connection pool, or null when this server has no database.
- getDateFormatSymbols() - Method in class java.text.SimpleDateFormat
-
Get the date format symbols for parsing/formatting textual components of dates in a localization sensitive way.
- getDateInstance() - Static method in class java.text.DateFormat
-
Get a DateFormat instance with default style for date (SHORT).
- getDateInstance(int) - Static method in class java.text.DateFormat
-
Get a DateFormat instance that uses a given style for dates.
- getDateTimeInstance(int, int) - Static method in class java.text.DateFormat
-
Get a DateFormat instance that uses a given style for dates and times.
- getDayOfMonth() - Method in class java.time.LocalDate
- getDayOfMonth() - Method in class java.time.LocalDateTime
- getDays() - Method in class java.time.Period
- getDeclaredAnnotations() - Method in class java.lang.Class
-
Returns all annotations that are directly present on this element.
- getDeclaredType() - Method in class com.codename1.backend.orm.ColumnDefinition
-
An explicit SQL type from @Column(type), or null to let the dialect name it.
- getDeclaringClass() - Method in class java.lang.Enum
- getDefault() - Static method in class java.util.Locale
- getDefault() - Static method in class java.util.TimeZone
-
Gets the default TimeZone for this host.
- getDefaultAudience() - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
-
The
audof an access token whose request named noresource, or null for the configured one, and the issuer when there is none. - getDeflater() - Method in class com.codename1.io.gzip.DeflaterOutputStream
- getDescription() - Method in class com.codename1.backend.metrics.Instrument
- getDescription() - Method in class com.codename1.backend.security.oauth2.core.OAuth2Error
- getDescription() - Method in class com.codename1.migration.MigrationInfo
-
The description.
- getDetails() - Method in class com.codename1.backend.security.AbstractAuthenticationToken
- getDetails() - Method in interface com.codename1.backend.security.Authentication
-
Anything else the mechanism recorded about the request, or null.
- getDeviceAuthorizationEndpoint() - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
-
/oauth2/device_authorizationunless set. - getDeviceCodeTimeToLive() - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings
- getDeviceVerificationEndpoint() - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
-
/oauth2/device_verificationunless set. - getDisplayName() - Method in class com.codename1.backend.security.apikey.ApiKey
-
The key as it may be shown: its prefix and its last four characters.
- getDisplayName() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialUserEntity
- getDroppedCount() - Method in class com.codename1.backend.TaskExecutor
-
Tasks the shutdown deadline dropped before they could start.
- getEmail() - Method in class com.codename1.backend.security.oauth2.client.DefaultOidcUser
- getEmail() - Method in interface com.codename1.backend.security.oauth2.client.OidcUser
-
The
emailclaim, or null. - getEnclosingConstructor() - Method in class java.lang.Class
-
Returns null always.
- getEnclosingMethod() - Method in class java.lang.Class
-
Deprecated
- getEntityManager() - Method in class com.codename1.backend.Backend
-
The entity manager, or null when this build generated no entities.
- getEnumValues(Class) - Static method in class java.lang.Enum
- getEpochSecond() - Method in class java.time.Instant
- getEras() - Method in class java.text.DateFormatSymbols
- getError() - Method in exception class com.codename1.backend.security.oauth2.core.OAuth2AuthenticationException
-
The error, with its code.
- getError() - Method in class com.codename1.backend.Web.Result
-
Non-null only when the transfer failed before producing a status.
- getErrorCode() - Method in class com.codename1.backend.security.oauth2.core.OAuth2Error
- getErrorIndex() - Method in exception class java.time.format.DateTimeParseException
- getErrorOffset() - Method in exception class java.text.ParseException
-
Returns
- getErrors() - Method in class com.codename1.backend.security.oauth2.core.OAuth2TokenValidatorResult
- getErrors() - Method in exception class com.codename1.backend.security.oauth2.jwt.JwtValidationException
-
Everything the validators found.
- getEtag() - Method in class com.codename1.backend.aws.S3.ObjectInfo
- getExcludeCredentials() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialCreationOptions
-
The ids of the credentials the user has already, which the authenticator holding one of them will not make another beside.
- getExecutionTime() - Method in class com.codename1.migration.MigrationInfo
-
How long the migration took.
- getExpiresAt() - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
expin seconds since the epoch, or null. - getExpiresAt() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
- getExpiresAt() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService.StoredToken
-
Epoch milliseconds.
- getExpiresAtMillis() - Method in class com.codename1.backend.aws.Credentials
-
0 when these do not expire.
- getExpiresIn() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AccessTokenResponse
-
The seconds the access token is good for, or 0 when the answer did not say.
- getFailedCount() - Method in class com.codename1.backend.TaskExecutor
-
Tasks that ended with an exception nobody received.
- getFd() - Method in class com.codename1.backend.ServerSocket
- getField() - Method in class com.codename1.backend.orm.ColumnDefinition
-
The Java field name, which is how a query names it.
- getFieldErrors(String) - Method in class com.codename1.backend.mvc.BindingResult
- getFilename() - Method in class com.codename1.backend.HttpServer.Part
-
The uploaded file's name as the client gave it, or null for a plain field.
- getFileName() - Method in class java.lang.StackTraceElement
- getFilterChain() - Method in class com.codename1.backend.security.SecurityExchange
-
The chain guarding the request.
- getFilters() - Method in class com.codename1.backend.security.DefaultSecurityFilterChain
- getFilters() - Method in interface com.codename1.backend.security.SecurityFilterChain
-
The filters, in the order they run.
- getFirst() - Method in class java.util.ArrayDeque
-
Gets but not removes the head element of this deque.
- getFirst() - Method in interface java.util.Deque
-
Gets but not removes the head element of this deque.
- getFirst() - Method in class java.util.LinkedList
-
Returns the first element in this
LinkedList. - getFirst(String) - Method in class com.codename1.backend.test.HttpHeaders
-
The first value, or null.
- getForEntity(String, Class, Object...) - Method in class com.codename1.backend.test.TestRestTemplate
- getForObject(String, Class, Object...) - Method in class com.codename1.backend.test.TestRestTemplate
- getFragment() - Method in class java.net.URI
-
Get the decoded fragment (otherwise known as the "reference" or "anchor") part of the uri.
- getGenericInterfaces() - Method in class java.lang.Class
-
Deprecated
- getHandshakeHeader(String) - Method in class com.codename1.backend.WebSocketSession
-
A header from the handshake request, case-insensitively.
- getHash() - Method in class com.codename1.backend.security.apikey.ApiKey
- getHeader(String) - Method in class com.codename1.backend.Http.Response
-
Case-insensitive, because header case is not guaranteed by anything.
- getHeader(String) - Method in class com.codename1.backend.HttpServer.Part
-
One of the part's own headers, by a name in any case; or null.
- getHeader(String) - Method in class com.codename1.backend.HttpServer.Request
-
One header by name, matched case-insensitively.
- getHeader(String) - Method in class com.codename1.backend.test.MockResponse
-
The first value of a header, by a name in any case; or null.
- getHeader(String) - Method in class com.codename1.backend.Web.Result
-
The FIRST value for a name, matched case-insensitively.
- getHeaderName() - Method in interface com.codename1.backend.security.CsrfToken
-
The header a script sends the token in:
X-CSRF-TOKEN. - getHeaderName() - Method in class com.codename1.backend.security.DefaultCsrfToken
- getHeaderNames() - Method in class com.codename1.backend.test.MockResponse
-
The names of the headers set, in order.
- getHeaders() - Method in class com.codename1.backend.Http2.Stream
-
Lower-cased names, as HTTP/2 requires them on the wire.
- getHeaders() - Method in class com.codename1.backend.HttpServer.Request
-
The headers as a Map, lower-cased names to values.
- getHeaders() - Method in class com.codename1.backend.security.oauth2.jwt.JwsHeader
-
Every header,
algfirst. - getHeaders() - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
The JOSE header:
alg, andkidandtypwhen the token has them. - getHeaders() - Method in class com.codename1.backend.test.HttpEntity
- getHeaders() - Method in class com.codename1.backend.Web.Result
-
The response headers, lower-cased names to values.
- getHeaders(String) - Method in class com.codename1.backend.test.MockResponse
-
Every value of a header, by a name in any case.
- getHeaderSecret(String) - Method in class com.codename1.backend.Config
-
A secret that clients present in a request header -- a bearer token -- or null when no layer has one.
- getHeaderValues(String) - Method in class com.codename1.backend.Web.Result
-
Every value the response carried for a name, in arrival order.
- getHost() - Method in class java.net.URI
-
Get the host name part of the URI.
- getHour() - Method in class java.time.LocalDateTime
- getHour() - Method in class java.time.LocalTime
- getHttpStatus() - Method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenError
- getId() - Method in class com.codename1.backend.Http2.Stream
- getId() - Method in class com.codename1.backend.HttpSession
-
The id the cookie carries.
- getId() - Method in class com.codename1.backend.security.apikey.ApiKey
- getId() - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
jti: the token's own id. - getId() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
- getId() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
- getId() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialRpEntity
- getId() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialUserEntity
-
The user handle.
- getId() - Method in class com.codename1.backend.WebSocketSession
-
A number unique within this process, for logging and for keying a registry.
- getId() - Method in class java.time.ZoneId
- getID() - Method in class java.util.TimeZone
-
Gets the ID of this time zone.
- getIdleCount() - Method in class com.codename1.backend.DataSource
-
How many are open and free right now.
- getIdToken() - Method in class com.codename1.backend.security.oauth2.client.DefaultOidcUser
- getIdToken() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AccessTokenResponse
-
The ID token as it was sent, or null.
- getIdToken() - Method in interface com.codename1.backend.security.oauth2.client.OidcUser
-
The verified ID token.
- getIdToken() - Method in class com.codename1.backend.security.oauth2.client.OidcUserRequest
-
The verified ID token.
- getIdTokenAlgorithms() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.ProviderDetails
-
The names of the algorithms an ID token may be signed with, or null for what the metadata says, and RS256 and ES256 when there is none.
- getIdTokenTimeToLive() - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings
- getIndex() - Method in class com.codename1.backend.mvc.IterationStatus
- getIndex() - Method in exception class java.net.URISyntaxException
-
Returns
- getInflater() - Method in class com.codename1.io.gzip.InflaterInputStream
- getInitialVersion() - Method in class com.codename1.migration.MigrateResult
-
The schema version before the run.
- getInput() - Method in exception class java.net.URISyntaxException
-
Returns
- getInstalledOn() - Method in class com.codename1.migration.MigrationInfo
-
When the migration was applied.
- getInstalledRank() - Method in class com.codename1.migration.MigrationInfo
-
The order the migration was applied in.
- getInstance() - Static method in class com.codename1.backend.security.crypto.NoOpPasswordEncoder
- getInstance() - Static method in class java.text.DateFormat
-
Get a DateFormat instance with default style for date/time (SHORT/SHORT).
- getInstance() - Static method in class java.util.Calendar
-
Gets a calendar using the default time zone.
- getInstance(TimeZone) - Static method in class java.util.Calendar
-
Gets a calendar using the specified time zone.
- getInt(String, int) - Method in class com.codename1.backend.Config
-
The value for
keyas a number, orfallback. - getIssuedAt() - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
iatin seconds since the epoch, or null. - getIssuer() - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
iss: who issued the token. - getIssuer() - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
-
The issuer, or null to read it from the configuration.
- getIssuerTemplate() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.ProviderDetails
-
For a provider that issues under one address per tenant: the issuer with
{tenantid}where the token'stidclaim goes. - getIssuerUri() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.ProviderDetails
-
The
issevery ID token must carry, or null. - getJson(String, String) - Static method in class com.codename1.backend.Web
- getJwkSetEndpoint() - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
-
/oauth2/jwksunless set. - getJwkSetUri() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.ProviderDetails
-
Where the keys that sign ID tokens are published, or null.
- getJwsHeader() - Method in class com.codename1.backend.security.oauth2.jwt.JwtEncoderParameters
-
The header, or null for the encoder's choice.
- getKey() - Method in class com.codename1.backend.aws.S3.ObjectInfo
- getKey() - Method in class java.util.AbstractMap.SimpleEntry
-
Returns the key.
- getKey() - Method in class java.util.AbstractMap.SimpleImmutableEntry
-
Returns the key.
- getKey() - Method in interface java.util.Map.Entry
-
Returns the key.
- getKeyHash() - Method in class com.codename1.backend.security.AnonymousAuthenticationToken
-
The hash of the key the token was made with.
- getKeyHash() - Method in class com.codename1.backend.security.RememberMeAuthenticationToken
-
The hash of the key the token was made with.
- getKeyId() - Method in class com.codename1.backend.security.crypto.Jwk
-
The id given, or else the base64url SHA-256 of the SubjectPublicKeyInfo; null for a shared secret that was given none.
- getKeyId() - Method in class com.codename1.backend.security.oauth2.jwt.JwsHeader
-
kid, or null to sign with the first key that fits. - getKeys() - Method in class com.codename1.backend.security.crypto.JwkSet
- getKeys() - Method in interface com.codename1.backend.security.crypto.JwkSource
-
The keys, the one to sign with first.
- getKeys() - Method in class com.codename1.backend.security.oauth2.jwt.RemoteJwkSet
- getKeyType() - Method in class com.codename1.backend.security.crypto.Jwk
-
RSA,ECoroct. - getKind() - Method in class com.codename1.backend.metrics.Instrument
- getKind() - Method in class com.codename1.backend.orm.ColumnDefinition
-
One of the kind constants on
Dialect. - getKind() - Method in interface com.codename1.backend.security.AuthenticationCodec
-
The name this kind is stored under: short, and never reused for another.
- getKind() - Method in class com.codename1.backend.Span
-
One of the KIND constants.
- getLabel() - Method in class com.codename1.backend.security.webauthn.CredentialRecord
-
What the user called it; empty when they named it nothing.
- getLabelKeys() - Method in class com.codename1.backend.metrics.Histogram
-
The label keys this histogram was created with.
- getLanguage() - Method in class java.util.Locale
- getLast() - Method in class java.util.ArrayDeque
-
Gets but not removes the tail element of this deque.
- getLast() - Method in interface java.util.Deque
-
Gets but not removes the tail element of this deque.
- getLast() - Method in class java.util.LinkedList
-
Returns the last element in this
LinkedList. - getLastAccessedTime() - Method in class com.codename1.backend.HttpSession
- getLastFour() - Method in class com.codename1.backend.security.apikey.ApiKey
- getLastModified() - Method in class com.codename1.backend.aws.S3.ObjectInfo
-
The raw HTTP date the service sent, not a parsed one.
- getLastUsed() - Method in class com.codename1.backend.security.rememberme.PersistentRememberMeToken
- getLastUsed() - Method in class com.codename1.backend.security.webauthn.CredentialRecord
-
When it last signed in, in epoch milliseconds; when it was registered, until it has.
- getLastUsedStep() - Method in class com.codename1.backend.security.mfa.TotpCredential
- getLineNumber() - Method in class java.lang.StackTraceElement
- getListenAddress() - Method in class com.codename1.backend.Backend
-
The address a client on this machine reaches the listener at: the one it is bound to (bracketed when IPv6), or 127.0.0.1 when it listens on every interface.
- getListener() - Method in class java.util.EventListenerProxy
-
Returns the wrapped
EventListener. - getLocalizedMessage() - Method in exception class java.lang.Throwable
- getLoginFormUrl() - Method in class com.codename1.backend.security.LoginUrlAuthenticationEntryPoint
- GetMapping - Annotation Type in com.codename1.backend.annotations
-
Maps an HTTP GET to this method.
- getMaxInactiveInterval() - Method in class com.codename1.backend.HttpSession
-
Seconds of inactivity after which the session is discarded.
- getMaxSize() - Method in class com.codename1.backend.DataSource
-
How many connections this pool may hold.
- getMessage() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- getMessage() - Method in exception class java.lang.Throwable
-
Returns the error message string of this Throwable object.
- getMethod() - Method in class com.codename1.backend.Http2.Stream
- getMethod() - Method in class com.codename1.backend.HttpServer.Request
- getMethodName() - Method in class java.lang.StackTraceElement
- getMetrics() - Method in class com.codename1.backend.HttpServer
-
A snapshot for a health or metrics endpoint.
- getMigrationsExecuted() - Method in class com.codename1.migration.MigrateResult
-
How many migrations ran.
- getMinute() - Method in class java.time.LocalDateTime
- getMinute() - Method in class java.time.LocalTime
- getModel() - Method in class com.codename1.backend.mvc.ModelAndView
- getModifiedtime() - Method in class com.codename1.io.gzip.GZIPInputStream
- getModifiedTime() - Method in class com.codename1.io.gzip.GZIPHeader
- getMonths() - Method in class java.text.DateFormatSymbols
- getMonths() - Method in class java.time.Period
- getMonthValue() - Method in class java.time.LocalDate
- getMonthValue() - Method in class java.time.LocalDateTime
- getName() - Method in class com.codename1.backend.HttpServer.Part
-
The field name from its Content-Disposition, or null.
- getName() - Method in class com.codename1.backend.metrics.Instrument
- getName() - Method in class com.codename1.backend.security.AbstractAuthenticationToken
- getName() - Method in class com.codename1.backend.security.apikey.ApiKeyAuthenticationToken
- getName() - Method in interface com.codename1.backend.security.Authentication
-
The principal's name.
- getName() - Method in class com.codename1.backend.security.oauth2.client.DefaultOAuth2User
- getName() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthenticationToken
- getName() - Method in interface com.codename1.backend.security.oauth2.client.OAuth2User
-
What the user is called here: the value of the provider's name attribute, or the local account an
OAuth2UserServicetied them to. - getName() - Method in interface com.codename1.backend.security.oauth2.jose.jws.JwsAlgorithm
-
The name as a token's
algheader carries it:RS256. - getName() - Method in enum com.codename1.backend.security.oauth2.jose.jws.MacAlgorithm
- getName() - Method in enum com.codename1.backend.security.oauth2.jose.jws.SignatureAlgorithm
- getName() - Method in class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationToken
- getName() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialRpEntity
- getName() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialUserEntity
- getName() - Method in class com.codename1.backend.security.webauthn.WebAuthnAuthentication
- getName() - Method in class com.codename1.backend.Span
-
The current name.
- getName() - Method in class com.codename1.backend.sql.Dialect
-
"sqlite", "postgresql" or "mysql".
- getName() - Method in class com.codename1.backend.TaskExecutor
- getName() - Method in class com.codename1.backend.test.MockMultipartFile
- getName() - Method in class com.codename1.io.gzip.GZIPHeader
- getName() - Method in class com.codename1.io.gzip.GZIPInputStream
- getName() - Method in class com.codename1.migration.MigrationSet
-
The name of the set.
- getName() - Method in class java.lang.Class
-
Returns the fully-qualified name of the entity (class, interface, array class, primitive type, or void) represented by this Class object, as a String.
- getName() - Method in class java.lang.reflect.Constructor
- getName() - Method in class java.lang.reflect.Method
- getName() - Method in class java.lang.Thread
-
Returns this thread's name.
- getNano() - Method in class java.time.Duration
- getNano() - Method in class java.time.Instant
- getNano() - Method in class java.time.LocalDateTime
- getNano() - Method in class java.time.LocalTime
- getNextIn() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- getNextInIndex() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- getNextOut() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- getNextOutIndex() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- getNonce() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
-
The value the ID token must repeat, or null when no ID token is asked for.
- getNotBefore() - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
nbfin seconds since the epoch, or null. - getObject(String, String) - Method in class com.codename1.backend.aws.S3
-
Downloads an object.
- getOffset() - Method in class java.time.OffsetDateTime
- getOffset() - Method in class java.time.ZonedDateTime
- getOffset(int, int, int, int, int, int) - Method in class java.util.TimeZone
-
Gets offset, for current date, modified in case of daylight savings.
- getOidcUserInfoEndpoint() - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
-
/userinfounless set. - getOpenConnections() - Method in class com.codename1.backend.HttpServer
-
Connections currently open.
- getOpenCount() - Method in class com.codename1.backend.DataSource
-
How many are open right now, borrowed or idle.
- getOrDefault(Object, V) - Method in interface java.util.Map
-
Returns the value to which the specified key is mapped, or
defaultValueif this map contains no mapping for the key. - getOriginalFilename() - Method in class com.codename1.backend.test.MockMultipartFile
- getOS() - Method in class com.codename1.io.gzip.GZIPHeader
- getOS() - Method in class com.codename1.io.gzip.GZIPInputStream
- getOtpauthUri() - Method in class com.codename1.backend.security.mfa.TotpEnrollment
-
The
otpauth://URI an app reads from a QR code. - getOwner() - Method in class com.codename1.backend.security.apikey.ApiKey
- getParameter() - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
- getParameterName() - Method in interface com.codename1.backend.security.CsrfToken
-
The form field a page sends the token in:
_csrf. - getParameterName() - Method in class com.codename1.backend.security.DefaultCsrfToken
- getParent() - Method in class java.lang.ClassLoader
- getParsedString() - Method in exception class java.time.format.DateTimeParseException
- getPart(String) - Method in class com.codename1.backend.HttpServer.Request
-
The first part named
name, or null. - getParts() - Method in class com.codename1.backend.HttpServer.Request
-
The parts of a
multipart/form-databody, in order; an empty list when the body is not one. - getPassword() - Method in class com.codename1.backend.security.core.userdetails.User
- getPassword() - Method in interface com.codename1.backend.security.core.userdetails.UserDetails
-
The password as it is stored: encoded, with the
{id}prefix a delegating encoder reads. - getPasswordEncoder() - Method in class com.codename1.backend.security.DaoAuthenticationProvider
- getPath() - Method in class com.codename1.backend.Http2.Stream
-
Path and query, from the :path pseudo-header.
- getPath() - Method in class com.codename1.backend.WebSocketSession
-
The path the client upgraded on, with no query string.
- getPath() - Method in class java.net.URI
-
Get the decoded path part of the uri.
- getPattern() - Method in class com.codename1.backend.security.AntPathRequestMatcher
- getPeerAddress() - Method in class com.codename1.backend.HttpServer.Request
-
The address of the other end of the connection this request arrived on: the client's when it connected directly, a load balancer's when it did not.
- getPlaintext() - Method in class com.codename1.backend.security.apikey.GeneratedApiKey
-
The key as a client sends it.
- getPolledAt() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService.StoredToken
-
When it was used up, or
OAuth2AuthorizationService.touchToken(String, String, long)was last called for it; 0 when neither has happened. - getPort() - Method in class com.codename1.backend.HttpServer
- getPort() - Method in class com.codename1.backend.ServerSocket
- getPort() - Method in class java.net.URI
-
Get the port number for this URI.
- getPrefix() - Method in class com.codename1.backend.security.apikey.ApiKey
- getPrefix() - Method in class com.codename1.backend.security.apikey.ApiKeyGenerator
- getPreviousTokenHash() - Method in class com.codename1.backend.security.rememberme.PersistentRememberMeToken
-
The hash replaced at
PersistentRememberMeToken.getLastUsed(), or null before the first rotation. - getPrincipal() - Method in class com.codename1.backend.security.AnonymousAuthenticationToken
- getPrincipal() - Method in class com.codename1.backend.security.apikey.ApiKeyAuthenticationToken
- getPrincipal() - Method in interface com.codename1.backend.security.Authentication
-
The identity: a username before authentication, and afterwards usually the
UserDetailsit was resolved to. - getPrincipal() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthenticationToken
- getPrincipal() - Method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenAuthenticationToken
- getPrincipal() - Method in class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationToken
- getPrincipal() - Method in class com.codename1.backend.security.RememberMeAuthenticationToken
- getPrincipal() - Method in class com.codename1.backend.security.UsernamePasswordAuthenticationToken
- getPrincipal() - Method in class com.codename1.backend.security.webauthn.WebAuthnAuthentication
- getPrincipalName() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
-
Who made the grant; empty for a device grant nobody has answered.
- getPrincipalName() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2TokenContext
-
The user, or for
client_credentialsthe client's id. - getPriority() - Method in class java.lang.Thread
-
Returns this thread's priority.
- getPrivateKey() - Method in class com.codename1.backend.security.crypto.Jwk
-
The PKCS#8 private key, or the bytes of a shared secret; null for a key that only verifies.
- getProfile() - Method in class com.codename1.backend.Config
-
The active profile: "default" unless something named another.
- getProperty(String) - Static method in class java.lang.System
-
Gets the system property indicated by the specified key.
- getProperty(String) - Method in class java.util.Properties
-
Searches for the property with the specified name.
- getProperty(String, String) - Method in class java.util.Properties
-
Searches for the property with the specified name.
- getProviderDetails() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration
- getProviders() - Method in class com.codename1.backend.security.ProviderManager
-
The providers, in the order they are asked.
- getPublicKey() - Method in class com.codename1.backend.security.crypto.Jwk
-
The SubjectPublicKeyInfo; null for a shared secret.
- getPublicKey() - Method in class com.codename1.backend.security.webauthn.CoseKey
-
The key as a SubjectPublicKeyInfo, in DER.
- getPublicKey() - Method in class com.codename1.backend.security.webauthn.CredentialRecord
-
The public key, as a SubjectPublicKeyInfo in DER.
- getQuery() - Method in class com.codename1.backend.WebSocketSession
-
The query string, or null when there was none.
- getQuery() - Method in class java.net.URI
-
Get the decoded query part of the uri.
- getQueueDepth() - Method in class com.codename1.backend.TaskExecutor
-
Tasks waiting for a thread.
- getRawAuthority() - Method in class java.net.URI
-
Returns
- getRawFragment() - Method in class java.net.URI
-
Get the encoded fragment (otherwise known as the "reference" or "anchor") part of the uri.
- getRawOffset() - Method in class java.util.TimeZone
-
Gets the GMT offset for this time zone.
- getRawPath() - Method in class java.net.URI
-
Get the encoded path part of the uri.
- getRawQuery() - Method in class java.net.URI
-
Get the encoded query part of the uri.
- getRawSchemeSpecificPart() - Method in class java.net.URI
-
Returns
- getRawUserInfo() - Method in class java.net.URI
-
Returns
- getRealmName() - Method in class com.codename1.backend.security.BasicAuthenticationEntryPoint
- getReason() - Method in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
Which check refused the ceremony: one of the constants of this class.
- getReason() - Method in exception class java.net.URISyntaxException
-
Returns
- getRedirectedUrl() - Method in class com.codename1.backend.test.MockResponse
-
The Location of a redirect, or null.
- getRedirectUri() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration
-
Where the provider sends the user back: an address, or a template with
{baseUrl}and{registrationId}in it. - getRedirectUri() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
-
The address the provider is asked to answer at, which the exchange of the code must repeat exactly.
- getRedirectUris() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
- getRefreshToken() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AccessTokenResponse
-
The refresh token, or null.
- getRefreshTokenTimeToLive() - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings
- getRegisteredClient() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2TokenContext
- getRegisteredClientId() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
-
The
RegisteredClient.getId()of the client the grant was made to. - getRegistrationId() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration
- getRegistrationId() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
- getRegistrations() - Method in class com.codename1.backend.security.oauth2.client.InMemoryClientRegistrationRepository
-
Every registration, in the order given.
- getRegistry() - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer
-
The rules, to add to.
- getRememberMeServices() - Method in class com.codename1.backend.security.RememberMeConfigurer
-
The services of this chain: what a sign-in the application completes itself calls
loginSuccesson. - getRemoteAddress() - Method in class com.codename1.backend.HttpServer.Request
-
The address of the client this request is from.
- getRequest() - Method in class com.codename1.backend.security.RequestAuthorizationContext
- getRequest() - Method in class com.codename1.backend.security.SecurityExchange
- getRequest(HttpServer.Request) - Method in class com.codename1.backend.security.HttpSessionRequestCache
- getRequest(HttpServer.Request) - Method in class com.codename1.backend.security.NullRequestCache
- getRequest(HttpServer.Request) - Method in interface com.codename1.backend.security.RequestCache
-
The remembered address -- a path, with its query -- or null.
- getRequestedScopes() - Method in class com.codename1.backend.security.oauth2.client.OAuth2UserRequest
-
Used when the provider omits scope, meaning the scopes that were requested.
- getRequestMatcher() - Method in class com.codename1.backend.security.DefaultSecurityFilterChain
- getRequestMethod() - Method in class com.codename1.backend.test.MvcResult
-
The method sent.
- getRequestTarget() - Method in class com.codename1.backend.test.MvcResult
-
The path and query sent.
- getResidentKey() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialCreationOptions
-
required,preferredordiscouraged: whether the credential must be one a sign-in can find without being told the user. - getResourceAsStream(String) - Method in class java.lang.Class
-
Finds a resource with a given name in the application's JAR file.
- getResourceAsStream(String) - Method in class java.lang.ClassLoader
- getResources() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
-
The resource servers the client may ask for tokens for, each by the address it is named with in a token's
aud; empty when the client was registered with none, and may then name any. - getResponse() - Method in class com.codename1.backend.test.MvcResult
- getResponseMode() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration
-
ClientRegistration.FORM_POST, or null for the provider's default, a redirect. - getRetryAfterSeconds() - Method in exception class com.codename1.backend.security.ServiceBusyException
-
What the answer's
Retry-Aftersays. - getRootUri() - Method in class com.codename1.backend.test.TestRestTemplate
- getRoutePath(String, String) - Method in class com.codename1.backend.Config
-
A path a handler of the server's own answers, in the canonical form every request target is compared in: escaped unreserved characters decoded, other escapes upper-cased.
- getRp() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialCreationOptions
- getRp() - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
- getRpId() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialRequestOptions
- getRuntime() - Static method in class java.lang.Runtime
-
Returns the runtime object associated with the current Java application.
- getScheme() - Method in class java.net.URI
-
Get the scheme part of the URI.
- getSchemeSpecificPart() - Method in class java.net.URI
-
Returns
- getScope() - Method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenError
-
The scope the request needed, or null.
- getScopes() - Method in class com.codename1.backend.security.apikey.ApiKey
- getScopes() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration
- getScopes() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AccessTokenResponse
-
The scopes granted, when the answer named them; empty otherwise, which means what was asked for.
- getScopes() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
- getScopes() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
- getScopes() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
-
Every scope the client may be granted.
- getScript() - Method in class com.codename1.migration.MigrationInfo
-
The script file or migration class.
- getSecond() - Method in class java.time.LocalDateTime
- getSecond() - Method in class java.time.LocalTime
- getSeconds() - Method in class java.time.Duration
- getSecret() - Method in class com.codename1.backend.security.mfa.TotpCredential
-
The shared secret.
- getSecret() - Method in class com.codename1.backend.security.mfa.TotpEnrollment
-
The secret in Base32, for typing into an app by hand.
- getSecretKey() - Method in class com.codename1.backend.aws.Credentials
- getSeries() - Method in class com.codename1.backend.security.rememberme.PersistentRememberMeToken
- getServer() - Method in class com.codename1.backend.Backend
-
The running server, for its metrics or to stop it.
- getSession() - Method in class com.codename1.backend.HttpServer.Request
-
The session of this request, creating one if it has none.
- getSession(boolean) - Method in class com.codename1.backend.HttpServer.Request
-
The session this request belongs to: the one its cookie names, or, with
createset and no valid cookie, a new one the response will send a cookie for. - getSessionToken() - Method in class com.codename1.backend.aws.Credentials
-
Null for a long-lived key pair; set for anything temporary.
- getSet() - Method in class com.codename1.migration.Migrator
-
The set this migrator runs.
- getSettings() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationServer
- getSharedObject(Class) - Method in class com.codename1.backend.security.HttpSecurity
-
Something the parts of a chain share, by its class: one set with
HttpSecurity.setSharedObject(Class, C), or else the one bean of the application that is an instance ofsharedType. - getShortMonths() - Method in class java.text.DateFormatSymbols
- getShortWeekdays() - Method in class java.text.DateFormatSymbols
- getSignatureCount() - Method in class com.codename1.backend.security.webauthn.CredentialRecord
-
The signature counter of the last ceremony.
- getSignedTokens() - Method in class com.codename1.backend.security.oauth2.client.CookieOAuth2AuthorizationRequestRepository
-
The signer; for tests that move the clock.
- getSimpleName() - Method in class java.lang.Class
-
Deprecated
- getSize() - Method in class com.codename1.backend.aws.S3.ObjectInfo
- getSize() - Method in class com.codename1.backend.HttpServer.Part
-
The part's content length in bytes.
- getSize() - Method in class com.codename1.backend.mvc.IterationStatus
- getSize() - Method in class com.codename1.backend.TaskExecutor
- getStackTrace() - Method in class java.lang.Thread
- getStackTrace() - Method in exception class java.lang.Throwable
- getState() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
- getState() - Method in class com.codename1.migration.MigrationInfo
-
Where the migration stands.
- getStatus() - Method in class com.codename1.backend.Http.Response
- getStatus() - Method in class com.codename1.backend.HttpServer.Response
- getStatus() - Method in interface com.codename1.backend.security.HeaderWriter.Headers
-
The status of the response.
- getStatus() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
- getStatus() - Method in class com.codename1.backend.test.MockResponse
- getStatus() - Method in class com.codename1.backend.Web.Result
-
The HTTP status, or -1 when the transfer itself failed.
- getStatusCode() - Method in class com.codename1.backend.test.ResponseEntity
- getStatusCodeValue() - Method in class com.codename1.backend.test.ResponseEntity
- getSubject() - Method in class com.codename1.backend.security.oauth2.client.DefaultOidcUser
- getSubject() - Method in interface com.codename1.backend.security.oauth2.client.OidcUser
-
The
subclaim: who the user is at the provider, for good. - getSubject() - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
sub: whom the token is about. - getSubprotocol() - Method in class com.codename1.backend.WebSocketSession
-
The negotiated subprotocol, or null when none was.
- getSubprotocols() - Method in interface com.codename1.backend.WebSocket
-
The subprotocols this endpoint speaks, best first, or null for none.
- getSuppressed() - Method in exception class java.lang.Throwable
- getSyncFlush() - Method in class com.codename1.io.gzip.DeflaterOutputStream
- getSystemClassLoader() - Static method in class java.lang.ClassLoader
- getSystemResourceAsStream(String) - Static method in class java.lang.ClassLoader
- getTable() - Method in class com.codename1.migration.MigrationSet
-
The history table of the set.
- getTarget() - Method in class com.codename1.backend.HttpServer.Request
-
Path plus query string, exactly as it arrived.
- getTarget() - Method in class java.lang.invoke.CallSite
- getTargetVersion() - Method in class com.codename1.migration.MigrateResult
-
The schema version after the run.
- getText() - Method in class com.codename1.backend.HttpServer.Part
-
The part's content as UTF-8 text.
- getTime() - Method in class java.util.Calendar
-
Gets this Calendar's current time.
- getTime() - Method in class java.util.Date
-
Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this Date object.
- getTimeInMillis() - Method in class java.util.Calendar
-
Gets this Calendar's current time as a long expressed in milliseconds after January 1, 1970, 0:00:00 GMT (the epoch).
- getTimeInstance() - Static method in class java.text.DateFormat
-
Get a DateFormat instance with default style for time (SHORT).
- getTimeInstance(int) - Static method in class java.text.DateFormat
-
Get a DateFormat instance that uses a given style for times.
- getTimeout() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialCreationOptions
-
How long the client may take, in milliseconds: a hint to it.
- getTimeout() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialRequestOptions
-
How long the client may take, in milliseconds: a hint to it.
- getTimeZone() - Method in class java.util.Calendar
-
Gets the time zone.
- getTimeZone(String) - Static method in class java.util.TimeZone
-
Gets the TimeZone for the given ID.
- getToken() - Method in interface com.codename1.backend.security.CsrfToken
-
The value to send.
- getToken() - Method in class com.codename1.backend.security.DefaultCsrfToken
- getToken() - Method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenAuthenticationToken
- getToken() - Method in class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationToken
-
The verified token.
- getToken(HttpServer.Request) - Static method in class com.codename1.backend.security.CsrfFilter
-
The CSRF token of
request, for a page or a script to send back, or null when the request is under no chain or its chain has CSRF protection off. - getTokenAttributes() - Method in class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationToken
-
The token's claims.
- getTokenEndpoint() - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
-
/oauth2/tokenunless set. - getTokenForSeries(String) - Method in class com.codename1.backend.security.rememberme.InMemoryTokenRepositoryImpl
- getTokenForSeries(String) - Method in class com.codename1.backend.security.rememberme.JdbcTokenRepository
- getTokenForSeries(String) - Method in interface com.codename1.backend.security.rememberme.PersistentTokenRepository
-
The stored token of
series, or null. - getTokenHash() - Method in class com.codename1.backend.security.rememberme.PersistentRememberMeToken
- getTokenResponse() - Method in class com.codename1.backend.security.oauth2.client.OAuth2UserRequest
-
The provider's whole answer.
- getTokenResponse(ClientRegistration, OAuth2AuthorizationRequest, String) - Method in class com.codename1.backend.security.oauth2.client.DefaultAuthorizationCodeTokenResponseClient
- getTokenResponse(ClientRegistration, OAuth2AuthorizationRequest, String) - Method in interface com.codename1.backend.security.oauth2.client.OAuth2AccessTokenResponseClient
-
The provider's answer.
- getTokenRevocationEndpoint() - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
-
/oauth2/revokeunless set. - getTokenSettings() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
- getTokenType() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AccessTokenResponse
- getTokenType() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2TokenContext
- getTokenUri() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.ProviderDetails
- getTokenValue() - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
-
The token as it travels: three base64url parts joined by dots.
- getTotalIn() - Method in class com.codename1.io.gzip.DeflaterOutputStream
- getTotalIn() - Method in class com.codename1.io.gzip.InflaterInputStream
- getTotalIn() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- getTotalOut() - Method in class com.codename1.io.gzip.DeflaterOutputStream
- getTotalOut() - Method in class com.codename1.io.gzip.InflaterInputStream
- getTotalOut() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- getTotalSeconds() - Method in class java.time.ZoneOffset
- getTracer() - Method in class com.codename1.backend.Backend
-
The tracer this server installed, or null: its scheduled jobs are traced by it.
- getTracer() - Static method in class com.codename1.backend.Tracing
-
The installed tracer, or null.
- getTransports() - Method in class com.codename1.backend.security.webauthn.CredentialRecord
-
How the authenticator said it can be reached:
internal,hybrid,usb,nfc,ble. - getType() - Method in class com.codename1.migration.MigrationInfo
-
The kind of migration.
- getUnit() - Method in class com.codename1.backend.metrics.Instrument
- getUri() - Method in class com.codename1.backend.security.oauth2.core.OAuth2Error
- getUri() - Method in class com.codename1.backend.security.oauth2.jwt.RemoteJwkSet
- getUse() - Method in class com.codename1.backend.security.crypto.Jwk
-
The declared use, or null.
- getUser() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialCreationOptions
- getUser() - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations.Assertion
-
The user the credential belongs to.
- getUserCredentials() - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
The credentials this was made with.
- getUserDetailsService() - Method in class com.codename1.backend.security.DaoAuthenticationProvider
- getUserEmailsUri() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.ProviderDetails
-
The attribute that names the user;
subfor an OpenID Connect provider that says nothing else. - getUserEntities() - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
The user entities this was made with.
- getUserEntityUserId() - Method in class com.codename1.backend.security.webauthn.CredentialRecord
-
The handle of the user the credential belongs to; see
PublicKeyCredentialUserEntity.getId(). - getUserId() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialRequestOptions
-
The handle of the user who said who they are before the ceremony, whose credential the answer must then be; null when nobody did.
- getUserInfo() - Method in class java.net.URI
-
Returns
- getUserInfoUri() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.ProviderDetails
-
Where the user's attributes are read from, or null.
- getUsername() - Method in class com.codename1.backend.security.core.userdetails.User
- getUsername() - Method in interface com.codename1.backend.security.core.userdetails.UserDetails
- getUsername() - Method in class com.codename1.backend.security.mfa.TotpCredential
- getUsername() - Method in class com.codename1.backend.security.rememberme.PersistentRememberMeToken
- getUserNameAttributeName() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.ProviderDetails
- getUserVerification() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialCreationOptions
-
required,preferredordiscouraged. - getUserVerification() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialRequestOptions
-
required,preferredordiscouraged. - getValue() - Method in class com.codename1.backend.security.oauth2.core.AuthorizationGrantType
-
The value as it is written in a request.
- getValue() - Method in class com.codename1.backend.security.oauth2.core.ClientAuthenticationMethod
-
The value as metadata and settings write it.
- getValue() - Method in class com.codename1.io.gzip.Adler32
- getValue() - Method in class com.codename1.io.gzip.CRC32
- getValue() - Method in class java.util.AbstractMap.SimpleEntry
-
Returns the value.
- getValue() - Method in class java.util.AbstractMap.SimpleImmutableEntry
-
Returns the value.
- getValue() - Method in interface java.util.Map.Entry
-
Returns the value.
- getVariables() - Method in class com.codename1.backend.security.RequestAuthorizationContext
-
{name}of the matched pattern, by name. - getVariables() - Method in class com.codename1.backend.security.RequestMatcher.MatchResult
-
The variables by name; empty when the pattern has none.
- getVersion() - Method in class com.codename1.backend.HttpServer.Request
-
"HTTP/1.1" or "HTTP/1.0".
- getVersion() - Method in class com.codename1.migration.MigrationInfo
-
The version.
- getViewName() - Method in class com.codename1.backend.mvc.ModelAndView
- getWarnings() - Method in class com.codename1.migration.MigrateResult
-
What the run tolerated: a history newer than this build, for one.
- getWeekdays() - Method in class java.text.DateFormatSymbols
- getYear() - Method in class java.time.LocalDate
- getYear() - Method in class java.time.LocalDateTime
- getYears() - Method in class java.time.Period
- getZone() - Method in class java.time.Clock
- getZone() - Method in class java.time.ZonedDateTime
- getZoneStrings() - Method in class java.text.DateFormatSymbols
- GITHUB - Enum constant in enum com.codename1.backend.security.oauth2.client.CommonOAuth2Provider
-
GitHub, which is OAuth2 without OpenID Connect: the user is read from its API, and named by the numeric
id. - GONE - Enum constant in enum com.codename1.backend.test.HttpStatus
- GOOGLE - Enum constant in enum com.codename1.backend.security.oauth2.client.CommonOAuth2Provider
-
Google, with OpenID Connect.
- GrantedAuthority - Interface in com.codename1.backend.security
-
One thing an
Authenticationhas been granted: a role, writtenROLE_ADMIN, or any other authority the application checks by name. - gt(String, Object) - Method in class com.codename1.backend.orm.Query
-
field > value.
- gt(String, Object) - Method in interface com.codename1.orm.session.Query
-
Adds a greater-than predicate.
- gte(String, Object) - Method in class com.codename1.backend.orm.Query
-
field >= value.
- guardWithTest(MethodHandle, MethodHandle, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
- GZIPException - Exception Class in com.codename1.io.gzip
- GZIPException() - Constructor for exception class com.codename1.io.gzip.GZIPException
- GZIPException(String) - Constructor for exception class com.codename1.io.gzip.GZIPException
- GZIPHeader - Class in com.codename1.io.gzip
-
See also
- GZIPHeader() - Constructor for class com.codename1.io.gzip.GZIPHeader
- GZIPInputStream - Class in com.codename1.io.gzip
- GZIPInputStream(InputStream) - Constructor for class com.codename1.io.gzip.GZIPInputStream
- GZIPInputStream(InputStream, int, boolean) - Constructor for class com.codename1.io.gzip.GZIPInputStream
- GZIPInputStream(InputStream, Inflater, int, boolean) - Constructor for class com.codename1.io.gzip.GZIPInputStream
- GZIPOutputStream - Class in com.codename1.io.gzip
- GZIPOutputStream(OutputStream) - Constructor for class com.codename1.io.gzip.GZIPOutputStream
- GZIPOutputStream(OutputStream, int) - Constructor for class com.codename1.io.gzip.GZIPOutputStream
- GZIPOutputStream(OutputStream, int, boolean) - Constructor for class com.codename1.io.gzip.GZIPOutputStream
- GZIPOutputStream(OutputStream, Deflater, int, boolean) - Constructor for class com.codename1.io.gzip.GZIPOutputStream
H
- handle(HttpServer.Request) - Method in interface com.codename1.backend.HttpServer.Handler
- handle(HttpServer.Request) - Method in class com.codename1.backend.StaticFiles
- handle(HttpServer.Request, AccessDeniedException) - Method in interface com.codename1.backend.security.AccessDeniedHandler
- handle(HttpServer.Request, AccessDeniedException) - Method in class com.codename1.backend.security.AccessDeniedHandlerImpl
- handle(HttpServer.Request, AccessDeniedException) - Method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenAccessDeniedHandler
- handle(HttpServer.Request, String) - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationServer
-
Answers a request to one of the endpoints that need no signed-in user: the token, revocation, device authorization, JWK Set, user info and metadata endpoints.
- handle(MvcResult) - Method in interface com.codename1.backend.test.ResultHandler
- handle(String, String) - Method in interface com.codename1.backend.Handler
-
event: the invocation payload, as JSON
- handler(HttpServer.Handler) - Method in class com.codename1.backend.Backend.Builder
-
Adds a handler.
- Handler - Interface in com.codename1.backend
-
What a Lambda-style handler implements.
- handlers(Backend.Handlers) - Method in class com.codename1.backend.Backend.Builder
-
Adds handlers built once the database exists.
- hasAnyAuthority(String...) - Static method in class com.codename1.backend.security.AuthorityAuthorizationManager
-
The caller has any one of the authorities.
- hasAnyAuthority(String...) - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
-
A caller with any one of the authorities.
- hasAnyRole(String...) - Static method in class com.codename1.backend.security.AuthorityAuthorizationManager
-
The caller has any one of the roles.
- hasAnyRole(String...) - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
-
A caller with any one of the roles.
- hasAuthority(String) - Static method in class com.codename1.backend.security.AuthorityAuthorizationManager
-
The caller has the authority, as it is written.
- hasAuthority(String) - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
-
A caller with the authority, as it is written.
- hasBody() - Method in class com.codename1.backend.test.HttpEntity
- hasChanged() - Method in class java.util.Observable
-
Returns the changed flag for this
Observable. - hasClaim(String) - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
- hasErrors() - Method in class com.codename1.backend.mvc.BindingResult
- hasErrors() - Method in class com.codename1.backend.security.oauth2.core.OAuth2TokenValidatorResult
- hash(Object...) - Static method in class java.util.Objects
- hash(String) - Static method in class com.codename1.backend.security.apikey.ApiKeyGenerator
-
The lowercase hexadecimal SHA-256 of a key: what is stored, and what a presented key is looked up by.
- hash(String) - Static method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
-
The SHA-256 of a token, in hex: what the repository keeps.
- Hash - Class in com.codename1.security
-
Streaming and one-shot cryptographic hash (message digest) functions.
- hashCode() - Method in class com.codename1.backend.security.core.userdetails.User
- hashCode() - Method in class com.codename1.backend.security.oauth2.core.AuthorizationGrantType
- hashCode() - Method in class com.codename1.backend.security.oauth2.core.ClientAuthenticationMethod
- hashCode() - Method in class com.codename1.backend.security.SimpleGrantedAuthority
- hashCode() - Method in class com.codename1.orm.session.Identifier
-
Computes a hash from the normalized key components.
- hashCode() - Method in interface java.lang.annotation.Annotation
-
Returns the hash code of this annotation, as defined below:
- hashCode() - Method in class java.lang.Boolean
-
Returns a hash code for this Boolean object.
- hashCode() - Method in class java.lang.Byte
-
Returns a hashcode for this Byte.
- hashCode() - Method in class java.lang.Character
-
Returns a hash code for this Character.
- hashCode() - Method in class java.lang.Double
-
Returns a hashcode for this Double object.
- hashCode() - Method in class java.lang.Enum
- hashCode() - Method in class java.lang.Float
-
Returns a hashcode for this Float object.
- hashCode() - Method in class java.lang.Integer
-
Returns a hashcode for this Integer.
- hashCode() - Method in class java.lang.Long
-
Computes a hashcode for this Long.
- hashCode() - Method in class java.lang.Object
-
Returns a hash code value for the object.
- hashCode() - Method in class java.lang.Record
- hashCode() - Method in class java.lang.Short
-
Returns a hashcode for this Short.
- hashCode() - Method in class java.lang.String
-
Returns a hashcode for this string.
- hashCode() - Method in class java.net.URI
- hashCode() - Method in class java.text.DateFormat
- hashCode() - Method in class java.time.Duration
- hashCode() - Method in class java.time.Instant
- hashCode() - Method in class java.time.LocalDate
- hashCode() - Method in class java.time.LocalDateTime
- hashCode() - Method in class java.time.LocalTime
- hashCode() - Method in class java.time.OffsetDateTime
- hashCode() - Method in class java.time.ZonedDateTime
- hashCode() - Method in class java.time.ZoneId
- hashCode() - Method in class java.util.AbstractList
-
Returns the hash code of this list.
- hashCode() - Method in class java.util.AbstractMap
-
Returns the hash code for this object.
- hashCode() - Method in class java.util.AbstractMap.SimpleEntry
-
Answers the hash code of this entry.
- hashCode() - Method in class java.util.AbstractMap.SimpleImmutableEntry
-
Answers the hash code of this entry.
- hashCode() - Method in class java.util.AbstractSet
-
Returns the hash code for this set.
- hashCode() - Method in class java.util.BitSet
-
Computes the hash code for this
BitSet. - hashCode() - Method in interface java.util.Collection
-
Returns an integer hash code for the receiver.
- hashCode() - Method in class java.util.Date
-
Returns a hash code value for this object.
- hashCode() - Method in class java.util.Hashtable
- hashCode() - Method in interface java.util.List
-
Returns the hash code for this
List. - hashCode() - Method in interface java.util.Map.Entry
-
Returns an integer hash code for the receiver.
- hashCode() - Method in interface java.util.Map
-
Returns an integer hash code for the receiver.
- hashCode() - Method in interface java.util.Set
-
Returns the hash code for this set.
- hashCode() - Method in class java.util.Vector
-
Returns an integer hash code for the receiver.
- hashCode(boolean[]) - Static method in class java.util.Arrays
-
Returns a hash code based on the contents of the given array.
- hashCode(byte[]) - Static method in class java.util.Arrays
-
Returns a hash code based on the contents of the given array.
- hashCode(char[]) - Static method in class java.util.Arrays
-
Returns a hash code based on the contents of the given array.
- hashCode(double[]) - Static method in class java.util.Arrays
-
Returns a hash code based on the contents of the given array.
- hashCode(float[]) - Static method in class java.util.Arrays
-
Returns a hash code based on the contents of the given array.
- hashCode(int[]) - Static method in class java.util.Arrays
-
Returns a hash code based on the contents of the given array.
- hashCode(long[]) - Static method in class java.util.Arrays
-
Returns a hash code based on the contents of the given array.
- hashCode(short[]) - Static method in class java.util.Arrays
-
Returns a hash code based on the contents of the given array.
- hashCode(Object) - Static method in class java.util.Objects
-
Returns the hash code of a non-null argument and 0 for a null argument.
- hashCode(Object[]) - Static method in class java.util.Arrays
-
Returns a hash code based on the contents of the given array.
- HashMap<K,
V> - Class in java.util -
HashMap is an implementation of Map.
- HashMap() - Constructor for class java.util.HashMap
-
Constructs a new empty
HashMapinstance. - HashMap(int) - Constructor for class java.util.HashMap
-
Constructs a new
HashMapinstance with the specified capacity. - HashMap(int, float) - Constructor for class java.util.HashMap
-
Constructs a new
HashMapinstance with the specified capacity and load factor. - HashMap(Map) - Constructor for class java.util.HashMap
-
Constructs a new
HashMapinstance containing the mappings from the specified map. - hashPassword(String) - Static method in class com.codename1.backend.Crypto
-
Hashes a password for storage.
- HashSet<E> - Class in java.util
-
HashSet is an implementation of a Set.
- HashSet() - Constructor for class java.util.HashSet
-
Constructs a new empty instance of
HashSet. - HashSet(int) - Constructor for class java.util.HashSet
-
Constructs a new instance of
HashSetwith the specified capacity. - HashSet(int, float) - Constructor for class java.util.HashSet
-
Constructs a new instance of
HashSetwith the specified capacity and load factor. - HashSet(Collection) - Constructor for class java.util.HashSet
-
Constructs a new instance of
HashSetcontaining the unique elements in the specified collection. - Hashtable<K,
V> - Class in java.util -
Hashtable associates keys with values.
- Hashtable() - Constructor for class java.util.Hashtable
-
Constructs a new
Hashtableusing the default capacity and load factor. - Hashtable(int) - Constructor for class java.util.Hashtable
-
Constructs a new
Hashtableusing the specified capacity and the default load factor. - Hashtable(int, float) - Constructor for class java.util.Hashtable
-
Constructs a new
Hashtableusing the specified capacity and load factor. - Hashtable(Map) - Constructor for class java.util.Hashtable
-
Constructs a new instance of
Hashtablecontaining the mappings from the specified map. - hasMoreElements() - Method in interface java.util.Enumeration
-
Tests if this enumeration contains more elements.
- hasMoreElements() - Method in class java.util.StringTokenizer
-
Returns
trueif unprocessed tokens remain. - hasMoreTokens() - Method in class java.util.StringTokenizer
-
Returns
trueif unprocessed tokens remain. - hasNext() - Method in interface java.util.Iterator
-
Returns whether there are more elements to iterate, i.e.
- hasNext() - Method in interface java.util.ListIterator
-
Returns whether there are more elements to iterate.
- hasPrevious() - Method in interface java.util.ListIterator
-
Returns whether there are previous elements to iterate.
- hasPrimitives() - Method in class java.lang.invoke.MethodType
- hasRole(String) - Static method in class com.codename1.backend.security.AuthorityAuthorizationManager
-
The caller has the role:
hasRole("ADMIN")asks forROLE_ADMIN. - hasRole(String) - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
-
A caller with the role:
hasRole("ADMIN")asks for the authorityROLE_ADMIN. - hasSendFile() - Static method in class com.codename1.backend.FileIo
-
True when
FileIo.sendFile(int, int, long, long)is a kernel copy rather than a read/write loop. - hasTrailingStatement(String) - Method in class com.codename1.backend.sql.Dialect
-
Whether anything follows the first statement in
sql. - hasWrappers() - Method in class java.lang.invoke.MethodType
- havingValue() - Element in annotation type com.codename1.backend.annotations.ConditionalOnProperty
-
The value to require, compared ignoring case.
- head(String, Object...) - Static method in class com.codename1.backend.test.MockMvcRequestBuilders
- HEAD - Enum constant in enum com.codename1.backend.test.HttpMethod
- header() - Static method in class com.codename1.backend.test.MockMvcResultMatchers
- header(String, Object) - Method in class com.codename1.backend.security.oauth2.jwt.JwsHeader.Builder
-
Any other header.
- header(String, Object...) - Method in class com.codename1.backend.test.MockRequestBuilder
-
Adds a header; several values are sent as one comma-separated field.
- header(String, String) - Method in class com.codename1.backend.HttpServer.Response
-
Adds a response header and returns this Response.
- header(String, String) - Static method in class com.codename1.backend.security.RequestMatchers
-
Matches requests carrying a header; with a value given, that value.
- headerName(String) - Method in class com.codename1.backend.security.ApiKeyConfigurer
-
The header a key is sent in, beside
Authorization: Bearer;X-API-Keyunless set. - HeaderResultMatchers - Class in com.codename1.backend.test
-
Expectations of the response headers, from
MockMvcResultMatchers.header(). - headers(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
The security headers; see
HeadersConfigurer. - HEADERS - Static variable in class com.codename1.backend.otel.OtlpMetricExporter
- HEADERS - Static variable in class com.codename1.backend.otel.OtlpTracer
- HeadersConfigurer - Class in com.codename1.backend.security
-
The security headers a chain puts on its responses.
- HeadersConfigurer.ContentSecurityPolicyConfig - Class in com.codename1.backend.security
-
Content-Security-Policy. - HeadersConfigurer.FrameOptionsConfig - Class in com.codename1.backend.security
-
X-Frame-Options. - HeadersConfigurer.HstsConfig - Class in com.codename1.backend.security
-
Strict-Transport-Security. - HeadersConfigurer.Toggle - Class in com.codename1.backend.security
-
A header that is either sent or not.
- HeaderWriter - Interface in com.codename1.backend.security
-
Writes a header onto every response a chain's requests get:
- HeaderWriter.Headers - Interface in com.codename1.backend.security
-
The headers of the response being written.
- HeaderWriterFilter - Class in com.codename1.backend.security
-
Holds the chain's
HeaderWriters. - headMap(K) - Method in interface java.util.SortedMap
-
Returns a sorted map over a range of this sorted map with all keys that are less than the specified
endKey. - headMap(K) - Method in class java.util.TreeMap
-
Returns a sorted map over a range of this sorted map with all keys that are less than the specified
endKey. - headMap(K, boolean) - Method in interface java.util.NavigableMap
-
Answers a view of the head of the map whose keys are smaller than (or equal to, depends on inclusive argument) endKey.
- headMap(K, boolean) - Method in class java.util.TreeMap
-
Answers a view of the head of the map whose keys are smaller than (or equal to, depends on inclusive argument) endKey.
- headObject(String, String) - Method in class com.codename1.backend.aws.S3
-
The object's metadata, or null when it does not exist.
- headSet(E) - Method in interface java.util.SortedSet
-
Returns a
SortedSetof the specified portion of thisSortedSetwhich contains elements less than the end element. - headSet(E) - Method in class java.util.TreeSet
-
Answers a SortedSet of the specified portion of this TreeSet which contains elements less than the end element.
- headSet(E, boolean) - Method in interface java.util.NavigableSet
-
Answers a NavigableSet of the specified portion of this set which contains elements less than (or equal to, depends on endInclusive) the end element.
- headSet(E, boolean) - Method in class java.util.TreeSet
-
Answers a NavigableSet of the specified portion of this set which contains elements less than (or equal to, depends on endInclusive) the end element.
- hex(byte[]) - Static method in class com.codename1.backend.aws.Aws
- higher(E) - Method in interface java.util.NavigableSet
-
Answers the smallest element bigger than the specified one, or null if no such element.
- higher(E) - Method in class java.util.TreeSet
-
Answers the smallest element bigger than the specified one, or null if no such element.
- higherEntry(K) - Method in interface java.util.NavigableMap
-
Answers an entry related with the smallest key greater than the specified key, or null if no such key.
- higherEntry(K) - Method in class java.util.TreeMap
-
Answers an entry related with the smallest key greater than the specified key, or null if no such key.
- higherKey(K) - Method in interface java.util.NavigableMap
-
Answers the smallest key greater than the specified key, or null if no such key.
- higherKey(K) - Method in class java.util.TreeMap
-
Answers the smallest key greater than the specified key, or null if no such key.
- HIGHEST_PRECEDENCE - Static variable in annotation type com.codename1.backend.annotations.Order
-
The value that comes before every other.
- histogram(String, String, String) - Static method in class com.codename1.backend.metrics.Metrics
-
A histogram with the default bucket boundaries, which suit milliseconds.
- histogram(String, String, String, double[], String[]) - Static method in class com.codename1.backend.metrics.Metrics
-
A histogram with the given bucket boundaries, ascending, and label keys (up to three), or null for either default.
- Histogram - Class in com.codename1.backend.metrics
-
A distribution of values -- durations, sizes -- kept as counts per bucket.
- HISTOGRAM - Static variable in class com.codename1.backend.metrics.Instrument
- hmac(String, byte[], byte[]) - Static method in class com.codename1.backend.Crypto
- Hmac - Class in com.codename1.security
-
Keyed-hash message authentication (HMAC, RFC 2104) on top of any hash algorithm supported by
Hash. - hmacSha256(byte[], byte[]) - Static method in class com.codename1.backend.Crypto
- host(String) - Method in class com.codename1.backend.Backend.Builder
-
The address to bind, or null (or "") for every interface.
- hotp(byte[], long, int) - Static method in class com.codename1.security.Otp
-
Generates an HOTP code (RFC 4226) using SHA-1 and the given digit count.
- hotp(byte[], long, int, String) - Static method in class com.codename1.security.Otp
-
Generates an HOTP code with a configurable hash algorithm.
- HOUR - Static variable in class java.util.Calendar
-
Field number for get and set indicating the hour of the morning or afternoon.
- HOUR_OF_DAY - Static variable in class java.util.Calendar
-
Field number for get and set indicating the hour of the day.
- HOURS - Enum constant in enum java.util.concurrent.TimeUnit
-
Hours.
- HS256 - Enum constant in enum com.codename1.backend.security.oauth2.jose.jws.MacAlgorithm
-
HMAC with SHA-256.
- HS384 - Enum constant in enum com.codename1.backend.security.oauth2.jose.jws.MacAlgorithm
-
HMAC with SHA-384.
- HS512 - Enum constant in enum com.codename1.backend.security.oauth2.jose.jws.MacAlgorithm
-
HMAC with SHA-512.
- Html - Class in com.codename1.backend.mvc
-
Primitives called by generated views; no template evaluation occurs here.
- Htmx - Class in com.codename1.backend.mvc
-
Helpers for the htmx wire protocol.
- htmxParameters(Model, boolean, String) - Static method in class com.codename1.backend.mvc.Html
-
Preserve parameter filtering while keeping CSRF tokens out of htmx GET URLs.
- Http - Class in com.codename1.backend
-
A minimal HTTP/1.1 client over
Tcp. - HTTP_VERSION_NOT_SUPPORTED - Enum constant in enum com.codename1.backend.test.HttpStatus
- Http.Response - Class in com.codename1.backend
-
One HTTP response: status line, headers and body.
- Http1Date - Class in com.codename1.backend
-
The one date format HTTP/1.1 requires on the wire ("Sun, 06 Nov 1994 08:49:37 GMT"), formatted and parsed from epoch milliseconds directly.
- Http2 - Class in com.codename1.backend
-
One HTTP/2 connection, on nghttp2.
- Http2.Stream - Class in com.codename1.backend
-
One request, once the client has finished sending it.
- Http403ForbiddenEntryPoint - Class in com.codename1.backend.security
-
Answers 403: what a chain with no way of signing in says to a request that would have to.
- Http403ForbiddenEntryPoint() - Constructor for class com.codename1.backend.security.Http403ForbiddenEntryPoint
- httpBasic(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
Sign-in with HTTP Basic credentials; see
HttpBasicConfigurer. - httpBasic(String, String) - Static method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors
-
The request carries these credentials in an
Authorization: Basicheader. - HttpBasicConfigurer - Class in com.codename1.backend.security
-
Sign-in with HTTP Basic credentials on each request.
- HttpEntity<T> - Class in com.codename1.backend.test
-
A body and its headers, for
TestRestTemplate.exchange(String, HttpMethod, HttpEntity, Class, Object...). - HttpEntity(HttpHeaders) - Constructor for class com.codename1.backend.test.HttpEntity
- HttpEntity(T) - Constructor for class com.codename1.backend.test.HttpEntity
- HttpEntity(T, HttpHeaders) - Constructor for class com.codename1.backend.test.HttpEntity
- HttpHeaders - Class in com.codename1.backend.test
-
Request or response headers: names in any case, each with its values in order.
- HttpHeaders() - Constructor for class com.codename1.backend.test.HttpHeaders
- HttpMethod - Enum in com.codename1.backend.test
-
The methods
TestRestTemplate.exchange(String, HttpMethod, HttpEntity, Class, Object...)sends. - HttpSecurity - Class in com.codename1.backend.security
-
Builds one
SecurityFilterChain. - HttpServer - Class in com.codename1.backend
-
An HTTP/1.1 server built around a reactor and a bounded worker pool.
- HttpServer.Handler - Interface in com.codename1.backend
- HttpServer.Part - Class in com.codename1.backend
-
One part of a
multipart/form-datarequest body: a form field, or an uploaded file when it has a filename. - HttpServer.Request - Class in com.codename1.backend
-
What a handler receives.
- HttpServer.Response - Class in com.codename1.backend
-
What a handler returns.
- HttpServer.WebSocketHandler - Interface in com.codename1.backend
-
Chooses the websocket endpoint for an upgrade request, or null when this router does not serve that path.
- HttpServer.WebSocketRegistry - Interface in com.codename1.backend
-
What a
HttpServer.WebSocketRoutescallback puts its endpoints into. - HttpServer.WebSocketRoutes - Interface in com.codename1.backend
-
Where websocket routes come from.
- HttpSession - Class in com.codename1.backend
-
State kept for one client across requests, found again through a cookie.
- HttpSessionCsrfTokenRepository - Class in com.codename1.backend.security
-
Keeps the token in the HTTP session: the default.
- HttpSessionCsrfTokenRepository() - Constructor for class com.codename1.backend.security.HttpSessionCsrfTokenRepository
- HttpSessionOAuth2AuthorizationRequestRepository - Class in com.codename1.backend.security.oauth2.client
-
Keeps the request in the HTTP session: the default, for every provider that answers with a redirect.
- HttpSessionOAuth2AuthorizationRequestRepository() - Constructor for class com.codename1.backend.security.oauth2.client.HttpSessionOAuth2AuthorizationRequestRepository
- HttpSessionRequestCache - Class in com.codename1.backend.security
-
Remembers the address in the HTTP session, under
HttpSessionRequestCache.SAVED_REQUEST. - HttpSessionRequestCache() - Constructor for class com.codename1.backend.security.HttpSessionRequestCache
- HttpSessionSecurityContextRepository - Class in com.codename1.backend.security
-
Keeps who is signed in in the HTTP session, under
HttpSessionSecurityContextRepository.SPRING_SECURITY_CONTEXT_KEY. - HttpSessionSecurityContextRepository() - Constructor for class com.codename1.backend.security.HttpSessionSecurityContextRepository
- HttpStatus - Enum in com.codename1.backend.test
-
The common response statuses, so
assertEquals(HttpStatus.OK, response.getStatusCode())reads as it does in Spring. - HttpStatusCode - Interface in com.codename1.backend.test
-
A response status: an
HttpStatusfor the common ones, or any other code. - HttpStatusEntryPoint - Class in com.codename1.backend.security
-
Answers with a status and nothing else:
new HttpStatusEntryPoint(401)for an API whose clients know how to authenticate without being told. - HttpStatusEntryPoint(int) - Constructor for class com.codename1.backend.security.HttpStatusEntryPoint
- HttpStatusReturningLogoutSuccessHandler - Class in com.codename1.backend.security
-
After sign-out, answers with a status and no page: for an API.
- HttpStatusReturningLogoutSuccessHandler() - Constructor for class com.codename1.backend.security.HttpStatusReturningLogoutSuccessHandler
-
Answers 200.
- HttpStatusReturningLogoutSuccessHandler(int) - Constructor for class com.codename1.backend.security.HttpStatusReturningLogoutSuccessHandler
- httpStrictTransportSecurity(Customizer) - Method in class com.codename1.backend.security.HeadersConfigurer
-
Strict-Transport-Security.
I
- IAT - Static variable in class com.codename1.backend.security.oauth2.jwt.JwtClaimNames
-
When the token was issued, in seconds since the epoch.
- id(String) - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet.Builder
-
jti. - id(String) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.ApiKeyRequestPostProcessor
-
The key's id, which is what a rate limit keyed by API key counts under;
test-keyunless set. - Id - Annotation Type in com.codename1.annotations
-
Designates the primary-key field of an
@Entity. - ID_TOKEN - Static variable in class com.codename1.backend.security.oauth2.server.authorization.OAuth2TokenContext
-
OAuth2TokenContext.getTokenType()of an ID token. - Identifier - Class in com.codename1.orm.session
-
Immutable composite identity, in the model's declared identifier-field order.
- identity(Class) - Static method in class java.lang.invoke.MethodHandles
- IDENTITY - Enum constant in enum com.codename1.annotations.db.GenerationType
-
Uses a database-generated integral identity.
- identityHashCode(Object) - Static method in class java.lang.System
-
Returns the same hashcode for the given object as would be returned by the default method hashCode(), whether or not the given object's class overrides hashCode().
- IdentityHashMap<K,
V> - Class in java.util -
IdentityHashMap is a variant on HashMap which tests equality by reference instead of equality by value.
- IdentityHashMap() - Constructor for class java.util.IdentityHashMap
-
Creates an IdentityHashMap with default expected maximum size.
- IdentityHashMap(int) - Constructor for class java.util.IdentityHashMap
-
Creates an IdentityHashMap with the specified maximum size parameter.
- IdentityHashMap(Map) - Constructor for class java.util.IdentityHashMap
-
Creates an IdentityHashMap using the given map as initial values.
- idIndex() - Method in class com.codename1.backend.orm.EntityDefinition
-
The index of the primary key column, which every entity has exactly one of.
- idTokenAlgorithms(String...) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
-
See
ClientRegistration.ProviderDetails.getIdTokenAlgorithms(): names such asRS256. - idTokenDecoderFactory(OidcIdTokenDecoderFactory) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
What verifies ID tokens.
- idTokenTimeToLive(long) - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings.Builder
- IF_REQUIRED - Enum constant in enum com.codename1.backend.security.SessionCreationPolicy
-
A session starts when the chain needs one: at sign-in, or to remember where an anonymous request was going.
- IGNORED - Enum constant in enum com.codename1.migration.MigrationState
-
Not applied, and older than the newest applied version.
- ignoreFutureMigrations(boolean) - Method in class com.codename1.migration.Migrator
-
Whether a database migrated by a newer build is tolerated.
- ignoringRequestMatchers(RequestMatcher...) - Method in class com.codename1.backend.security.CsrfConfigurer
-
Requests left alone whatever their method.
- ignoringRequestMatchers(String...) - Method in class com.codename1.backend.security.CsrfConfigurer
-
Requests left alone whatever their method, by Ant pattern: an endpoint another server calls, which authenticates some other way.
- IllegalAccessException - Exception Class in java.lang
-
Thrown when an application tries to load in a class, but the currently executing method does not have access to the definition of the specified class, because the class is not public and in another package.
- IllegalAccessException() - Constructor for exception class java.lang.IllegalAccessException
-
Constructs an IllegalAccessException without a detail message.
- IllegalAccessException(String) - Constructor for exception class java.lang.IllegalAccessException
-
Constructs an IllegalAccessException with a detail message.
- IllegalArgumentException - Exception Class in java.lang
-
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
- IllegalArgumentException() - Constructor for exception class java.lang.IllegalArgumentException
-
Constructs an IllegalArgumentException with no detail message.
- IllegalArgumentException(String) - Constructor for exception class java.lang.IllegalArgumentException
-
Constructs an IllegalArgumentException with the specified detail message.
- IllegalArgumentException(String, Throwable) - Constructor for exception class java.lang.IllegalArgumentException
-
Constructs an IllegalArgumentException with the specified detail message and cause.
- IllegalArgumentException(Throwable) - Constructor for exception class java.lang.IllegalArgumentException
-
Constructs an IllegalArgumentException with the specified cause.
- IllegalMonitorStateException - Exception Class in java.lang
-
Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
- IllegalMonitorStateException() - Constructor for exception class java.lang.IllegalMonitorStateException
-
Constructs an IllegalMonitorStateException with no detail message.
- IllegalMonitorStateException(String) - Constructor for exception class java.lang.IllegalMonitorStateException
-
Constructs an IllegalMonitorStateException with the specified detail message.
- IllegalState(String) - Constructor for exception class com.codename1.backend.TransactionException.IllegalState
- IllegalStateException - Exception Class in java.lang
- IllegalStateException() - Constructor for exception class java.lang.IllegalStateException
- IllegalStateException(String) - Constructor for exception class java.lang.IllegalStateException
- IllegalStateException(String, Throwable) - Constructor for exception class java.lang.IllegalStateException
-
Constructs an IllegalStateException with the specified detail message and cause.
- IllegalStateException(Throwable) - Constructor for exception class java.lang.IllegalStateException
-
Constructs an IllegalStateException with the specified cause.
- IllegalThreadStateException - Exception Class in java.lang
-
Thrown to indicate that a thread is not in an appropriate state for the requested operation.
- IllegalThreadStateException() - Constructor for exception class java.lang.IllegalThreadStateException
-
Constructs an IllegalThreadStateException with no detail message.
- IllegalThreadStateException(String) - Constructor for exception class java.lang.IllegalThreadStateException
-
Constructs an IllegalThreadStateException with the specified detail message.
- in - Variable in class com.codename1.io.gzip.FilterInputStream
- in - Variable in class java.io.DataInputStream
-
The input stream.
- in(Class) - Method in class java.lang.invoke.MethodHandles.Lookup
- in(String, Object[]) - Method in class com.codename1.backend.orm.Query
-
field IN (...).
- in(String, Object...) - Method in interface com.codename1.orm.session.Query
-
Adds an IN predicate; an empty array matches no rows.
- includeSubDomains(boolean) - Method in class com.codename1.backend.security.HeadersConfigurer.HstsConfig
- IncompatibleClassChangeError - Exception Class in java.lang
-
IncompatibleClassChangeErroris the superclass of all classes which represent errors that occur when inconsistent class files are loaded into the same running image. - IncompatibleClassChangeError() - Constructor for exception class java.lang.IncompatibleClassChangeError
-
Constructs a new
IncompatibleClassChangeErrorthat includes the current stack trace. - IncompatibleClassChangeError(String) - Constructor for exception class java.lang.IncompatibleClassChangeError
-
Constructs a new
IncompatibleClassChangeErrorwith the current stack trace and the specified detail message. - IncompleteAnnotationException - Exception Class in java.lang.annotation
-
A mirror of java.lang.annotation.IncompleteAnnotationException.
- IncompleteAnnotationException(Class, String) - Constructor for exception class java.lang.annotation.IncompleteAnnotationException
- increment() - Method in class com.codename1.backend.metrics.Counter
-
Adds one.
- increment(Class, Object, String, long) - Method in interface com.codename1.orm.session.Session
-
Atomically adds to an integral counter in SQL after flushing pending changes.
- incrementAndGet() - Method in class java.util.concurrent.atomic.AtomicInteger
- incrementAndGet() - Method in class java.util.concurrent.atomic.AtomicLong
- Index - Annotation Type in com.codename1.annotations.db
-
Database index over mapped field names, declared on an entity.
- indexes() - Element in annotation type com.codename1.annotations.Entity
-
Additional indexes created with the entity table.
- indexOf(int) - Method in class java.lang.String
-
Returns the index within this string of the first occurrence of the specified character.
- indexOf(int, int) - Method in class java.lang.String
-
Returns the index within this string of the first occurrence of the specified character, starting the search at the specified index.
- indexOf(Object) - Method in class java.util.AbstractList
-
Searches this list for the specified object and returns the index of the first occurrence.
- indexOf(Object) - Method in class java.util.ArrayList
- indexOf(Object) - Method in class java.util.LinkedList
- indexOf(Object) - Method in interface java.util.List
-
Searches this
Listfor the specified object and returns the index of the first occurrence. - indexOf(Object) - Method in class java.util.Vector
-
Searches in this vector for the index of the specified object.
- indexOf(Object, int) - Method in class java.util.Vector
-
Searches in this vector for the index of the specified object.
- indexOf(String) - Method in class java.lang.String
-
Returns the index within this string of the first occurrence of the specified substring.
- indexOf(String, int) - Method in class java.lang.String
-
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.
- indexOfField(String) - Method in class com.codename1.backend.orm.EntityDefinition
-
The index of the column whose field is
name, or -1. - indexOfSubList(List, List) - Static method in class java.util.Collections
-
Searches the
listforsublistand returns the beginning index of the first occurrence. - IndexOutOfBoundsException - Exception Class in java.lang
-
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.
- IndexOutOfBoundsException() - Constructor for exception class java.lang.IndexOutOfBoundsException
-
Constructs an IndexOutOfBoundsException with no detail message.
- IndexOutOfBoundsException(String) - Constructor for exception class java.lang.IndexOutOfBoundsException
-
Constructs an IndexOutOfBoundsException with the specified detail message.
- inflate(int) - Method in class com.codename1.io.gzip.Inflater
- inflate(int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- inflateEnd() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- inflateFinished() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- inflateInit() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- inflateInit(boolean) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- inflateInit(int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- inflateInit(int, boolean) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- inflateInit(int, JZlib.WrapperType) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- inflateInit(JZlib.WrapperType) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- inflater - Variable in class com.codename1.io.gzip.InflaterInputStream
- Inflater - Class in com.codename1.io.gzip
- Inflater() - Constructor for class com.codename1.io.gzip.Inflater
- Inflater(boolean) - Constructor for class com.codename1.io.gzip.Inflater
- Inflater(int) - Constructor for class com.codename1.io.gzip.Inflater
- Inflater(int, boolean) - Constructor for class com.codename1.io.gzip.Inflater
- Inflater(int, JZlib.WrapperType) - Constructor for class com.codename1.io.gzip.Inflater
- Inflater(JZlib.WrapperType) - Constructor for class com.codename1.io.gzip.Inflater
- InflaterInputStream - Class in com.codename1.io.gzip
- InflaterInputStream(InputStream) - Constructor for class com.codename1.io.gzip.InflaterInputStream
- InflaterInputStream(InputStream, boolean) - Constructor for class com.codename1.io.gzip.InflaterInputStream
- InflaterInputStream(InputStream, Inflater) - Constructor for class com.codename1.io.gzip.InflaterInputStream
- InflaterInputStream(InputStream, Inflater, int) - Constructor for class com.codename1.io.gzip.InflaterInputStream
- InflaterInputStream(InputStream, Inflater, int, boolean) - Constructor for class com.codename1.io.gzip.InflaterInputStream
- inflateSetDictionary(byte[], int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- inflateSync() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- inflateSyncPoint() - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- info() - Method in class com.codename1.migration.Migrator
-
Reports every migration, applied or pending, without changing anything.
- Inheritance - Annotation Type in com.codename1.annotations.db
-
Stores an entity hierarchy in one table with an immutable discriminator.
- Inherited - Annotation Type in java.lang.annotation
- init() - Method in class com.codename1.io.gzip.Inflater
- init(boolean) - Method in class com.codename1.io.gzip.Inflater
- init(int) - Method in class com.codename1.io.gzip.Deflater
- init(int) - Method in class com.codename1.io.gzip.Inflater
- init(int, boolean) - Method in class com.codename1.io.gzip.Deflater
- init(int, boolean) - Method in class com.codename1.io.gzip.Inflater
- init(int, int) - Method in class com.codename1.io.gzip.Deflater
- init(int, int, boolean) - Method in class com.codename1.io.gzip.Deflater
- init(int, int, int) - Method in class com.codename1.io.gzip.Deflater
- init(int, int, int, JZlib.WrapperType) - Method in class com.codename1.io.gzip.Deflater
- init(int, JZlib.WrapperType) - Method in class com.codename1.io.gzip.Inflater
- init(HttpSecurity) - Method in class com.codename1.backend.security.ApiKeyConfigurer
- init(HttpSecurity) - Method in class com.codename1.backend.security.AuthorizationServerConfigurer
- init(HttpSecurity) - Method in class com.codename1.backend.security.FormLoginConfigurer
- init(HttpSecurity) - Method in class com.codename1.backend.security.HttpBasicConfigurer
- init(HttpSecurity) - Method in class com.codename1.backend.security.LogoutConfigurer
- init(HttpSecurity) - Method in class com.codename1.backend.security.MfaConfigurer
- init(HttpSecurity) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
- init(HttpSecurity) - Method in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
- init(HttpSecurity) - Method in class com.codename1.backend.security.RememberMeConfigurer
- init(HttpSecurity) - Method in class com.codename1.backend.security.SecurityConfigurer
-
Shares what other parts need to know; nothing by default.
- init(HttpSecurity) - Method in class com.codename1.backend.security.WebAuthnConfigurer
- init(JZlib.WrapperType) - Method in class com.codename1.io.gzip.Inflater
- initCause(Throwable) - Method in exception class java.lang.Throwable
-
Deprecated
- initialDelay() - Element in annotation type com.codename1.backend.annotations.Scheduled
-
Milliseconds before the first run of a fixed-rate or fixed-delay job.
- initialDelayString() - Element in annotation type com.codename1.backend.annotations.Scheduled
-
Scheduled.initialDelay()as text, which may read configuration. - initialize(Object, String) - Method in interface com.codename1.orm.session.Session
-
Loads a relationship if it is still uninitialized.
- initialValue() - Method in class java.lang.ThreadLocal
- initMethod() - Element in annotation type com.codename1.backend.annotations.Bean
-
A no-argument method of the returned object the build calls once it is constructed and injected.
- InMemoryApiKeyRepository - Class in com.codename1.backend.security.apikey
-
API keys held in memory: for tests, and for a server whose few keys come from its configuration.
- InMemoryApiKeyRepository(ApiKey...) - Constructor for class com.codename1.backend.security.apikey.InMemoryApiKeyRepository
- InMemoryClientRegistrationRepository - Class in com.codename1.backend.security.oauth2.client
-
Registrations given when the server starts.
- InMemoryClientRegistrationRepository(ClientRegistration...) - Constructor for class com.codename1.backend.security.oauth2.client.InMemoryClientRegistrationRepository
- InMemoryClientRegistrationRepository(List) - Constructor for class com.codename1.backend.security.oauth2.client.InMemoryClientRegistrationRepository
- InMemoryFederatedIdentityRepository - Class in com.codename1.backend.security.oauth2.client
-
Identities kept in this process: gone when it stops, and unknown to any other.
- InMemoryFederatedIdentityRepository() - Constructor for class com.codename1.backend.security.oauth2.client.InMemoryFederatedIdentityRepository
- InMemoryOAuth2AuthorizationService - Class in com.codename1.backend.security.oauth2.server.authorization
-
Grants kept in this process: gone when it stops, and unknown to any other.
- InMemoryOAuth2AuthorizationService() - Constructor for class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- InMemoryPublicKeyCredentialUserEntityRepository - Class in com.codename1.backend.security.webauthn
-
User handles kept in this process: gone when it stops, so that every passkey registered before then finds no user after.
- InMemoryPublicKeyCredentialUserEntityRepository() - Constructor for class com.codename1.backend.security.webauthn.InMemoryPublicKeyCredentialUserEntityRepository
- InMemoryRateLimiter - Class in com.codename1.backend.security.ratelimit
-
A limit kept in this process's memory: a token bucket per key.
- InMemoryRateLimiter(int, long) - Constructor for class com.codename1.backend.security.ratelimit.InMemoryRateLimiter
- InMemoryRateLimiter(int, long, int) - Constructor for class com.codename1.backend.security.ratelimit.InMemoryRateLimiter
- InMemoryRecoveryCodeRepository - Class in com.codename1.backend.security.mfa
-
Recovery codes kept in this process: gone when it stops.
- InMemoryRecoveryCodeRepository() - Constructor for class com.codename1.backend.security.mfa.InMemoryRecoveryCodeRepository
- InMemoryRegisteredClientRepository - Class in com.codename1.backend.security.oauth2.server.authorization
-
Clients given when the server starts, and kept in this process.
- InMemoryRegisteredClientRepository(RegisteredClient...) - Constructor for class com.codename1.backend.security.oauth2.server.authorization.InMemoryRegisteredClientRepository
- InMemoryTokenRepositoryImpl - Class in com.codename1.backend.security.rememberme
-
Remembered sign-ins kept in this process: gone when it stops, and unknown to any other process of the same deployment.
- InMemoryTokenRepositoryImpl() - Constructor for class com.codename1.backend.security.rememberme.InMemoryTokenRepositoryImpl
- InMemoryTotpRepository - Class in com.codename1.backend.security.mfa
-
Secrets kept in this process: gone when it stops.
- InMemoryTotpRepository() - Constructor for class com.codename1.backend.security.mfa.InMemoryTotpRepository
- InMemoryUserCredentialRepository - Class in com.codename1.backend.security.webauthn
-
Credentials kept in this process: gone when it stops, and unknown to any other server.
- InMemoryUserCredentialRepository() - Constructor for class com.codename1.backend.security.webauthn.InMemoryUserCredentialRepository
- InMemoryUserDetailsManager - Class in com.codename1.backend.security.core.userdetails
-
Users kept in memory: for a demonstration, a test, or a server whose handful of accounts is part of its configuration.
- InMemoryUserDetailsManager() - Constructor for class com.codename1.backend.security.core.userdetails.InMemoryUserDetailsManager
- InMemoryUserDetailsManager(UserDetails...) - Constructor for class com.codename1.backend.security.core.userdetails.InMemoryUserDetailsManager
- InMemoryUserDetailsManager(Collection) - Constructor for class com.codename1.backend.security.core.userdetails.InMemoryUserDetailsManager
- InputStream - Class in java.io
-
This abstract class is the superclass of all classes representing an input stream of bytes.
- InputStream() - Constructor for class java.io.InputStream
- InputStreamReader - Class in java.io
-
An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters.
- InputStreamReader(InputStream) - Constructor for class java.io.InputStreamReader
-
Create an InputStreamReader that uses the default character encoding.
- InputStreamReader(InputStream, String) - Constructor for class java.io.InputStreamReader
-
Create an InputStreamReader that uses the named character encoding.
- insert(int, boolean) - Method in class java.lang.StringBuffer
-
Inserts the string representation of the boolean argument into this string buffer.
- insert(int, boolean) - Method in class java.lang.StringBuilder
-
Inserts the string representation of the boolean argument into this string builder.
- insert(int, char) - Method in class java.lang.StringBuffer
-
Inserts the string representation of the char argument into this string buffer.
- insert(int, char) - Method in class java.lang.StringBuilder
-
Inserts the string representation of the char argument into this string builder.
- insert(int, double) - Method in class java.lang.StringBuffer
-
Inserts the string representation of the double argument into this string buffer.
- insert(int, double) - Method in class java.lang.StringBuilder
-
Inserts the string representation of the double argument into this string builder.
- insert(int, float) - Method in class java.lang.StringBuffer
-
Inserts the string representation of the float argument into this string buffer.
- insert(int, float) - Method in class java.lang.StringBuilder
-
Inserts the string representation of the float argument into this string builder.
- insert(int, int) - Method in class java.lang.StringBuffer
-
Inserts the string representation of the second int argument into this string buffer.
- insert(int, int) - Method in class java.lang.StringBuilder
-
Inserts the string representation of the second int argument into this string builder.
- insert(int, long) - Method in class java.lang.StringBuffer
-
Inserts the string representation of the long argument into this string buffer.
- insert(int, long) - Method in class java.lang.StringBuilder
-
Inserts the string representation of the long argument into this string builder.
- insert(int, CharSequence) - Method in class java.lang.StringBuffer
- insert(int, CharSequence) - Method in class java.lang.StringBuilder
- insert(int, CharSequence, int, int) - Method in class java.lang.StringBuffer
- insert(int, CharSequence, int, int) - Method in class java.lang.StringBuilder
- insert(int, Object) - Method in class java.lang.StringBuffer
-
Inserts the string representation of the Object argument into this string buffer.
- insert(int, Object) - Method in class java.lang.StringBuilder
-
Inserts the string representation of the Object argument into this string builder.
- insert(int, String) - Method in class java.lang.StringBuffer
-
Inserts the string into this string buffer.
- insert(int, String) - Method in class java.lang.StringBuilder
-
Inserts the string into this string builder.
- insert(String, Object[], String) - Method in class com.codename1.backend.Database
-
Runs an INSERT and answers the key the database generated for it.
- insert(String, Object[], String) - Method in class com.codename1.backend.DataSource
-
One INSERT on a borrowed connection, answering the key the database generated.
- insert(T) - Method in class com.codename1.backend.orm.Dao
-
Inserts
entity. - insertArguments(MethodHandle, int, Object...) - Static method in class java.lang.invoke.MethodHandles
- insertDefaults(String) - Method in class com.codename1.backend.sql.Dialect
-
An INSERT that supplies NO columns, for the entity whose only persisted field is a key the database generates.
- insertElementAt(E, int) - Method in class java.util.Vector
-
Inserts the specified object into this vector at the specified location.
- insertParameterTypes(int, Class...) - Method in class java.lang.invoke.MethodType
- insertParameterTypes(int, List) - Method in class java.lang.invoke.MethodType
- inSpan(String, Tracing.Work) - Static method in class com.codename1.backend.Tracing
-
Runs
workinside a new span that is a child of the current one, and is current itself while it runs. - install(Tracer) - Static method in class com.codename1.backend.Tracing
-
Installs the tracer every hook reports to, replacing any earlier one.
- installedBy(String) - Method in class com.codename1.migration.Migrator
-
The name recorded in the history as having applied each migration.
- installShutdownHandler() - Static method in class com.codename1.backend.Signals
-
Installs the shutdown handlers and ignores SIGPIPE.
- INSTANCE - Static variable in class com.codename1.backend.security.AnyRequestMatcher
- instant() - Method in class java.time.Clock
- Instant - Class in java.time
- InstantiationException - Exception Class in java.lang
-
Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
- InstantiationException() - Constructor for exception class java.lang.InstantiationException
-
Constructs an InstantiationException with no detail message.
- InstantiationException(String) - Constructor for exception class java.lang.InstantiationException
-
Constructs an InstantiationException with the specified detail message.
- Instrument - Class in com.codename1.backend.metrics
-
One named measurement: a counter, a gauge or a histogram.
- instruments() - Static method in class com.codename1.backend.metrics.Metrics
-
Every instrument, in registration order.
- INSUFFICIENT_SCOPE - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The request needs more than the access token grants.
- InsufficientAuthenticationException - Exception Class in com.codename1.backend.security
-
The request is anonymous, or not authenticated strongly enough, for what it asked for.
- InsufficientAuthenticationException(String) - Constructor for exception class com.codename1.backend.security.InsufficientAuthenticationException
- InsufficientAuthenticationException(String, Throwable) - Constructor for exception class com.codename1.backend.security.InsufficientAuthenticationException
- insufficientScope(String, String) - Static method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenErrors
-
403: the token is good and does not grant what the request needs.
- intBitsToFloat(int) - Static method in class java.lang.Float
-
Returns the single-float corresponding to a given bit representation.
- Integer - Class in java.lang
-
The Integer class wraps a value of the primitive type int in an object.
- Integer(int) - Constructor for class java.lang.Integer
-
Constructs a newly allocated Integer object that represents the primitive int argument.
- INTEGER - Static variable in class com.codename1.backend.sql.Dialect
-
A 32-bit integer.
- intercept(HttpServer.Request, Authentication, boolean) - Method in class com.codename1.backend.security.SecondFactorAuthenticationFilter
- intercept(HttpServer.Request, Authentication, boolean) - Method in interface com.codename1.backend.security.SecondFactorPolicy
-
Decides whether
authentication, whose first factor has just been accepted, must present a second. - intern() - Method in class java.lang.String
-
Returns a canonical representation for the string object.
- INTERNAL_SERVER_ERROR - Enum constant in enum com.codename1.backend.test.HttpStatus
- interrupt() - Method in class java.lang.Thread
-
Interrupts this thread.
- InterruptedException - Exception Class in java.lang
-
Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it.
- InterruptedException() - Constructor for exception class java.lang.InterruptedException
-
Constructs an InterruptedException with no detail message.
- InterruptedException(String) - Constructor for exception class java.lang.InterruptedException
-
Constructs an InterruptedException with the specified detail message.
- InterruptedIOException - Exception Class in java.io
-
Signals that an I/O operation has been interrupted.
- InterruptedIOException() - Constructor for exception class java.io.InterruptedIOException
-
Constructs an InterruptedIOException with null as its error detail message.
- InterruptedIOException(String) - Constructor for exception class java.io.InterruptedIOException
-
Constructs an InterruptedIOException with the specified detail message.
- intersects(BitSet) - Method in class java.util.BitSet
-
Checks if these two
BitSets have at least one bit set to true in the same position. - INTERVAL - Static variable in class com.codename1.backend.otel.OtlpMetricExporter
- inTransaction(DataSource.Work) - Method in class com.codename1.backend.DataSource
-
One transaction on one borrowed connection.
- inTransaction(Db.Work) - Method in class com.codename1.backend.DbPool
-
Convenience: one transaction on a pooled connection.
- intValue() - Method in class java.lang.Byte
- intValue() - Method in class java.lang.Double
-
Returns the integer value of this Double (by casting to an int).
- intValue() - Method in class java.lang.Float
-
Returns the integer value of this Float (by casting to an int).
- intValue() - Method in class java.lang.Integer
-
Returns the value of this Integer as an int.
- intValue() - Method in class java.lang.Long
-
Returns the value of this Long as an int value.
- intValue() - Method in class java.lang.Number
- intValue() - Method in class java.lang.Short
- intValue() - Method in class java.util.concurrent.atomic.AtomicInteger
- intValue() - Method in class java.util.concurrent.atomic.AtomicLong
- INVALID_CLIENT - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The client is unknown, or did not authenticate as itself.
- INVALID_GRANT - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The grant -- an authorization code, a refresh token, a device code -- is not valid, has expired, was used already or was issued to another client.
- INVALID_ID_TOKEN - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The ID token did not verify.
- INVALID_ISSUER - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The answer a browser came back with names another issuer than the provider it was sent to, or none where the provider always names one.
- INVALID_KEY - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The credential's key is not a key of the algorithm it names.
- INVALID_NONCE - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The
nonceof the ID token is not the one that was sent. - INVALID_REDIRECT_URI - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The redirect address is not one the client registered.
- INVALID_REQUEST - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The request is missing a parameter, repeats one, or is otherwise malformed.
- INVALID_SCOPE - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
A scope asked for is unknown, malformed or more than the client may have.
- INVALID_SET - Static variable in exception class com.codename1.migration.MigrationException
-
The migration set itself is wrong: a duplicate version, a script missing for this engine.
- INVALID_STATE_PARAMETER - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The
statethat came back is not the one that was sent. - INVALID_TARGET - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
A
resourceasked for is not an absolute address, or not one the client may have tokens for (RFC 8707). - INVALID_TOKEN - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The access token is expired, revoked, malformed or otherwise not valid.
- INVALID_TOKEN_RESPONSE - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The identity provider's answer could not be used.
- INVALID_USER_INFO_RESPONSE - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The user's attributes could not be read from the identity provider.
- invalidate() - Method in class com.codename1.backend.HttpSession
-
Ends the session: its attributes are dropped and the client's cookie cleared.
- invalidateHttpSession(boolean) - Method in class com.codename1.backend.security.LogoutConfigurer
-
Whether signing out ends the session; true unless changed.
- InvalidBearerTokenException - Exception Class in com.codename1.backend.security.oauth2.server.resource
-
The bearer token of a request was looked at and refused; the message is why.
- InvalidBearerTokenException(String) - Constructor for exception class com.codename1.backend.security.oauth2.server.resource.InvalidBearerTokenException
- InvalidBearerTokenException(String, Throwable) - Constructor for exception class com.codename1.backend.security.oauth2.server.resource.InvalidBearerTokenException
- InvalidCsrfTokenException - Exception Class in com.codename1.backend.security
-
The request's CSRF token is not the one the server issued.
- InvalidCsrfTokenException(CsrfToken, String) - Constructor for exception class com.codename1.backend.security.InvalidCsrfTokenException
- invalidRequest(String) - Static method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenErrors
-
400: the request is malformed -- two tokens, or a header that is not one.
- invalidToken(String) - Static method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenErrors
-
401: the token is expired, malformed, or does not verify.
- inverseJoinColumn() - Element in annotation type com.codename1.annotations.db.JoinTable
-
Names the join-table key column referring to the target.
- invoke(Object...) - Method in class java.lang.invoke.MethodHandle
- invokeExact(Object...) - Method in class java.lang.invoke.MethodHandle
- invoker(MethodType) - Static method in class java.lang.invoke.MethodHandles
- invokeWithArguments(Object...) - Method in class java.lang.invoke.MethodHandle
- invokeWithArguments(List) - Method in class java.lang.invoke.MethodHandle
- IOException - Exception Class in java.io
-
Signals that an I/O exception of some sort has occurred.
- IOException() - Constructor for exception class java.io.IOException
-
Constructs an IOException with null as its error detail message.
- IOException(String) - Constructor for exception class java.io.IOException
-
Constructs an IOException with the specified detail message.
- IOException(String, Throwable) - Constructor for exception class java.io.IOException
-
Constructs an IOException with the specified detail message and cause.
- IOException(Throwable) - Constructor for exception class java.io.IOException
-
Constructs an IOException with the specified cause.
- is(int) - Method in class com.codename1.backend.test.StatusResultMatchers
-
Exactly this status.
- is1xxInformational() - Method in enum com.codename1.backend.test.HttpStatus
- is1xxInformational() - Method in interface com.codename1.backend.test.HttpStatusCode
- is1xxInformational() - Method in class com.codename1.backend.test.StatusResultMatchers
- is2xxSuccessful() - Method in enum com.codename1.backend.test.HttpStatus
- is2xxSuccessful() - Method in interface com.codename1.backend.test.HttpStatusCode
- is2xxSuccessful() - Method in class com.codename1.backend.test.StatusResultMatchers
- is3xxRedirection() - Method in enum com.codename1.backend.test.HttpStatus
- is3xxRedirection() - Method in interface com.codename1.backend.test.HttpStatusCode
- is3xxRedirection() - Method in class com.codename1.backend.test.StatusResultMatchers
- is4xxClientError() - Method in enum com.codename1.backend.test.HttpStatus
- is4xxClientError() - Method in interface com.codename1.backend.test.HttpStatusCode
- is4xxClientError() - Method in class com.codename1.backend.test.StatusResultMatchers
- is5xxServerError() - Method in enum com.codename1.backend.test.HttpStatus
- is5xxServerError() - Method in interface com.codename1.backend.test.HttpStatusCode
- is5xxServerError() - Method in class com.codename1.backend.test.StatusResultMatchers
- isAbsolute() - Method in class java.net.URI
-
Returns
- isAccepted() - Method in class com.codename1.backend.test.StatusResultMatchers
- isAccountNonExpired() - Method in class com.codename1.backend.security.core.userdetails.User
- isAccountNonExpired() - Method in interface com.codename1.backend.security.core.userdetails.UserDetails
- isAccountNonLocked() - Method in class com.codename1.backend.security.core.userdetails.User
- isAccountNonLocked() - Method in interface com.codename1.backend.security.core.userdetails.UserDetails
- isActive() - Static method in class com.codename1.backend.Transactions
-
Whether the calling thread is inside a transaction.
- isAfterSecondFactor() - Method in class com.codename1.backend.security.RememberMeAuthenticationToken
-
Whether the sign-in that issued the cookie passed a second factor.
- isAlive() - Method in class com.codename1.backend.Http2
-
False once the session is finished and the connection can be closed.
- isAlive() - Method in class java.lang.Thread
-
Tests if this thread is alive.
- isAnnotation() - Method in class java.lang.Class
- isAnnotationPresent(Class) - Method in class java.lang.Class
-
Returns true if an annotation for the specified type is present on this element, else false.
- isAnonymousClass() - Method in class java.lang.Class
-
replacement for Class.isAnonymousClass()
- isArray() - Method in class com.codename1.backend.test.JsonPathResultMatchers
- isArray() - Method in class java.lang.Class
-
Determines if this Class object represents an array class.
- isAssignableFrom(Class) - Method in class java.lang.Class
-
Determines if the class or interface represented by this Class object is either the same as, or is a superclass or superinterface of, the class or interface represented by the specified Class parameter.
- isAuthenticated() - Method in class com.codename1.backend.security.AbstractAuthenticationToken
- isAuthenticated() - Method in interface com.codename1.backend.security.Authentication
-
Whether this has been accepted.
- isAuthorizationResponseIssParameterSupported() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.ProviderDetails
-
Whether the provider says it names itself in every answer it sends back with the browser: the
issparameter of RFC 9207, announced in its metadata asauthorization_response_iss_parameter_supported. - isBackupEligible() - Method in class com.codename1.backend.security.webauthn.CredentialRecord
-
Whether the credential may be backed up -- synced to the user's other devices.
- isBackupState() - Method in class com.codename1.backend.security.webauthn.CredentialRecord
-
Whether it was backed up at its last ceremony.
- isBadRequest() - Method in class com.codename1.backend.test.StatusResultMatchers
- isBoolean() - Method in class com.codename1.backend.test.JsonPathResultMatchers
- isCancelled() - Method in class com.codename1.backend.AsyncResult
- isCancelled() - Method in interface java.util.concurrent.Future
-
Whether
Future.cancel(boolean)cancelled the work before it ran. - isClosed() - Method in class com.codename1.backend.sql.MySql
- isClosed() - Method in class com.codename1.backend.sql.Postgres
- isCodeShaped(String) - Static method in class com.codename1.backend.security.mfa.RecoveryCodeService
-
Whether
codeis written as a recovery code is: ten letters and digits, with or without the dash. - isConfirmed() - Method in class com.codename1.backend.security.mfa.TotpCredential
- isConflict() - Method in class com.codename1.backend.test.StatusResultMatchers
- isCreated() - Method in class com.codename1.backend.test.StatusResultMatchers
- isCredentialsNonExpired() - Method in class com.codename1.backend.security.core.userdetails.User
- isCredentialsNonExpired() - Method in interface com.codename1.backend.security.core.userdetails.UserDetails
- isDefault() - Method in class com.codename1.migration.MigrationSet
-
Whether this is the application's own set.
- isDevelopmentProfile() - Method in class com.codename1.backend.Config
-
Whether the active profile is a development one -- dev, development, test or local.
- isDigit(char) - Static method in class java.lang.Character
-
Determines if the specified character is a digit.
- isDone() - Method in class com.codename1.backend.AsyncResult
- isDone() - Method in interface java.util.concurrent.Future
-
Whether the work has finished: completed, failed or cancelled.
- isEmailVerified() - Method in class com.codename1.backend.security.oauth2.client.DefaultOidcUser
- isEmailVerified() - Method in interface com.codename1.backend.security.oauth2.client.OidcUser
-
Whether the provider says it has verified
OidcUser.getEmail(). - isEmpty() - Method in class com.codename1.backend.test.JsonPathResultMatchers
-
An empty value is there: an empty string, list or map, or JSON
null. - isEmpty() - Method in class java.lang.String
-
Checks if string is empty.
- isEmpty() - Method in class java.util.AbstractCollection
-
Returns if this
Collectioncontains no elements. - isEmpty() - Method in class java.util.AbstractMap
-
Returns whether this map is empty.
- isEmpty() - Method in class java.util.ArrayDeque
-
Returns true if the deque has no elements.
- isEmpty() - Method in class java.util.ArrayList
- isEmpty() - Method in class java.util.BitSet
-
Returns true if all the bits in this
BitSetare set to false. - isEmpty() - Method in interface java.util.Collection
-
Returns if this
Collectioncontains no elements. - isEmpty() - Method in class java.util.Dictionary
-
Returns true if this dictionary has no key/value pairs.
- isEmpty() - Method in class java.util.HashMap
-
Returns whether this map is empty.
- isEmpty() - Method in class java.util.HashSet
-
Returns true if this
HashSethas no elements, false otherwise. - isEmpty() - Method in class java.util.Hashtable
-
Returns true if this
Hashtablehas no key/value pairs. - isEmpty() - Method in class java.util.IdentityHashMap
-
Returns whether this IdentityHashMap has no elements.
- isEmpty() - Method in interface java.util.List
-
Returns whether this
Listcontains no elements. - isEmpty() - Method in interface java.util.Map
-
Returns whether this map is empty.
- isEmpty() - Method in interface java.util.Set
-
Returns true if this set has no elements.
- isEmpty() - Method in class java.util.TreeSet
-
Returns true if this
TreeSethas no element, otherwise false. - isEmpty() - Method in class java.util.Vector
-
Returns if this vector has no elements, a size of zero.
- isEnabled() - Method in class com.codename1.backend.security.core.userdetails.User
- isEnabled() - Method in interface com.codename1.backend.security.core.userdetails.UserDetails
- isEnabled() - Static method in class com.codename1.backend.Tracing
-
Whether a tracer is installed.
- isEnabled(String) - Method in class com.codename1.backend.security.mfa.TotpService
-
Whether
usernamehas a confirmed second factor. - isEnum() - Method in class java.lang.Class
-
Replacement for Class.isEnum().
- isError() - Method in enum com.codename1.backend.test.HttpStatus
- isError() - Method in interface com.codename1.backend.test.HttpStatusCode
-
A 4xx or a 5xx.
- isEven() - Method in class com.codename1.backend.mvc.IterationStatus
- isExpiring(long) - Method in class com.codename1.backend.aws.Credentials
-
True within
marginMillisof expiry. - isFirst() - Method in class com.codename1.backend.mvc.IterationStatus
- isForbidden() - Method in class com.codename1.backend.test.StatusResultMatchers
- isFound() - Method in class com.codename1.backend.test.StatusResultMatchers
- isGenerated() - Method in class com.codename1.backend.orm.ColumnDefinition
-
Whether the DATABASE assigns this key rather than the application.
- isGone() - Method in class com.codename1.backend.test.StatusResultMatchers
- isGranted() - Method in class com.codename1.backend.security.AuthorizationDecision
- isHighSurrogate(char) - Static method in class java.lang.Character
-
A test for determining if the
charis a high surrogate/leading surrogate unit that's used for representing supplementary characters in UTF-16 encoding. - isId() - Method in class com.codename1.backend.orm.ColumnDefinition
-
Whether this is the primary key.
- isInfinite() - Method in class java.lang.Double
-
Returns true if this Double value is infinitely large in magnitude.
- isInfinite() - Method in class java.lang.Float
-
Returns true if this Float value is infinitely large in magnitude.
- isInfinite(double) - Static method in class java.lang.Double
-
Returns true if the specified number is infinitely large in magnitude.
- isInfinite(float) - Static method in class java.lang.Float
-
Returns true if the specified number is infinitely large in magnitude.
- isInstance(Object) - Method in class java.lang.Class
-
Determines if the specified Object is assignment-compatible with the object represented by this Class.
- isInterface() - Method in class java.lang.Class
-
Determines if the specified Class object represents an interface type.
- isInternalServerError() - Method in class com.codename1.backend.test.StatusResultMatchers
- isInTransaction() - Method in class com.codename1.backend.Database
-
Whether a transaction opened through this Database API is active.
- isIssuer(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.ProviderDetails
-
Whether
issueris this provider: itsClientRegistration.ProviderDetails.getIssuerUri(), character for character, or for a provider with one issuer per tenant itsClientRegistration.ProviderDetails.getIssuerTemplate()with a tenant id where{tenantid}is. - isJavaIdentifierPart(char) - Static method in class java.lang.Character
-
Determines whether the character can occur in a Java identifier.
- isJavaIdentifierPart(int) - Static method in class java.lang.Character
-
Determines whether the Unicode code point can occur in a Java identifier.
- isJavaIdentifierStart(char) - Static method in class java.lang.Character
-
Determines whether the character can start a Java identifier.
- isJavaIdentifierStart(int) - Static method in class java.lang.Character
-
Determines whether the Unicode code point can start a Java identifier.
- isLast() - Method in class com.codename1.backend.mvc.IterationStatus
- isLeapYear() - Method in class java.time.LocalDate
- isLoaded(Object, String) - Method in interface com.codename1.orm.session.Session
-
Checks relationship initialization without fetching its contents.
- isLocalClass() - Method in class java.lang.Class
-
Deprecated
- isLowerCase(char) - Static method in class java.lang.Character
-
Determines if the specified character is a lowercase character.
- isLowSurrogate(char) - Static method in class java.lang.Character
-
A test for determining if the
charis a high surrogate/leading surrogate unit that's used for representing supplementary characters in UTF-16 encoding. - isMap() - Method in class com.codename1.backend.test.JsonPathResultMatchers
- isMariaDb() - Method in class com.codename1.backend.sql.MySql
-
See
MySql.mariaDb. - isMatch() - Method in class com.codename1.backend.security.RequestMatcher.MatchResult
- isMethodNotAllowed() - Method in class com.codename1.backend.test.StatusResultMatchers
- isMovedPermanently() - Method in class com.codename1.backend.test.StatusResultMatchers
- isNaN() - Method in class java.lang.Double
-
Returns true if this Double value is the special Not-a-Number (NaN) value.
- isNaN() - Method in class java.lang.Float
-
Returns true if this Float value is Not-a-Number (NaN).
- isNaN(double) - Static method in class java.lang.Double
-
Returns true if the specified number is the special Not-a-Number (NaN) value.
- isNaN(float) - Static method in class java.lang.Float
-
Returns true if the specified number is the special Not-a-Number (NaN) value.
- isNativeMethod() - Method in class java.lang.StackTraceElement
- isNew() - Method in class com.codename1.backend.HttpSession
-
Whether this session was created by the current request.
- isNoContent() - Method in class com.codename1.backend.test.StatusResultMatchers
- isNotAcceptable() - Method in class com.codename1.backend.test.StatusResultMatchers
- isNotEmpty() - Method in class com.codename1.backend.test.JsonPathResultMatchers
- isNotFound() - Method in class com.codename1.backend.test.StatusResultMatchers
- isNotImplemented() - Method in class com.codename1.backend.test.StatusResultMatchers
- isNotModified() - Method in class com.codename1.backend.test.StatusResultMatchers
- isNotNull(String) - Method in class com.codename1.backend.orm.Query
-
field IS NOT NULL.
- isNotNull(String) - Method in interface com.codename1.orm.session.Query
-
Adds an IS NOT NULL predicate.
- isNull(String) - Method in class com.codename1.backend.orm.Query
-
field IS NULL.
- isNull(String) - Method in interface com.codename1.orm.session.Query
-
Adds an IS NULL predicate.
- isNullable() - Method in class com.codename1.backend.orm.ColumnDefinition
-
Whether the column is declared without NOT NULL.
- isNumber() - Method in class com.codename1.backend.test.JsonPathResultMatchers
- ISO_8859_1 - Static variable in class java.nio.charset.StandardCharsets
- ISO_INSTANT - Static variable in class java.time.format.DateTimeFormatter
- ISO_LOCAL_DATE - Static variable in class java.time.format.DateTimeFormatter
- ISO_LOCAL_DATE_TIME - Static variable in class java.time.format.DateTimeFormatter
- ISO_LOCAL_TIME - Static variable in class java.time.format.DateTimeFormatter
- ISO_OFFSET_DATE_TIME - Static variable in class java.time.format.DateTimeFormatter
- ISO_ZONED_DATE_TIME - Static variable in class java.time.format.DateTimeFormatter
- isOdd() - Method in class com.codename1.backend.mvc.IterationStatus
- isOk() - Method in class com.codename1.backend.test.StatusResultMatchers
- isOpaque() - Method in class java.net.URI
-
Returns
- isOpen() - Method in class com.codename1.backend.Database
-
Whether this connection is still usable, which a pool has to know.
- isOpen() - Method in class com.codename1.backend.WebSocketSession
-
Whether this connection is still usable.
- isPartialContent() - Method in class com.codename1.backend.test.StatusResultMatchers
- isPayloadTooLarge() - Method in class com.codename1.backend.test.StatusResultMatchers
- isPermanentRedirect() - Method in class com.codename1.backend.test.StatusResultMatchers
- isPrimitive() - Method in class java.lang.Class
-
Returns true if this class is a primitive type.
- isPrivate() - Method in class com.codename1.backend.security.crypto.Jwk
-
Whether the key can sign.
- isPublic() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
-
Whether the client is a public one: it authenticates with nothing, and so must prove with PKCE that the code it redeems is the one it asked for.
- isReady() - Method in class com.codename1.backend.Backend
-
Whether the server has finished starting and serves its application.
- isRecord() - Method in class java.lang.Class
- isRecording() - Method in class com.codename1.backend.Span
-
Whether this span is being recorded.
- isRegistered() - Static method in class com.codename1.backend.Migrations
-
Whether any migration set is registered.
- isRequest(HttpServer.Request) - Static method in class com.codename1.backend.mvc.Htmx
- isRequireAuthorizationConsent() - Method in class com.codename1.backend.security.oauth2.server.authorization.ClientSettings
-
Always false: this server has no consent page, and a client is authorized for the scopes it was registered with.
- isRequireProofKey() - Method in class com.codename1.backend.security.oauth2.server.authorization.ClientSettings
-
Whether the client must use PKCE with the authorization code.
- isResource(String) - Static method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
-
Whether
resourcecan name a resource server: an absolute URI with no fragment, as RFC 8707 section 2 requires of the parameter. - isReuseRefreshTokens() - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings
-
Whether a refresh token stays the same when it is used.
- isRevoked() - Method in class com.codename1.backend.security.apikey.ApiKey
- isRollbackOnly() - Static method in class com.codename1.backend.Transactions
-
Whether the calling thread's transaction has been marked rollback-only.
- isRollbackOnly() - Method in interface com.codename1.orm.session.Session
-
Reports whether a transaction failure prevents committing.
- ISS - Static variable in class com.codename1.backend.security.oauth2.jwt.JwtClaimNames
-
Who issued the token.
- isSecure() - Method in class com.codename1.backend.HttpServer
-
Whether this server speaks TLS, so a client of it must use https.
- isSecure() - Method in class com.codename1.backend.HttpServer.Request
-
Whether the client reached this request's server over TLS: this server terminated it, or a trusted proxy did and says so in
X-Forwarded-Proto. - isSecure() - Method in interface com.codename1.backend.security.HeaderWriter.Headers
-
Whether the request arrived over TLS this server terminated.
- isSecure() - Method in class com.codename1.backend.security.SecurityExchange
-
Whether the request arrived over TLS: terminated by this server, or by a proxy it trusts; see
HttpServer.Request.isSecure(). - isSecure() - Method in class com.codename1.backend.Tcp
-
Whether this connection is encrypted.
- isSeeOther() - Method in class com.codename1.backend.test.StatusResultMatchers
- isServiceUnavailable() - Method in class com.codename1.backend.test.StatusResultMatchers
- isSet - Variable in class java.util.Calendar
-
The flags which tell if a specified time field for the calendar is set.
- isShutdown() - Method in class com.codename1.backend.TaskExecutor
-
Whether
TaskExecutor.shutdown(long)has been called; it then refuses tasks. - isSpace(char) - Static method in class java.lang.Character
- isSpaceChar(char) - Static method in class java.lang.Character
- isStopped() - Method in class com.codename1.backend.Backend
-
Whether
Backend.stop()has finished: the beans are destroyed and the pool closed. - isString() - Method in class com.codename1.backend.test.JsonPathResultMatchers
- isSuccess() - Method in class com.codename1.backend.Web.Result
- issue(Map, byte[], long) - Static method in class com.codename1.backend.Jwt
-
claims: the payload; "iat" and "exp" are set here and overwrite anything the caller put there
- issuedAt(long) - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet.Builder
-
iat, in seconds since the epoch. - issuer(String) - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet.Builder
-
iss. - issuer(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings.Builder
- ISSUER - Static variable in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
-
The setting that holds the issuer.
- ISSUER_URI - Static variable in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
-
The issuer whose tokens are accepted.
- issuerTemplate(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- issuerUri(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- issueTokens(String, long, long, String, boolean) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- issueTokens(String, long, long, String, boolean) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- issueTokens(String, long, long, String, boolean) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
Issues tokens only while an active, unexpired grant still exists.
- isSupplementaryCodePoint(int) - Static method in class java.lang.Character
-
A test for determining if the
codePointis within the supplementary code point range. - isSuppressed() - Static method in class com.codename1.backend.Tracing
-
Whether
Tracing.setSuppressed(boolean)is in force on this thread. - isSurrogatePair(char, char) - Static method in class java.lang.Character
-
A test for determining if the
charpair is a valid surrogate pair. - isSynthetic() - Method in class java.lang.Class
-
replacement for Class.isSynthetic()
- isTemporaryRedirect() - Method in class com.codename1.backend.test.StatusResultMatchers
- isTooManyRequests() - Method in class com.codename1.backend.test.StatusResultMatchers
- isTransactionActive() - Method in interface com.codename1.orm.session.Session
-
Reports whether this session has an active transaction.
- isUnauthorized() - Method in class com.codename1.backend.test.StatusResultMatchers
- isUnprocessableEntity() - Method in class com.codename1.backend.test.StatusResultMatchers
- isUnsupportedMediaType() - Method in class com.codename1.backend.test.StatusResultMatchers
- isUpperCase(char) - Static method in class java.lang.Character
-
Determines if the specified character is an uppercase character.
- isUsed() - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService.StoredToken
-
Whether it has been used up.
- isUserEndpoint(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationServer
-
Whether
pathis an endpoint a user must be signed in for: the authorization endpoint or the device verification page. - isUserVerified() - Method in class com.codename1.backend.security.webauthn.WebAuthnAuthentication
-
Whether the authenticator verified the user -- a PIN, a fingerprint, a face -- so that the sign-in is two factors by itself.
- isUserVerified() - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations.Assertion
-
Whether the authenticator verified the user for this sign-in: a PIN, a fingerprint, a face -- a second factor beside holding it.
- isUvInitialized() - Method in class com.codename1.backend.security.webauthn.CredentialRecord
-
Whether the authenticator has ever verified the user with this credential: a PIN, a fingerprint, a face.
- isValid() - Method in class com.codename1.backend.HttpSession
- isValidCodePoint(int) - Static method in class java.lang.Character
-
A test for determining if the
codePointis a valid Unicode code point. - isVarargsCollector() - Method in class java.lang.invoke.MethodHandle
- isVirtual() - Method in class com.codename1.backend.TaskExecutor
-
Whether this executor's tasks go to virtual threads: always for a virtual one, and for an AUTO one while its server has hosts to run them on.
- isVirtual() - Static method in class com.codename1.backend.VirtualThread
-
Whether the caller is running on a virtual thread that may park -- one that holds no monitor.
- isWhitespace(char) - Static method in class java.lang.Character
-
See
#isWhitespace(int). - isWhitespace(int) - Static method in class java.lang.Character
-
Returns true if the given code point is a Unicode whitespace character.
- isZeroCopy() - Static method in class com.codename1.backend.StaticFiles
-
True when the body is sent by the kernel rather than copied through here.
- Iterable<T> - Interface in java.lang
-
Objects of classes that implement this interface can be used within a
foreachstatement. - IterationStatus - Class in com.codename1.backend.mvc
-
Thymeleaf-style iteration status for a compiled loop.
- IterationStatus(int, int) - Constructor for class com.codename1.backend.mvc.IterationStatus
- iterator() - Method in interface java.lang.Iterable
-
Returns an
Iteratorfor the elements in this object. - iterator() - Method in class java.util.AbstractCollection
-
Returns an instance of
Iteratorthat may be used to access the objects contained by thisCollection. - iterator() - Method in class java.util.AbstractList
-
Returns an iterator on the elements of this list.
- iterator() - Method in class java.util.AbstractSequentialList
- iterator() - Method in class java.util.ArrayDeque
-
Returns the iterator of the deque.
- iterator() - Method in interface java.util.Collection
-
Returns an instance of
Iteratorthat may be used to access the objects contained by thisCollection. - iterator() - Method in class java.util.HashSet
-
Returns an Iterator on the elements of this
HashSet. - iterator() - Method in interface java.util.List
-
Returns an iterator on the elements of this
List. - iterator() - Method in class java.util.PriorityQueue
-
Gets the iterator of the priority queue, which will not return elements in any specified ordering.
- iterator() - Method in interface java.util.Set
-
Returns an iterator on the elements of this set.
- iterator() - Method in interface java.util.stream.BaseStream
- iterator() - Method in class java.util.TreeSet
-
Returns an Iterator on the elements of this
TreeSet. - Iterator<E> - Interface in java.util
-
An
Iteratoris used to sequence over a collection of objects.
J
- JANUARY - Static variable in class java.util.Calendar
-
Value of the MONTH field indicating the first month of the year.
- java(String, String, JavaMigration) - Method in class com.codename1.migration.MigrationSet.Builder
-
Adds a migration written in Java.
- java(String, String, String, JavaMigration) - Method in class com.codename1.migration.MigrationSet.Builder
-
Adds a migration written in Java and recorded under a name of its own.
- java.io - package java.io
- java.lang - package java.lang
- java.lang.annotation - package java.lang.annotation
- java.lang.invoke - package java.lang.invoke
- java.lang.ref - package java.lang.ref
- java.lang.reflect - package java.lang.reflect
- java.net - package java.net
- java.nio.charset - package java.nio.charset
- java.text - package java.text
- java.time - package java.time
- java.time.format - package java.time.format
- java.time.temporal - package java.time.temporal
- java.util - package java.util
- java.util.concurrent - package java.util.concurrent
- java.util.concurrent.atomic - package java.util.concurrent.atomic
- java.util.function - package java.util.function
- java.util.stream - package java.util.stream
- JavaMigration - Interface in com.codename1.migration
-
A migration written in Java, for a change SQL cannot express: recomputing a column, moving data between tables with logic in between.
- JdbcApiKeyRepository - Class in com.codename1.backend.security.apikey
-
API keys kept in the server's database, in the
cn1_api_keytable ofSecuritySchema. - JdbcApiKeyRepository(DataSource) - Constructor for class com.codename1.backend.security.apikey.JdbcApiKeyRepository
- JdbcFederatedIdentityRepository - Class in com.codename1.backend.security.oauth2.client
-
Identities kept in the server's database, in the
cn1_federated_identitytable ofSecuritySchema. - JdbcFederatedIdentityRepository(DataSource) - Constructor for class com.codename1.backend.security.oauth2.client.JdbcFederatedIdentityRepository
- JdbcOAuth2AuthorizationService - Class in com.codename1.backend.security.oauth2.server.authorization
-
Grants kept in the server's database, in the
cn1_oauth2_authorizationandcn1_oauth2_tokentables ofSecuritySchema: what lets tokens outlive a restart, and several processes be one authorization server. - JdbcOAuth2AuthorizationService(DataSource) - Constructor for class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- JdbcPublicKeyCredentialUserEntityRepository - Class in com.codename1.backend.security.webauthn
-
User handles kept in the server's database, in the
cn1_webauthn_usertable ofSecuritySchema. - JdbcPublicKeyCredentialUserEntityRepository(DataSource) - Constructor for class com.codename1.backend.security.webauthn.JdbcPublicKeyCredentialUserEntityRepository
- JdbcRateLimiter - Class in com.codename1.backend.security.ratelimit
-
Counts in the server's database, in the
cn1_rate_limittable ofSecuritySchema, so that every process of a deployment shares one limit. - JdbcRateLimiter(DataSource, String, int, long) - Constructor for class com.codename1.backend.security.ratelimit.JdbcRateLimiter
- JdbcRecoveryCodeRepository - Class in com.codename1.backend.security.mfa
-
Recovery codes kept in the server's database, in the
cn1_mfa_recovery_codetable ofSecuritySchema. - JdbcRecoveryCodeRepository(DataSource) - Constructor for class com.codename1.backend.security.mfa.JdbcRecoveryCodeRepository
- JdbcRegisteredClientRepository - Class in com.codename1.backend.security.oauth2.server.authorization
-
Clients kept in the server's database, in the
cn1_oauth2_registered_clienttable ofSecuritySchema. - JdbcRegisteredClientRepository(DataSource) - Constructor for class com.codename1.backend.security.oauth2.server.authorization.JdbcRegisteredClientRepository
- JdbcTokenRepository - Class in com.codename1.backend.security.rememberme
-
Remembered sign-ins kept in the server's database, in the
cn1_persistent_loginstable ofSecuritySchema, so that any process of a deployment recognizes a cookie any other issued. - JdbcTokenRepository(DataSource) - Constructor for class com.codename1.backend.security.rememberme.JdbcTokenRepository
- JdbcTotpRepository - Class in com.codename1.backend.security.mfa
-
Secrets kept in the server's database, in the
cn1_mfa_totptable ofSecuritySchema. - JdbcTotpRepository(DataSource, byte[]) - Constructor for class com.codename1.backend.security.mfa.JdbcTotpRepository
- JdbcUserCredentialRepository - Class in com.codename1.backend.security.webauthn
-
Credentials kept in the server's database, in the
cn1_webauthn_credentialtable ofSecuritySchema. - JdbcUserCredentialRepository(DataSource) - Constructor for class com.codename1.backend.security.webauthn.JdbcUserCredentialRepository
- JdbcUserDetailsManager - Class in com.codename1.backend.security.core.userdetails
- JdbcUserDetailsManager(DataSource) - Constructor for class com.codename1.backend.security.core.userdetails.JdbcUserDetailsManager
- join() - Method in class java.lang.Thread
-
Waits for this thread to die.
- join(String) - Method in interface com.codename1.orm.session.Query
-
Adds an inner join on a relationship path.
- joinColumn() - Element in annotation type com.codename1.annotations.db.JoinTable
-
Names the join-table key column referring to the owner.
- JoinColumn - Annotation Type in com.codename1.annotations.db
-
Foreign key column on the owning table.
- joining() - Static method in class java.util.stream.Collectors
- JoinTable - Annotation Type in com.codename1.annotations.db
-
Join table and key column names for an owning to-many association.
- JpqlQuery<T> - Interface in com.codename1.orm.session
-
A mutable query obtained from
Session.createQuery(String, Class). - json(int, String) - Static method in class com.codename1.backend.HttpServer.Response
- json(String) - Method in class com.codename1.backend.test.ContentResultMatchers
-
The body is JSON holding everything
expecteddoes; objects may carry more fields. - json(String, boolean) - Method in class com.codename1.backend.test.ContentResultMatchers
- Json - Class in com.codename1.backend
-
A self-contained JSON reader/writer for server-side binaries.
- Json.Writable - Interface in com.codename1.backend
-
A value that knows how to write itself as JSON.
- JsonIgnore - Annotation Type in com.codename1.annotations
-
Excludes a
@Mappedfield from the JSON projection. - jsonPath(String, Object...) - Static method in class com.codename1.backend.test.MockMvcResultMatchers
-
A JSONPath into the JSON body:
$.name,$.items[0].id,$.items[*].id,$['odd key'],$.items.length(). - JsonPathResultMatchers - Class in com.codename1.backend.test
-
Expectations of one JSONPath into the JSON body, from
MockMvcResultMatchers.jsonPath(String, Object...). - JsonProperty - Annotation Type in com.codename1.annotations
-
Renames a
@Mappedfield in the JSON projection. - jsonValue(int, Object) - Static method in class com.codename1.backend.HttpServer.Response
-
A JSON response serialised straight into the connection's write buffer.
- JTI - Static variable in class com.codename1.backend.security.oauth2.jwt.JwtClaimNames
-
The token's own id.
- JULY - Static variable in class java.util.Calendar
-
Value of the MONTH field indicating the seventh month of the year.
- JUNE - Static variable in class java.util.Calendar
-
Value of the MONTH field indicating the sixth month of the year.
- Jwk - Class in com.codename1.backend.security.crypto
-
One key, as a JSON Web Key describes it (RFC 7517): an RSA key, an EC key on P-256 or P-384, or a shared secret.
- JWK_SET_URI - Static variable in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
-
The address of the issuer's JSON Web Key Set.
- JwkSet - Class in com.codename1.backend.security.crypto
-
A set of keys, as a JSON Web Key Set publishes one (RFC 7517 5): what a server that signs tokens serves at its
jwks_uri, and what a server that verifies them reads from there. - JwkSet(List) - Constructor for class com.codename1.backend.security.crypto.JwkSet
- jwkSetEndpoint(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings.Builder
- jwkSetUri(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- jwkSetUri(String) - Method in class com.codename1.backend.security.OAuth2ResourceServerConfigurer.JwtConfigurer
-
Verifies with the keys published at this address, accepting RS256.
- jwkSource(JwkSource) - Method in class com.codename1.backend.security.AuthorizationServerConfigurer
-
The signing keys, the first of them signing, in place of the application's bean and the configuration.
- JwkSource - Interface in com.codename1.backend.security.crypto
-
Where keys come from: a set held in memory, a file read at start-up, another server's published set.
- JWS_ALGORITHMS - Static variable in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
-
The signature algorithms accepted, separated by commas.
- jwsAlgorithm(JwsAlgorithm) - Method in class com.codename1.backend.security.oauth2.jwt.DefaultJwtDecoder.Builder
-
The one algorithm accepted, in place of the default.
- JwsAlgorithm - Interface in com.codename1.backend.security.oauth2.jose.jws
-
An algorithm a JSON Web Signature is made with: a
SignatureAlgorithm, which a private key signs and its public key verifies, or aMacAlgorithm, which one shared secret does both of. - jwsAlgorithms(JwsAlgorithm...) - Method in class com.codename1.backend.security.oauth2.jwt.DefaultJwtDecoder.Builder
-
The algorithms accepted, in place of the default.
- JwsHeader - Class in com.codename1.backend.security.oauth2.jwt
-
The header of a signature that is about to be made: which algorithm, and optionally which key and what type of token.
- JwsHeader.Builder - Class in com.codename1.backend.security.oauth2.jwt
-
Builds a
JwsHeader. - jwt() - Static method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors
-
The request carries a bearer token that was accepted: a JWT whose subject is
userand whose scope isread, until told otherwise. - jwt(Customizer) - Method in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
-
The tokens are JWTs, verified here; see
OAuth2ResourceServerConfigurer.JwtConfigurer. - Jwt - Class in com.codename1.backend
-
HS256 JSON Web Tokens: issue one, and verify one you are handed.
- Jwt - Class in com.codename1.backend.security.oauth2.jwt
-
A JSON Web Token whose signature has been made or verified: its text, the headers of its signature and its claims.
- Jwt(String, Map, Map) - Constructor for class com.codename1.backend.security.oauth2.jwt.Jwt
- Jwt.InvalidTokenException - Exception Class in com.codename1.backend
-
Thrown for any token that is not valid and current.
- JwtAudienceValidator - Class in com.codename1.backend.security.oauth2.jwt
-
Refuses a token that is not for this server: one whose
audnames none of the audiences given here. - JwtAudienceValidator(String...) - Constructor for class com.codename1.backend.security.oauth2.jwt.JwtAudienceValidator
- jwtAuthenticationConverter(Converter) - Method in class com.codename1.backend.security.OAuth2ResourceServerConfigurer.JwtConfigurer
-
What makes an authentication of a verified token: its authorities and its name.
- JwtAuthenticationConverter - Class in com.codename1.backend.security.oauth2.server.resource
-
Makes the
JwtAuthenticationTokenof a verified token: its authorities, through aJwtGrantedAuthoritiesConverterunless another is set, and its name, from thesubclaim unless another is named. - JwtAuthenticationConverter() - Constructor for class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationConverter
- JwtAuthenticationProvider - Class in com.codename1.backend.security.oauth2.server.resource
-
Authenticates a bearer token by verifying it as a JWT.
- JwtAuthenticationProvider(JwtDecoder) - Constructor for class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationProvider
- JwtAuthenticationToken - Class in com.codename1.backend.security.oauth2.server.resource
-
Who a request is from, when a verified JWT says so.
- JwtAuthenticationToken(Jwt, Collection) - Constructor for class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationToken
-
Named after the token's subject.
- JwtAuthenticationToken(Jwt, Collection, String) - Constructor for class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationToken
- JwtClaimNames - Class in com.codename1.backend.security.oauth2.jwt
-
The claims RFC 7519 registers.
- JwtClaimsSet - Class in com.codename1.backend.security.oauth2.jwt
-
The claims of a token that is about to be signed.
- JwtClaimsSet.Builder - Class in com.codename1.backend.security.oauth2.jwt
-
Builds a
JwtClaimsSet. - JwtClaimValidator - Class in com.codename1.backend.security.oauth2.jwt
-
Refuses a token unless one of its claims passes a test.
- JwtClaimValidator(String, Predicate) - Constructor for class com.codename1.backend.security.oauth2.jwt.JwtClaimValidator
- JwtDecoder - Interface in com.codename1.backend.security.oauth2.jwt
-
Verifies a token and reads its claims.
- JwtDecoders - Class in com.codename1.backend.security.oauth2.jwt
-
Makes a decoder for an issuer from what the issuer says about itself.
- jwtEncoder(JwtEncoder) - Method in class com.codename1.backend.security.AuthorizationServerConfigurer
-
What signs, in place of the application's bean.
- JwtEncoder - Interface in com.codename1.backend.security.oauth2.jwt
-
Signs tokens.
- JwtEncoderParameters - Class in com.codename1.backend.security.oauth2.jwt
-
What a
JwtEncoderis asked to sign: claims, and optionally a header. - JwtEncodingException - Exception Class in com.codename1.backend.security.oauth2.jwt
-
A token could not be signed: there is no key for it, or the key does not fit the algorithm.
- JwtEncodingException(String) - Constructor for exception class com.codename1.backend.security.oauth2.jwt.JwtEncodingException
- JwtEncodingException(String, Throwable) - Constructor for exception class com.codename1.backend.security.oauth2.jwt.JwtEncodingException
- JwtException - Exception Class in com.codename1.backend.security.oauth2.jwt
-
A token could not be made or could not be judged: a key is missing or unusable, the server that publishes the keys did not answer.
- JwtException(String) - Constructor for exception class com.codename1.backend.security.oauth2.jwt.JwtException
- JwtException(String, Throwable) - Constructor for exception class com.codename1.backend.security.oauth2.jwt.JwtException
- JwtGrantedAuthoritiesConverter - Class in com.codename1.backend.security.oauth2.server.resource
-
Reads a token's authorities out of one claim: each value, with a prefix in front.
- JwtGrantedAuthoritiesConverter() - Constructor for class com.codename1.backend.security.oauth2.server.resource.JwtGrantedAuthoritiesConverter
- JwtIssuerAuthenticationManagerResolver - Class in com.codename1.backend.security.oauth2.server.resource
-
For a server that takes tokens from several issuers: each token is verified by the issuer it says it is from, and only by that one.
- JwtIssuerAuthenticationManagerResolver(Map) - Constructor for class com.codename1.backend.security.oauth2.server.resource.JwtIssuerAuthenticationManagerResolver
- JwtIssuerValidator - Class in com.codename1.backend.security.oauth2.jwt
-
Refuses a token whose
issis not exactly the issuer this server trusts. - JwtIssuerValidator(String) - Constructor for class com.codename1.backend.security.oauth2.jwt.JwtIssuerValidator
- JwtTimestampValidator - Class in com.codename1.backend.security.oauth2.jwt
-
Refuses a token past its
expor ahead of itsnbf, with a minute's allowance either way for two machines whose clocks disagree. - JwtTimestampValidator() - Constructor for class com.codename1.backend.security.oauth2.jwt.JwtTimestampValidator
-
With the allowance of 60 seconds.
- JwtTimestampValidator(long) - Constructor for class com.codename1.backend.security.oauth2.jwt.JwtTimestampValidator
- JwtValidationException - Exception Class in com.codename1.backend.security.oauth2.jwt
-
A token whose signature verified and whose claims did not pass: expired, not yet valid, from another issuer, meant for another audience.
- JwtValidationException(String, Collection) - Constructor for exception class com.codename1.backend.security.oauth2.jwt.JwtValidationException
- JwtValidators - Class in com.codename1.backend.security.oauth2.jwt
-
The validators a decoder is usually given.
- JZlib - Class in com.codename1.io.gzip
K
- key(String) - Method in class com.codename1.backend.security.AnonymousConfigurer
- key(String) - Method in class com.codename1.backend.security.RememberMeConfigurer
-
What identifies the tokens of this chain.
- KeyFiles - Class in com.codename1.backend.security.crypto
-
Reads keys out of PEM text, in the shapes key files come in, and hands back the one shape the runtime signs and verifies with: PKCS#8 DER for a private key, SubjectPublicKeyInfo DER for a public one.
- keyId(String) - Method in class com.codename1.backend.security.oauth2.jwt.JwsHeader.Builder
-
kid: sign with the key of this id. - keys() - Method in class com.codename1.backend.Config
-
Every key the properties files and the compiled-in settings set, sorted, for a development listing.
- keys() - Method in class java.util.Dictionary
-
Returns an enumeration on the keys of this dictionary.
- keys() - Method in class java.util.Hashtable
-
Returns an enumeration on the keys of this
Hashtableinstance. - KEYS - Static variable in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerKeys
-
The setting that lists the key files, separated by commas.
- keySet() - Method in class java.util.AbstractMap
-
Returns a set of the keys contained in this map.
- keySet() - Method in class java.util.HashMap
-
Returns a set of the keys contained in this map.
- keySet() - Method in class java.util.Hashtable
-
Returns a set of the keys contained in this
Hashtable. - keySet() - Method in class java.util.IdentityHashMap
-
Returns a set of the keys contained in this map.
- keySet() - Method in class java.util.LinkedHashMap
-
Returns a set of the keys contained in this map.
- keySet() - Method in interface java.util.Map
-
Returns a set of the keys contained in this
Map. - keySet() - Method in class java.util.TreeMap
-
Returns a set of the keys contained in this map.
- KIND_CLIENT - Static variable in class com.codename1.backend.Span
-
A request this process makes to something else.
- KIND_INTERNAL - Static variable in class com.codename1.backend.Span
-
An operation inside the process.
- KIND_SERVER - Static variable in class com.codename1.backend.Span
-
Answering a request that arrived from outside.
L
- label(String) - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
- LambdaMetafactory - Class in java.lang.invoke
-
Deprecated
- LambdaMetafactory() - Constructor for class java.lang.invoke.LambdaMetafactory
- LambdaRuntime - Class in com.codename1.backend
-
The AWS Lambda custom-runtime loop.
- last() - Method in interface java.util.SortedSet
-
Returns the last element in this
SortedSet. - last() - Method in class java.util.TreeSet
-
Answers the last element in this TreeSet.
- lastElement() - Method in class java.util.Vector
-
Returns the last element in this vector.
- lastEntry() - Method in interface java.util.NavigableMap
-
Answers the entry with the biggest key, or null if the map is empty.
- lastEntry() - Method in class java.util.TreeMap
-
Answers the entry with the biggest key, or null if the map is empty.
- lastIndexOf(int) - Method in class java.lang.String
-
Returns the index within this string of the last occurrence of the specified character.
- lastIndexOf(int, int) - Method in class java.lang.String
-
Returns the index within this string of the last occurrence of the specified character, searching backward starting at the specified index.
- lastIndexOf(Object) - Method in class java.util.AbstractList
-
Searches this list for the specified object and returns the index of the last occurrence.
- lastIndexOf(Object) - Method in class java.util.ArrayList
- lastIndexOf(Object) - Method in class java.util.LinkedList
-
Searches this
LinkedListfor the specified object and returns the index of the last occurrence. - lastIndexOf(Object) - Method in interface java.util.List
-
Searches this
Listfor the specified object and returns the index of the last occurrence. - lastIndexOf(Object) - Method in class java.util.Vector
-
Searches in this vector for the index of the specified object.
- lastIndexOf(Object, int) - Method in class java.util.Vector
-
Searches in this vector for the index of the specified object.
- lastIndexOf(String) - Method in class java.lang.String
-
Searches in this string for the last index of the specified string.
- lastIndexOf(String, int) - Method in class java.lang.String
-
Searches in this string for the index of the specified string.
- lastIndexOfSubList(List, List) - Static method in class java.util.Collections
-
Searches the
listforsublistand returns the beginning index of the last occurrence. - lastInsertId() - Method in class com.codename1.backend.Database
-
The id the most recent insert produced, or 0 where the engine has no such concept.
- lastInsertId() - Method in class com.codename1.backend.Db
-
The rowid the most recent insert produced.
- lastInsertId() - Method in class com.codename1.backend.sql.MySql
- lastKey() - Method in interface java.util.SortedMap
-
Returns the last key in this sorted map.
- lastKey() - Method in class java.util.TreeMap
-
Returns the last key in this map.
- lastUsed(long) - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
- Lazy - Annotation Type in com.codename1.backend.annotations
-
Constructs this bean the first time something calls it, instead of at start-up.
- LAZY - Enum constant in enum com.codename1.annotations.db.FetchType
-
Defers loading until enhanced field access or explicit session initialization.
- LazyInitializationException - Exception Class in com.codename1.orm.session
-
An unloaded association was accessed after its session was detached or closed.
- LazyInitializationException(String) - Constructor for exception class com.codename1.orm.session.LazyInitializationException
-
Creates an exception describing the persistence failure.
- lazySet(boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
- lazySet(int) - Method in class java.util.concurrent.atomic.AtomicInteger
- lazySet(long) - Method in class java.util.concurrent.atomic.AtomicLong
- lazySet(V) - Method in class java.util.concurrent.atomic.AtomicReference
- le(String, Object) - Method in interface com.codename1.orm.session.Query
-
Adds a less-than-or-equal predicate.
- leftJoin(String) - Method in interface com.codename1.orm.session.Query
-
Adds a left join before the path is used in predicates.
- length() - Method in class com.codename1.backend.ByteSink
- length() - Method in interface java.lang.CharSequence
-
Returns the number of characters in this sequence.
- length() - Method in class java.lang.String
-
Returns the length of this string.
- length() - Method in class java.lang.StringBuffer
-
Returns the length (character count) of this string buffer.
- length() - Method in class java.lang.StringBuilder
-
Returns the length (character count) of this string builder.
- length() - Method in class java.util.BitSet
-
Returns the number of bits up to and including the highest bit set.
- LENGTH_REQUIRED - Enum constant in enum com.codename1.backend.test.HttpStatus
- lengthOfMonth() - Method in class java.time.LocalDate
- like(String, String) - Method in class com.codename1.backend.orm.Query
-
field LIKE pattern, with the engine's own wildcards: % for any run of characters and _ for one.
- like(String, String) - Method in interface com.codename1.orm.session.Query
-
Adds a SQL LIKE predicate.
- likeOperator() - Method in class com.codename1.backend.sql.Dialect
-
The operator a portable
likerenders to, and the pattern it binds. - likePattern(String) - Method in class com.codename1.backend.sql.Dialect
-
patternasDialect.likeOperator()expects it. - limit(int) - Method in class com.codename1.backend.orm.Query
-
At most this many rows.
- limit(int) - Method in interface com.codename1.orm.session.JpqlQuery
-
Sets the maximum number of selected results.
- limit(int) - Method in interface com.codename1.orm.session.Query
-
Sets the maximum number of results; zero returns no rows.
- limit(int, int) - Method in class com.codename1.backend.sql.Dialect
-
countrows starting atoffset, or an empty string when both are unbounded. - limit(long) - Method in interface java.util.stream.Stream
- link(String, String, String) - Method in interface com.codename1.backend.security.oauth2.client.FederatedIdentityRepository
-
Ties the identity to
username, unless it is tied already. - link(String, String, String) - Method in class com.codename1.backend.security.oauth2.client.InMemoryFederatedIdentityRepository
- link(String, String, String) - Method in class com.codename1.backend.security.oauth2.client.JdbcFederatedIdentityRepository
- LinkageError - Exception Class in java.lang
-
LinkageErroris the superclass of all error classes that occur when loading and linking class files. - LinkageError() - Constructor for exception class java.lang.LinkageError
-
Constructs a new
LinkageErrorthat includes the current stack trace. - LinkageError(String) - Constructor for exception class java.lang.LinkageError
-
Constructs a new
LinkageErrorwith the current stack trace and the specified detail message. - LinkedHashMap<K,
V> - Class in java.util -
LinkedHashMap is a variant of HashMap.
- LinkedHashMap() - Constructor for class java.util.LinkedHashMap
-
Constructs a new empty
LinkedHashMapinstance. - LinkedHashMap(int) - Constructor for class java.util.LinkedHashMap
-
Constructs a new
LinkedHashMapinstance with the specified capacity. - LinkedHashMap(int, float) - Constructor for class java.util.LinkedHashMap
-
Constructs a new
LinkedHashMapinstance with the specified capacity and load factor. - LinkedHashMap(int, float, boolean) - Constructor for class java.util.LinkedHashMap
-
Constructs a new
LinkedHashMapinstance with the specified capacity, load factor and a flag specifying the ordering behavior. - LinkedHashMap(Map) - Constructor for class java.util.LinkedHashMap
-
Constructs a new
LinkedHashMapinstance containing the mappings from the specified map. - LinkedHashSet<E> - Class in java.util
-
LinkedHashSet is a variant of HashSet.
- LinkedHashSet() - Constructor for class java.util.LinkedHashSet
-
Constructs a new empty instance of
LinkedHashSet. - LinkedHashSet(int) - Constructor for class java.util.LinkedHashSet
-
Constructs a new instance of
LinkedHashSetwith the specified capacity. - LinkedHashSet(int, float) - Constructor for class java.util.LinkedHashSet
-
Constructs a new instance of
LinkedHashSetwith the specified capacity and load factor. - LinkedHashSet(Collection) - Constructor for class java.util.LinkedHashSet
-
Constructs a new instance of
LinkedHashSetcontaining the unique elements in the specified collection. - LinkedList<E> - Class in java.util
-
LinkedList is an implementation of List, backed by a linked list.
- LinkedList() - Constructor for class java.util.LinkedList
-
Constructs a new empty instance of
LinkedList. - LinkedList(Collection) - Constructor for class java.util.LinkedList
-
Constructs a new instance of
LinkedListthat holds all of the elements contained in the specifiedcollection. - LinkingOAuth2UserService - Class in com.codename1.backend.security.oauth2.client
-
Signs the user of an identity provider in as a user of the application's own.
- LinkingOAuth2UserService(FederatedIdentityRepository, UserDetailsService) - Constructor for class com.codename1.backend.security.oauth2.client.LinkingOAuth2UserService
- list() - Method in class com.codename1.backend.orm.Query
-
The matching rows, as entities.
- list() - Method in interface com.codename1.orm.session.JpqlQuery
-
Executes a select with the configured pagination.
- list() - Method in interface com.codename1.orm.session.Query
-
Executes the query, applying pagination and fetch requests.
- list(Enumeration) - Static method in class java.util.Collections
-
Returns an
ArrayListwith all the elements in theenumeration. - List<E> - Interface in java.util
-
A
Listis a collection which maintains an ordering for its elements. - listIterator() - Method in class java.util.AbstractList
-
Returns a ListIterator on the elements of this list.
- listIterator() - Method in interface java.util.List
-
Returns a
Listiterator on the elements of thisList. - listIterator(int) - Method in class java.util.AbstractList
-
Returns a list iterator on the elements of this list.
- listIterator(int) - Method in class java.util.AbstractSequentialList
- listIterator(int) - Method in class java.util.LinkedList
-
Returns a ListIterator on the elements of this
LinkedList. - listIterator(int) - Method in interface java.util.List
-
Returns a list iterator on the elements of this
List. - ListIterator<E> - Interface in java.util
-
An ListIterator is used to sequence over a List of objects.
- listObjects(String, String, int) - Method in class com.codename1.backend.aws.S3
-
Lists up to
maxobjects under a prefix. - load() - Static method in class com.codename1.backend.Config
-
Reads the configuration for this process: the active profile, then the two properties files, from
Config.LOCATIONor the working directory. - load(Config) - Static method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerKeys
-
The keys the configuration names, the signing one first.
- load(InputStream) - Method in class java.util.Properties
-
Loads properties from the specified
InputStream, assumed to be ISO-8859-1. - load(Reader) - Method in class java.util.Properties
-
Loads properties from the specified
Reader. - load(String) - Static method in class com.codename1.backend.Config
-
Reads the configuration from properties files in
directory. - load(String) - Method in interface com.codename1.backend.SessionStore
-
The session with this id, or null when there is none or it expired.
- loadContext(HttpServer.Request) - Method in class com.codename1.backend.security.HttpSessionSecurityContextRepository
- loadContext(HttpServer.Request) - Method in class com.codename1.backend.security.NullSecurityContextRepository
- loadContext(HttpServer.Request) - Method in interface com.codename1.backend.security.SecurityContextRepository
-
The context stored for
request's client; an empty one when there is none. - loadToken(HttpServer.Request) - Method in class com.codename1.backend.security.CookieCsrfTokenRepository
- loadToken(HttpServer.Request) - Method in interface com.codename1.backend.security.CsrfTokenRepository
-
The stored token, or null when the client has none.
- loadToken(HttpServer.Request) - Method in class com.codename1.backend.security.HttpSessionCsrfTokenRepository
- loadUser(OAuth2UserRequest) - Method in class com.codename1.backend.security.oauth2.client.DefaultOAuth2UserService
- loadUser(OAuth2UserRequest) - Method in class com.codename1.backend.security.oauth2.client.LinkingOAuth2UserService
- loadUser(OidcUserRequest) - Method in class com.codename1.backend.security.oauth2.client.OidcUserService
- loadUser(R) - Method in interface com.codename1.backend.security.oauth2.client.OAuth2UserService
-
The user.
- loadUserByUsername(String) - Method in class com.codename1.backend.security.core.userdetails.InMemoryUserDetailsManager
- loadUserByUsername(String) - Method in class com.codename1.backend.security.core.userdetails.JdbcUserDetailsManager
- loadUserByUsername(String) - Method in interface com.codename1.backend.security.core.userdetails.UserDetailsService
-
The user of that name; never null.
- LOCAL_VARIABLE - Enum constant in enum java.lang.annotation.ElementType
- LocalDate - Class in java.time
- LocalDateTime - Class in java.time
- Locale - Class in java.util
- Locale(String, String) - Constructor for class java.util.Locale
- localLocation(String) - Static method in class com.codename1.backend.mvc.Html
- LocalServerPort - Annotation Type in com.codename1.backend.test
-
Injects the port the
BackendTest's server listens on into anintfield. - LocalTime - Class in java.time
- LOCATION - Static variable in class com.codename1.backend.Config
-
The directory the properties files are read from.
- lock - Variable in class java.io.Reader
-
The object used to synchronize operations on this stream.
- lock - Variable in class java.io.Writer
-
The object used to synchronize operations on this stream.
- lock() - Element in annotation type com.codename1.backend.annotations.Scheduled
-
A lock name.
- lock(Object, LockMode) - Method in interface com.codename1.orm.session.Session
-
Applies a lock mode to a managed entity's row.
- LOCK_TIMEOUT - Static variable in exception class com.codename1.migration.MigrationException
-
Another process held the migration lock for longer than this run was willing to wait.
- lockAtMostFor() - Element in annotation type com.codename1.backend.annotations.Scheduled
-
How long a claimed lock is held at most, in milliseconds, so an instance that dies mid-run does not hold it for good.
- LockedException - Exception Class in com.codename1.backend.security
-
The account is locked.
- LockedException(String) - Constructor for exception class com.codename1.backend.security.LockedException
- LockedException(String, Throwable) - Constructor for exception class com.codename1.backend.security.LockedException
- lockForResync(String) - Method in class com.codename1.backend.sql.Dialect
-
The statement that holds inserts off
tablewhileDialect.resyncGeneratedKey(String, String)runs, or null where none is needed. - LockMode - Enum in com.codename1.orm.session
-
Explicit row-lock modes.
- lockRetryCount(int) - Method in class com.codename1.migration.Migrator
-
How long to wait for another process that is migrating the same database, in roughly one-second attempts.
- LOGIN_REQUIRED - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
OpenID Connect: the user is not signed in and the client cannot show a page.
- loginFail(HttpServer.Request) - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
- loginFail(HttpServer.Request) - Method in interface com.codename1.backend.security.rememberme.RememberMeServices
-
A sign-in was refused: withdraws the cookie.
- loginPage(String) - Method in class com.codename1.backend.security.FormLoginConfigurer
-
The application's own login page: a path the application serves.
- loginPage(String) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
The application's own login page: a path it serves, with a link to
/oauth2/authorization/{registrationId}for each provider. - loginProcessingUrl(String) - Method in class com.codename1.backend.security.FormLoginConfigurer
-
Where the form is posted; the login page's path unless set.
- loginSuccess(HttpServer.Request, Authentication) - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
- loginSuccess(HttpServer.Request, Authentication) - Method in interface com.codename1.backend.security.rememberme.RememberMeServices
-
A user signed in: issues the cookie, if they asked to be remembered.
- LoginUrlAuthenticationEntryPoint - Class in com.codename1.backend.security
-
Sends a request that has to sign in to the login page, with a 302.
- LoginUrlAuthenticationEntryPoint(String) - Constructor for class com.codename1.backend.security.LoginUrlAuthenticationEntryPoint
- logout(HttpServer.Request, Authentication) - Method in interface com.codename1.backend.security.LogoutHandler
- logout(HttpServer.Request, Authentication) - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
-
Signing out forgets the user in every browser they were remembered in, as Spring Security does, and withdraws this browser's cookie.
- logout(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
Sign-out; see
LogoutConfigurer. - LogoutConfigurer - Class in com.codename1.backend.security
-
Sign-out:
POST /logoutends the session, forgets who was signed in and redirects to/login?logout. - LogoutFilter - Class in com.codename1.backend.security
-
Signs the user out when a request asks for it --
POST /logoutunless configured otherwise -- and answers with the chain'sLogoutSuccessHandler. - LogoutHandler - Interface in com.codename1.backend.security
-
Something to undo when a user signs out: a session, a cookie, a stored token.
- logoutRequestMatcher(RequestMatcher) - Method in class com.codename1.backend.security.LogoutConfigurer
-
The requests that sign out, in place of the path and its method rule.
- logoutSuccessHandler(LogoutSuccessHandler) - Method in class com.codename1.backend.security.LogoutConfigurer
-
Answers the sign-out itself, instead of the redirect.
- LogoutSuccessHandler - Interface in com.codename1.backend.security
-
Answers the request that signed a user out.
- logoutSuccessUrl(String) - Method in class com.codename1.backend.security.LogoutConfigurer
-
Where a signed-out user goes.
- logoutUrl(String) - Method in class com.codename1.backend.security.LogoutConfigurer
-
The path that signs out.
- Long - Class in java.lang
-
The Long class wraps a value of the primitive type long in an object.
- Long(long) - Constructor for class java.lang.Long
-
Constructs a newly allocated Long object that represents the primitive long argument.
- LONG - Static variable in class java.text.DateFormat
-
Constant for long style parsing/formatting pattern.
- longBitsToDouble(long) - Static method in class java.lang.Double
-
Returns the double-float corresponding to a given bit representation.
- longValue() - Method in class java.lang.Byte
- longValue() - Method in class java.lang.Double
-
Returns the long value of this Double (by casting to a long).
- longValue() - Method in class java.lang.Float
-
Returns the long value of this Float (by casting to a long).
- longValue() - Method in class java.lang.Integer
-
Returns the value of this Integer as a long.
- longValue() - Method in class java.lang.Long
-
Returns the value of this Long as a long value.
- longValue() - Method in class java.lang.Number
- longValue() - Method in class java.lang.Short
- longValue() - Method in class java.util.concurrent.atomic.AtomicInteger
- longValue() - Method in class java.util.concurrent.atomic.AtomicLong
- longValue(String, long) - Method in class com.codename1.backend.test.HeaderResultMatchers
-
The header's first value is this number.
- lookup() - Static method in class java.lang.invoke.MethodHandles
- Lookup() - Constructor for class java.lang.invoke.MethodHandles.Lookup
- lookupClass() - Method in class java.lang.invoke.MethodHandles.Lookup
- lookupModes() - Method in class java.lang.invoke.MethodHandles.Lookup
- lower(E) - Method in interface java.util.NavigableSet
-
Answers the biggest element less than the specified one, or null if no such element.
- lower(E) - Method in class java.util.TreeSet
-
Answers the biggest element less than the specified one, or null if no such element.
- lowerEntry(K) - Method in interface java.util.NavigableMap
-
Answers an entry related with the biggest key less than the specified key, or null if no such key.
- lowerEntry(K) - Method in class java.util.TreeMap
-
Answers an entry related with the biggest key less than the specified key, or null if no such key.
- lowerKey(K) - Method in interface java.util.NavigableMap
-
Answers the biggest key less than the specified key, or null if no such key.
- lowerKey(K) - Method in class java.util.TreeMap
-
Answers the biggest key less than the specified key, or null if no such key.
- LOWEST_PRECEDENCE - Static variable in annotation type com.codename1.backend.annotations.Order
-
The value of a bean that carries no
@Order. - lt(String, Object) - Method in class com.codename1.backend.orm.Query
-
field < value.
- lt(String, Object) - Method in interface com.codename1.orm.session.Query
-
Adds a less-than predicate.
- lte(String, Object) - Method in class com.codename1.backend.orm.Query
-
field <= value.
M
- MacAlgorithm - Enum in com.codename1.backend.security.oauth2.jose.jws
-
The shared secret algorithms: whoever can verify a token can also make one, so these suit a server checking tokens it issued itself and nothing wider.
- makeConcat(MethodHandles.Lookup, String, MethodType) - Static method in class java.lang.invoke.StringConcatFactory
- makeConcatWithConstants(MethodHandles.Lookup, String, MethodType, String, Object...) - Static method in class java.lang.invoke.StringConcatFactory
- MALFORMED - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The request is not the JSON a ceremony takes, or a field of it is missing or is not what it should be.
- MALFORMED_AUTHENTICATOR_DATA - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The authenticator data is not what the specification lays out.
- MALFORMED_CBOR - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
A CBOR value could not be read: truncated, nested too deep, too large, or of a kind the ceremonies have no use for.
- ManagedAttribute - Annotation Type in com.codename1.backend.annotations
-
A getter of a
ManagedResourcebean published as a gauge. - ManagedOperation - Annotation Type in com.codename1.backend.annotations
-
A method of a
ManagedResourcebean that the management endpoint and the development MCP server can invoke. - ManagedResource - Annotation Type in com.codename1.backend.annotations
-
Publishes this bean's
ManagedAttributegetters as metrics and itsManagedOperationmethods as operations -- the JMX model, over OpenTelemetry. - MANDATORY - Enum constant in enum com.codename1.backend.annotations.Propagation
-
Joins the open transaction, and refuses to run without one.
- ManyToMany - Annotation Type in com.codename1.annotations.db
-
Maps entity collection membership through a join table or an inverse mappedBy field.
- ManyToOne - Annotation Type in com.codename1.annotations.db
-
Maps a single related entity using a foreign key on the owning table.
- map(Function) - Method in interface java.util.stream.Stream
- Map<K,
V> - Interface in java.util -
A
Mapis a data structure consisting of a set of keys and values in which each key is mapped to a single value. - Map.Entry<K,
V> - Interface in java.util -
Map.Entryis a key/value mapping contained in aMap. - MapKey - Annotation Type in com.codename1.annotations.db
-
Uses a target attribute as the key of an entity relationship Map.
- MapKeyColumn - Annotation Type in com.codename1.annotations.db
-
Names the key column of a scalar element-collection Map.
- mappedBy() - Element in annotation type com.codename1.annotations.db.ManyToMany
-
Names the owning Java relationship field on the target entity.
- mappedBy() - Element in annotation type com.codename1.annotations.db.OneToMany
-
Names the owning Java relationship field on the target entity.
- mappedBy() - Element in annotation type com.codename1.annotations.db.OneToOne
-
Names the owning Java relationship field on the target entity.
- MappedSuperclass - Annotation Type in com.codename1.annotations.db
-
Contributes inherited scalar and relationship mappings to concrete entities.
- MARCH - Static variable in class java.util.Calendar
-
Value of the MONTH field indicating the third month of the year.
- MARIADB - Static variable in class com.codename1.backend.sql.Dialect
-
MariaDB, which is the MySQL dialect with one difference: the collation it can name for a text column.
- mark - Variable in class java.io.ByteArrayInputStream
-
The currently marked position in the stream.
- mark(int) - Method in class com.codename1.io.gzip.FilterInputStream
- mark(int) - Method in class com.codename1.io.gzip.InflaterInputStream
- mark(int) - Method in class java.io.ByteArrayInputStream
-
Set the current marked position in the stream.
- mark(int) - Method in class java.io.DataInputStream
-
Marks the current position in this input stream.
- mark(int) - Method in class java.io.InputStream
-
Marks the current position in this input stream.
- mark(int) - Method in class java.io.InputStreamReader
-
Mark the present position in the stream.
- mark(int) - Method in class java.io.Reader
-
Mark the present position in the stream.
- mark(int) - Method in class java.io.StringReader
-
Sets a mark position in this reader.
- markSupported() - Method in class com.codename1.io.gzip.FilterInputStream
- markSupported() - Method in class com.codename1.io.gzip.InflaterInputStream
- markSupported() - Method in class java.io.ByteArrayInputStream
-
Tests if ByteArrayInputStream supports mark/reset.
- markSupported() - Method in class java.io.DataInputStream
-
Tests if this input stream supports the mark and reset methods.
- markSupported() - Method in class java.io.InputStream
-
Tests if this input stream supports the mark and reset methods.
- markSupported() - Method in class java.io.InputStreamReader
-
Tell whether this stream supports the mark() operation.
- markSupported() - Method in class java.io.Reader
-
Tell whether this stream supports the mark() operation.
- markSupported() - Method in class java.io.StringReader
-
Indicates whether this reader supports the
mark()andreset()methods. - match() - Static method in class com.codename1.backend.security.RequestMatcher.MatchResult
- match(MvcResult) - Method in interface com.codename1.backend.test.ResultMatcher
- match(Map) - Static method in class com.codename1.backend.security.RequestMatcher.MatchResult
- matcher(HttpServer.Request) - Method in class com.codename1.backend.security.AntPathRequestMatcher
- matcher(HttpServer.Request) - Method in interface com.codename1.backend.security.RequestMatcher
-
The match with the variables it bound:
{id}in a path pattern. - matches(HttpServer.Request) - Method in class com.codename1.backend.security.AntPathRequestMatcher
- matches(HttpServer.Request) - Method in class com.codename1.backend.security.AnyRequestMatcher
- matches(HttpServer.Request) - Method in class com.codename1.backend.security.DefaultSecurityFilterChain
- matches(HttpServer.Request) - Method in interface com.codename1.backend.security.RequestMatcher
- matches(HttpServer.Request) - Method in interface com.codename1.backend.security.SecurityFilterChain
-
Whether this chain guards
request. - matches(CharSequence, String) - Method in class com.codename1.backend.security.crypto.BCryptPasswordEncoder
- matches(CharSequence, String) - Method in class com.codename1.backend.security.crypto.DelegatingPasswordEncoder
- matches(CharSequence, String) - Method in class com.codename1.backend.security.crypto.NoOpPasswordEncoder
- matches(CharSequence, String) - Method in interface com.codename1.backend.security.crypto.PasswordEncoder
-
Whether
rawPasswordis the passwordencodedPasswordwas made from. - matches(CharSequence, String) - Method in class com.codename1.backend.security.crypto.Pbkdf2PasswordEncoder
- matches(CharSequence, String) - Method in class com.codename1.backend.security.crypto.Pbkdf2Sha256PasswordEncoder
- matchIfMissing() - Element in annotation type com.codename1.backend.annotations.ConditionalOnProperty
-
Whether an unset key counts as a match.
- Math - Class in java.lang
-
The class Math contains methods for performing basic numeric operations.
- Math() - Constructor for class java.lang.Math
- max(double, double) - Static method in class java.lang.Math
-
Returns the greater of two double values.
- max(float, float) - Static method in class java.lang.Math
-
Returns the greater of two float values.
- max(int, int) - Static method in class java.lang.Math
-
Returns the greater of two int values.
- max(long, long) - Static method in class java.lang.Math
-
Returns the greater of two long values.
- max(Collection) - Static method in class java.util.Collections
-
Searches the specified collection for the maximum element.
- max(Collection, Comparator) - Static method in class java.util.Collections
-
Searches the specified collection for the maximum element using the specified comparator.
- MAX_CODE_POINT - Static variable in class java.lang.Character
-
Maximum code point value -
U+10FFFF. - MAX_HIGH_SURROGATE - Static variable in class java.lang.Character
-
Maximum value of a high surrogate or leading surrogate unit in UTF-16 encoding -
'?'. - MAX_LOW_SURROGATE - Static variable in class java.lang.Character
-
Maximum value of a low surrogate or trailing surrogate unit in UTF-16 encoding -
'?'. - MAX_PRIORITY - Static variable in class java.lang.Thread
-
The maximum priority that a thread can have.
- MAX_RADIX - Static variable in class java.lang.Character
-
The maximum radix available for conversion to and from Strings.
- MAX_SURROGATE - Static variable in class java.lang.Character
-
Maximum value of a surrogate unit in UTF-16 encoding -
'?'. - MAX_VALUE - Static variable in class java.lang.Byte
-
The maximum value a Byte can have.
- MAX_VALUE - Static variable in class java.lang.Character
-
The constant value of this field is the largest value of type char.
- MAX_VALUE - Static variable in class java.lang.Double
-
The largest positive finite value of type double.
- MAX_VALUE - Static variable in class java.lang.Float
-
The largest positive value of type float.
- MAX_VALUE - Static variable in class java.lang.Integer
-
The largest value of type int.
- MAX_VALUE - Static variable in class java.lang.Long
-
The largest value of type long.
- MAX_VALUE - Static variable in class java.lang.Short
-
The maximum value a Short can have.
- MAX_WBITS - Static variable in class com.codename1.io.gzip.JZlib
- maxAgeInSeconds(long) - Method in class com.codename1.backend.security.HeadersConfigurer.HstsConfig
-
How long a browser insists on TLS; a year unless set.
- MAY - Static variable in class java.util.Calendar
-
Value of the MONTH field indicating the fifth month of the year.
- McpParam - Annotation Type in com.codename1.backend.annotations
-
Names and describes one parameter of an
McpToolmethod. - McpTool - Annotation Type in com.codename1.backend.annotations
-
Publishes this method of a bean as a tool on the server's MCP endpoint, so an agent can call it.
- md5(byte[]) - Static method in class com.codename1.backend.Crypto
-
MD5, for PostgreSQL's md5 authentication method.
- md5(byte[]) - Static method in class com.codename1.security.Hash
-
One-shot MD5 hash.
- md5(byte[], byte[]) - Static method in class com.codename1.security.Hmac
-
One-shot HMAC-MD5.
- MD5 - Static variable in class com.codename1.security.Hash
-
MD5 algorithm identifier (128-bit digest).
- MediaType - Class in com.codename1.backend.test
-
Media types, for
contentType(...)andaccept(...). - MEDIUM - Static variable in class java.text.DateFormat
-
Constant for medium style parsing/formatting pattern.
- merge(K, V, BiFunction) - Method in interface java.util.Map
-
If the specified key is not already associated with a value or is associated with
null, associates it with the given non-null value. - merge(T) - Method in interface com.codename1.orm.session.Session
-
Copies state into a managed instance, cascading through MERGE associations.
- MERGE - Enum constant in enum com.codename1.annotations.db.CascadeType
-
Merges related entity state.
- messages(String) - Method in class com.codename1.backend.mvc.BindingResult
- metadata(String, RemoteJwkSet.Fetcher) - Static method in class com.codename1.backend.security.oauth2.jwt.JwtDecoders
-
The metadata document of
issuer, checked to be its own. - metafactory(MethodHandles.Lookup, String, MethodType, MethodType, MethodHandle, MethodType) - Static method in class java.lang.invoke.LambdaMetafactory
- method() - Element in annotation type com.codename1.backend.annotations.RequestMapping
-
The HTTP verb, when this is used on a method directly.
- method(String) - Static method in class com.codename1.backend.security.RequestMatchers
-
Matches requests of one method, written as HTTP writes it:
DELETE. - Method - Class in java.lang.reflect
- Method() - Constructor for class java.lang.reflect.Method
- METHOD - Enum constant in enum java.lang.annotation.ElementType
- METHOD_NOT_ALLOWED - Enum constant in enum com.codename1.backend.test.HttpStatus
- MethodHandle - Class in java.lang.invoke
-
Deprecated
- MethodHandle() - Constructor for class java.lang.invoke.MethodHandle
- MethodHandles - Class in java.lang.invoke
-
Deprecated
- MethodHandles() - Constructor for class java.lang.invoke.MethodHandles
- MethodHandles.Lookup - Class in java.lang.invoke
- methodType(Class) - Static method in class java.lang.invoke.MethodType
- methodType(Class, Class) - Static method in class java.lang.invoke.MethodType
- methodType(Class, Class[]) - Static method in class java.lang.invoke.MethodType
- methodType(Class, Class, Class...) - Static method in class java.lang.invoke.MethodType
- methodType(Class, MethodType) - Static method in class java.lang.invoke.MethodType
- methodType(Class, List) - Static method in class java.lang.invoke.MethodType
- MethodType - Class in java.lang.invoke
-
Deprecated
- MethodType() - Constructor for class java.lang.invoke.MethodType
- MetricReader - Interface in com.codename1.backend.metrics
-
Something that reads
Metricsperiodically and sends them somewhere -- the OTLP exporter. - metrics(MetricReader) - Method in class com.codename1.backend.Backend.Builder
-
Exports metrics with this reader, once
openhas read the configuration and agreed to. - metrics(Map) - Method in class com.codename1.backend.otel.OtlpTracer
- metrics(Map) - Method in interface com.codename1.backend.Tracer
-
Adds this tracer's counters to a metrics snapshot.
- Metrics - Class in com.codename1.backend.metrics
-
The server's metrics: every
Instrumentby name, and the ones the server records about itself. - mfa(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
A second factor at sign-in; see
MfaConfigurer. - MfaConfigurer - Class in com.codename1.backend.security
-
A second factor at sign-in.
- MICROSECONDS - Enum constant in enum java.util.concurrent.TimeUnit
-
Millionths of a second.
- MICROSOFT - Enum constant in enum com.codename1.backend.security.oauth2.client.CommonOAuth2Provider
-
Microsoft's identity platform at its multi-tenant
commonendpoints, which accept accounts of any organisation and personal ones. - MIDNIGHT - Static variable in class java.time.LocalTime
- migrate() - Method in class com.codename1.migration.Migrator
-
Applies every migration that has not run yet, in version order, then every repeatable migration whose script changed.
- migrate(DataSource, Config) - Static method in class com.codename1.backend.Migrations
-
Applies every pending migration of every registered set, as start-up does: library sets first, the application's own last, each configured from
cn1.flyway.*. - migrate(MigrationContext) - Method in interface com.codename1.migration.JavaMigration
-
Applies the change.
- MigrateResult - Class in com.codename1.migration
-
What one
Migrator.migrate()call did. - MigrateResult(String, String, List, List) - Constructor for class com.codename1.migration.MigrateResult
-
Creates a result.
- migrateSession() - Method in class com.codename1.backend.security.SessionManagementConfigurer.SessionFixationConfigurer
-
The same as
SessionManagementConfigurer.SessionFixationConfigurer.changeSessionId()here: the attributes move to a new id. - Migration - Annotation Type in com.codename1.annotations.db
-
Marks a
com.codename1.migration.JavaMigrationthe build should register beside the project's SQL migration files. - MigrationContext - Interface in com.codename1.migration
-
What a
JavaMigrationmay do to the database it is migrating. - MigrationException - Exception Class in com.codename1.migration
-
A migration run that was refused or failed.
- MigrationException(int, String) - Constructor for exception class com.codename1.migration.MigrationException
-
Creates a failure of the given kind.
- MigrationException(int, String, Throwable) - Constructor for exception class com.codename1.migration.MigrationException
-
Creates a failure of the given kind, keeping the database error that caused it.
- MigrationInfo - Class in com.codename1.migration
-
One row of
Migrator.info(): a migration this build carries, one the database recorded, or both. - MigrationInfo(String, String, String, String, Integer, MigrationState, int, String, int) - Constructor for class com.codename1.migration.MigrationInfo
-
Creates a row.
- migrations() - Static method in class com.codename1.backend.security.SecuritySchema
-
The set, for
Migrations.register. - migrations(boolean) - Method in class com.codename1.backend.Backend.Builder
-
Whether to apply pending migrations at start-up.
- Migrations - Class in com.codename1.backend
-
Versioned schema migrations for the server's database.
- MigrationSet - Class in com.codename1.migration
-
A named group of migrations with its own history table.
- MigrationSet.Builder - Class in com.codename1.migration
-
Collects the migrations of a set.
- MigrationState - Enum in com.codename1.migration
-
Where one migration stands, as reported by
Migrator.info(). - Migrator - Class in com.codename1.migration
-
Runs one
MigrationSetagainst one database. - millis() - Method in class java.time.Clock
- MILLISECOND - Static variable in class java.util.Calendar
-
Field number for get and set indicating the millisecond within the second.
- MILLISECONDS - Enum constant in enum java.util.concurrent.TimeUnit
-
Thousandths of a second.
- min(double, double) - Static method in class java.lang.Math
-
Returns the smaller of two double values.
- min(float, float) - Static method in class java.lang.Math
-
Returns the smaller of two float values.
- min(int, int) - Static method in class java.lang.Math
-
Returns the smaller of two int values.
- min(long, long) - Static method in class java.lang.Math
-
Returns the smaller of two long values.
- min(Collection) - Static method in class java.util.Collections
-
Searches the specified collection for the minimum element.
- min(Collection, Comparator) - Static method in class java.util.Collections
-
Searches the specified collection for the minimum element using the specified comparator.
- MIN_CODE_POINT - Static variable in class java.lang.Character
-
Minimum code point value -
U+0000. - MIN_HIGH_SURROGATE - Static variable in class java.lang.Character
-
Minimum value of a high surrogate or leading surrogate unit in UTF-16 encoding -
'?'. - MIN_LOW_SURROGATE - Static variable in class java.lang.Character
-
Minimum value of a low surrogate or trailing surrogate unit in UTF-16 encoding -
'?'. - MIN_PRIORITY - Static variable in class java.lang.Thread
-
The minimum priority that a thread can have.
- MIN_RADIX - Static variable in class java.lang.Character
-
The minimum radix available for conversion to and from Strings.
- MIN_SUPPLEMENTARY_CODE_POINT - Static variable in class java.lang.Character
-
Minimum value of a supplementary code point -
U+010000. - MIN_SURROGATE - Static variable in class java.lang.Character
-
Minimum value of a surrogate unit in UTF-16 encoding -
'?'. - MIN_VALUE - Static variable in class java.lang.Byte
-
The minimum value a Byte can have.
- MIN_VALUE - Static variable in class java.lang.Character
-
The constant value of this field is the smallest value of type char.
- MIN_VALUE - Static variable in class java.lang.Double
-
The smallest positive value of type double.
- MIN_VALUE - Static variable in class java.lang.Float
-
The smallest positive value of type float.
- MIN_VALUE - Static variable in class java.lang.Integer
-
The smallest value of type int.
- MIN_VALUE - Static variable in class java.lang.Long
-
The smallest value of type long.
- MIN_VALUE - Static variable in class java.lang.Short
-
The minimum value a Short can have.
- minus(Duration) - Method in class java.time.Duration
- minusDays(long) - Method in class java.time.LocalDate
- minusMillis(long) - Method in class java.time.Instant
- minusSeconds(long) - Method in class java.time.Instant
- MINUTE - Static variable in class java.util.Calendar
-
Field number for get and set indicating the minute within the hour.
- MINUTES - Enum constant in enum java.util.concurrent.TimeUnit
-
Minutes.
- MISSING - Enum constant in enum com.codename1.migration.MigrationState
-
Applied, and no longer carried by this build.
- MissingCsrfTokenException - Exception Class in com.codename1.backend.security
-
The request carried a CSRF token and the server holds none to compare it with -- the session it belonged to is gone -- or carried none at all.
- MissingCsrfTokenException(String) - Constructor for exception class com.codename1.backend.security.MissingCsrfTokenException
- MOCK - Enum constant in enum com.codename1.backend.test.BackendTest.WebEnvironment
-
In process, through
MockMvc: no request crosses a socket. - MockitoBean - Annotation Type in com.codename1.backend.test
-
Replaces every bean of the field's type with a Mockito mock, and injects it:
- MockMultipartFile - Class in com.codename1.backend.test
-
A file part for
MockMvcRequestBuilders.multipart(String, Object...). - MockMultipartFile(String, byte[]) - Constructor for class com.codename1.backend.test.MockMultipartFile
-
A file part named
name, with no filename or content type. - MockMultipartFile(String, String, String, byte[]) - Constructor for class com.codename1.backend.test.MockMultipartFile
-
A file part with the filename and content type a browser would send.
- MockMultipartRequestBuilder - Class in com.codename1.backend.test
-
A
multipart/form-datarequest, fromMockMvcRequestBuilders.multipart(String, Object...): files and fields, encoded as a browser's form post would be. - MockMvc - Class in com.codename1.backend.test
-
Calls a running backend's routes in the same process: no socket, no port, the same answer.
- MockMvc(Backend) - Constructor for class com.codename1.backend.test.MockMvc
-
A client for
backend, which must be running. - MockMvcRequestBuilders - Class in com.codename1.backend.test
-
The requests
MockMvcsends, for static import: - MockMvcResultHandlers - Class in com.codename1.backend.test
-
Handlers for
andDo(...), for static import. - MockMvcResultMatchers - Class in com.codename1.backend.test
-
The expectations
andExpect(...)takes, for static import: - MockRequestBuilder - Class in com.codename1.backend.test
-
One request for
MockMvc, built byMockMvcRequestBuilders. - MockResponse - Class in com.codename1.backend.test
-
What a
MockMvcrequest came back with. - modCount - Variable in class java.util.AbstractList
-
A counter for changes to the list.
- model(HttpServer.Request) - Static method in class com.codename1.backend.mvc.Html
- Model - Class in com.codename1.backend.mvc
-
Request-owned model shared by a controller and its compiled view.
- Model() - Constructor for class com.codename1.backend.mvc.Model
- ModelAndView - Class in com.codename1.backend.mvc
-
A compiled view name and the values supplied to it.
- ModelAndView(String) - Constructor for class com.codename1.backend.mvc.ModelAndView
- ModelAttribute - Annotation Type in com.codename1.backend.annotations
-
Build-time MVC declaration.
- modify(int, int) - Method in class com.codename1.backend.Reactor
- MONDAY - Static variable in class java.util.Calendar
-
Value of the DAY_OF_WEEK field indicating Monday.
- MONTH - Static variable in class java.util.Calendar
-
Field number for get and set indicating the month.
- MOVED_PERMANENTLY - Enum constant in enum com.codename1.backend.test.HttpStatus
- msg - Variable in class com.codename1.io.gzip.ZStream
-
Deprecated.
- multipart(String, Object...) - Static method in class com.codename1.backend.test.MockMvcRequestBuilders
-
A
multipart/form-dataPOST, built withfile(...)andparam(...). - MULTIPART_FORM_DATA - Static variable in class com.codename1.backend.test.MediaType
- MULTIPART_FORM_DATA_VALUE - Static variable in class com.codename1.backend.test.MediaType
- MvcResult - Class in com.codename1.backend.test
-
One
MockMvcexchange: what was sent and what came back. - mydeflater - Variable in class com.codename1.io.gzip.DeflaterOutputStream
- myinflater - Variable in class com.codename1.io.gzip.InflaterInputStream
- MySql - Class in com.codename1.backend.sql
-
A MySQL client speaking the client/server protocol directly, for the same reason as
Postgres: a translated server binary has no JDBC. - MYSQL - Static variable in class com.codename1.backend.sql.Dialect
N
- name() - Element in annotation type com.codename1.annotations.Column
-
Column name.
- name() - Element in annotation type com.codename1.annotations.db.Index
-
Names the database index.
- name() - Element in annotation type com.codename1.annotations.db.JoinColumn
-
Names the foreign key column on the owning table.
- name() - Element in annotation type com.codename1.annotations.db.JoinTable
-
Names the table storing association membership.
- name() - Element in annotation type com.codename1.annotations.db.MapKey
-
Selects the target entity attribute used as keys in a relationship Map.
- name() - Element in annotation type com.codename1.annotations.db.MapKeyColumn
-
Names the column storing keys for a scalar element-collection Map.
- name() - Element in annotation type com.codename1.annotations.db.OrderColumn
-
Stores positions for an owning List in its join table.
- name() - Element in annotation type com.codename1.backend.annotations.ConditionalOnProperty
-
Same as
ConditionalOnProperty.value(); Spring accepts either. - name() - Element in annotation type com.codename1.backend.annotations.McpTool
-
The tool's name.
- name() - Method in class java.lang.Enum
- NAME - Static variable in class com.codename1.backend.security.SecuritySchema
-
The name of the set.
- names() - Method in class com.codename1.backend.test.HttpHeaders
-
The names as they were first given, in order.
- NaN - Static variable in class java.lang.Double
-
A Not-a-Number (NaN) value of type double.
- NaN - Static variable in class java.lang.Float
-
The Not-a-Number (NaN) value of type float.
- NANOSECONDS - Enum constant in enum java.util.concurrent.TimeUnit
-
Billionths of a second.
- nanoTime() - Static method in class java.lang.System
-
Returns the current value of the running Java Virtual Machine's high-resolution time source, in nanoseconds.
- navigableKeySet() - Method in interface java.util.NavigableMap
-
Answers a NavigableSet view of the keys in ascending order.
- navigableKeySet() - Method in class java.util.TreeMap
-
Answers a NavigableSet view of the keys in ascending order.
- NavigableMap<K,
V> - Interface in java.util -
NavigableMap is a SortedMap with navigation methods answering the closest matches for specified item.
- NavigableSet<E> - Interface in java.util
-
NavigableSet is a SortedSet with navigation methods answering the closest matches for specified item.
- NBF - Static variable in class com.codename1.backend.security.oauth2.jwt.JwtClaimNames
-
When the token starts being valid, in seconds since the epoch.
- nCopies(int, T) - Static method in class java.util.Collections
-
Returns a list containing the specified number of the specified element.
- ne(String, Object) - Method in class com.codename1.backend.orm.Query
-
field <> value, or field IS NOT NULL when the value is null.
- ne(String, Object) - Method in interface com.codename1.orm.session.Query
-
Adds an inequality predicate; null matches SQL IS NOT NULL.
- needsAuthentication() - Method in interface com.codename1.backend.security.ratelimit.RateLimitKeyResolver
-
Whether the key is known only once the request has been authenticated.
- NEGATIVE_INFINITY - Static variable in class java.lang.Double
-
The negative infinity of type double.
- NEGATIVE_INFINITY - Static variable in class java.lang.Float
-
The negative infinity of type float.
- NegativeArraySizeException - Exception Class in java.lang
-
Thrown if an application tries to create an array with negative size.
- NegativeArraySizeException() - Constructor for exception class java.lang.NegativeArraySizeException
-
Constructs a NegativeArraySizeException with no detail message.
- NegativeArraySizeException(String) - Constructor for exception class java.lang.NegativeArraySizeException
-
Constructs a NegativeArraySizeException with the specified detail message.
- negotiatedProtocol(long) - Static method in class com.codename1.backend.Tls
-
The protocol ALPN settled on: "h2", "http/1.1", or null.
- NESTED - Enum constant in enum com.codename1.backend.annotations.Propagation
-
Runs in a savepoint of the open transaction, which a failure rolls back to without failing the outer transaction; opens one when none is open.
- NEVER - Enum constant in enum com.codename1.backend.annotations.Propagation
-
Refuses to run inside a transaction.
- NEVER - Enum constant in enum com.codename1.backend.security.SessionCreationPolicy
-
The chain never starts a session and uses one that is already there.
- newInstance() - Method in class com.codename1.backend.orm.EntityDefinition
-
A new, empty instance.
- newInstance() - Method in class java.lang.Class
-
Creates a new instance of a class.
- newInstance(Class, int) - Static method in class java.lang.reflect.Array
- newInstance(Class, int[]) - Static method in class java.lang.reflect.Array
- newSession() - Method in class com.codename1.backend.security.SessionManagementConfigurer.SessionFixationConfigurer
-
Ends the session and starts an empty one.
- newSetFromMap(Map) - Static method in class java.util.Collections
-
Answers a set backed by a map.
- next() - Method in interface java.util.Iterator
-
Returns the next object in the iteration, i.e.
- next() - Method in interface java.util.ListIterator
-
Returns the next object in the iteration.
- next(int) - Method in class java.util.Random
-
Generates the next pseudorandom number.
- nextAfter(double, double) - Static method in class java.lang.Math
- nextAfter(float, double) - Static method in class java.lang.Math
- nextBoolean() - Method in class java.util.Random
- nextBytes(byte[]) - Method in class java.util.Random
- nextClearBit(int) - Method in class java.util.BitSet
-
Returns the position of the first bit that is
falseon or afterpos. - nextDouble() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed double value between 0.0 and 1.0 from this random number generator's sequence.
- nextDouble(double) - Method in class java.util.concurrent.ThreadLocalRandom
- nextDouble(double, double) - Method in class java.util.concurrent.ThreadLocalRandom
- nextDown(double) - Static method in class java.lang.Math
- nextElement() - Method in interface java.util.Enumeration
-
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
- nextElement() - Method in class java.util.StringTokenizer
-
Returns the next token in the string as an
Object. - nextFloat() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed float value between 0.0 and 1.0 from this random number generator's sequence.
- nextIn - Variable in class com.codename1.io.gzip.ZStream
-
Deprecated.
- nextIndex() - Method in interface java.util.ListIterator
-
Returns the index of the next object in the iteration.
- nextInIndex - Variable in class com.codename1.io.gzip.ZStream
-
Deprecated.
- nextInt() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence.
- nextInt(int) - Method in class java.util.Random
-
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.
- nextInt(int, int) - Method in class java.util.concurrent.ThreadLocalRandom
- nextLong() - Method in class java.util.Random
-
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence.
- nextLong(long) - Method in class java.util.concurrent.ThreadLocalRandom
- nextLong(long, long) - Method in class java.util.concurrent.ThreadLocalRandom
- nextOut - Variable in class com.codename1.io.gzip.ZStream
-
Deprecated.
- nextOutIndex - Variable in class com.codename1.io.gzip.ZStream
-
Deprecated.
- nextRequest() - Method in class com.codename1.backend.Http2
-
The next completed request, or null.
- nextSetBit(int) - Method in class java.util.BitSet
-
Returns the position of the first bit that is
trueon or afterpos. - nextToken() - Method in class java.util.StringTokenizer
-
Returns the next token in the string as a
String. - nextToken(String) - Method in class java.util.StringTokenizer
-
Returns the next token in the string as a
String. - NO_CHALLENGE - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
No ceremony was waiting in this session, or it had been used already.
- NO_CONTENT - Enum constant in enum com.codename1.backend.test.HttpStatus
- NoClassDefFoundError - Exception Class in java.lang
-
Thrown if the Java Virtual Machine tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
- NoClassDefFoundError() - Constructor for exception class java.lang.NoClassDefFoundError
-
Constructs a NoClassDefFoundError with no detail message.
- NoClassDefFoundError(String) - Constructor for exception class java.lang.NoClassDefFoundError
-
Constructs a NoClassDefFoundError with the specified detail message.
- NON_EMPTY_SCHEMA - Static variable in exception class com.codename1.migration.MigrationException
-
The database has tables and no history, and no baseline was requested.
- none() - Method in class com.codename1.backend.security.SessionManagementConfigurer.SessionFixationConfigurer
-
Leaves the session as it is.
- NONE - Enum constant in enum com.codename1.backend.test.BackendTest.WebEnvironment
-
The beans only; the test makes no requests.
- NONE - Enum constant in enum com.codename1.orm.session.LockMode
-
Performs ordinary reads without requesting a row lock.
- NONE - Static variable in class com.codename1.backend.security.oauth2.core.ClientAuthenticationMethod
-
No secret: a public client, which proves itself with PKCE.
- noneMatch(Predicate) - Method in interface java.util.stream.Stream
- nonNull(Object) - Static method in class java.util.Objects
- NoOpPasswordEncoder - Class in com.codename1.backend.security.crypto
-
Stores a password as it is:
{noop}secret. - NORM_PRIORITY - Static variable in class java.lang.Thread
-
The default priority that is assigned to a thread.
- normalize() - Method in class java.net.URI
-
Normalize a URI by removing any "./" segments, and "path/../" segments.
- noRollbackFor() - Element in annotation type com.codename1.backend.annotations.Transactional
-
Exception types that commit even though they would roll back.
- NoSuchElementException - Exception Class in java.util
-
Thrown by the nextElement method of an Enumeration to indicate that there are no more elements in the enumeration.
- NoSuchElementException() - Constructor for exception class java.util.NoSuchElementException
-
Constructs a NoSuchElementException with null as its error message string.
- NoSuchElementException(String) - Constructor for exception class java.util.NoSuchElementException
-
Constructs a NoSuchElementException, saving a reference to the error message string s for later retrieval by the getMessage method.
- NoSuchFieldError - Exception Class in java.lang
-
Thrown when the virtual machine notices that a program tries to reference, on a class or object, a field that does not exist.
- NoSuchFieldError() - Constructor for exception class java.lang.NoSuchFieldError
-
Constructs a new
NoSuchFieldErrorthat includes the current stack trace. - NoSuchFieldError(String) - Constructor for exception class java.lang.NoSuchFieldError
-
Constructs a new
NoSuchFieldErrorwith the current stack trace and the specified detail message. - not(RequestMatcher) - Static method in class com.codename1.backend.security.RequestMatchers
-
Matches when
matcherdoes not. - NOT_ACCEPTABLE - Enum constant in enum com.codename1.backend.test.HttpStatus
- NOT_FOUND - Enum constant in enum com.codename1.backend.test.HttpStatus
- NOT_IMPLEMENTED - Enum constant in enum com.codename1.backend.test.HttpStatus
- NOT_MODIFIED - Enum constant in enum com.codename1.backend.test.HttpStatus
- NOT_SUPPORTED - Enum constant in enum com.codename1.backend.annotations.Propagation
-
Suspends the open transaction, if any, and runs without one.
- notBefore(long) - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet.Builder
-
nbf, in seconds since the epoch. - notify() - Method in class java.lang.Object
-
Wakes up a single thread that is waiting on this object's monitor.
- notifyAll() - Method in class java.lang.Object
-
Wakes up all threads that are waiting on this object's monitor.
- notifyObservers() - Method in class java.util.Observable
-
If
hasChanged()returnstrue, calls theupdate()method for every observer in the list of observers using null as the argument. - notifyObservers(Object) - Method in class java.util.Observable
-
If
hasChanged()returnstrue, calls theupdate()method for every Observer in the list of observers using the specified argument. - notMatch() - Static method in class com.codename1.backend.security.RequestMatcher.MatchResult
- NOVEMBER - Static variable in class java.util.Calendar
-
Value of the MONTH field indicating the eleventh month of the year.
- now() - Static method in class java.time.Instant
- now() - Static method in class java.time.LocalDate
- now() - Static method in class java.time.LocalDateTime
- now() - Static method in class java.time.LocalTime
- now() - Static method in class java.time.ZonedDateTime
- now(Clock) - Static method in class java.time.LocalDate
- now(Clock) - Static method in class java.time.LocalDateTime
- now(Clock) - Static method in class java.time.LocalTime
- now(Clock) - Static method in class java.time.ZonedDateTime
- nullable() - Element in annotation type com.codename1.annotations.Column
-
When false the column gets a
NOT NULLconstraint at table-create time. - nullable() - Element in annotation type com.codename1.annotations.db.JoinColumn
-
Allows a null foreign key, subject to the association optional setting.
- NullPointerException - Exception Class in java.lang
-
Thrown when an application attempts to use null in a case where an object is required.
- NullPointerException() - Constructor for exception class java.lang.NullPointerException
-
Constructs a NullPointerException with no detail message.
- NullPointerException(String) - Constructor for exception class java.lang.NullPointerException
-
Constructs a NullPointerException with the specified detail message.
- NullRequestCache - Class in com.codename1.backend.security
-
Remembers nothing.
- NullRequestCache() - Constructor for class com.codename1.backend.security.NullRequestCache
- NullSecurityContextRepository - Class in com.codename1.backend.security
-
Keeps nothing: every request authenticates itself.
- NullSecurityContextRepository() - Constructor for class com.codename1.backend.security.NullSecurityContextRepository
- Number - Class in java.lang
- Number() - Constructor for class java.lang.Number
- NumberFormatException - Exception Class in java.lang
-
Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
- NumberFormatException() - Constructor for exception class java.lang.NumberFormatException
-
Constructs a NumberFormatException with no detail message.
- NumberFormatException(String) - Constructor for exception class java.lang.NumberFormatException
-
Constructs a NumberFormatException with the specified detail message.
- numberOfLeadingZeros(int) - Static method in class java.lang.Integer
O
- OAuth2AccessTokenResponse - Class in com.codename1.backend.security.oauth2.client
-
What a token endpoint answered a successful exchange with.
- OAuth2AccessTokenResponse(Map) - Constructor for class com.codename1.backend.security.oauth2.client.OAuth2AccessTokenResponse
- OAuth2AccessTokenResponseClient - Interface in com.codename1.backend.security.oauth2.client
-
Exchanges an authorization code for tokens at the provider's token endpoint.
- OAuth2AuthenticationException - Exception Class in com.codename1.backend.security.oauth2.core
-
An authentication that failed for a reason OAuth 2.0 has a code for.
- OAuth2AuthenticationException(OAuth2Error) - Constructor for exception class com.codename1.backend.security.oauth2.core.OAuth2AuthenticationException
- OAuth2AuthenticationException(OAuth2Error, String) - Constructor for exception class com.codename1.backend.security.oauth2.core.OAuth2AuthenticationException
- OAuth2AuthenticationException(OAuth2Error, String, Throwable) - Constructor for exception class com.codename1.backend.security.oauth2.core.OAuth2AuthenticationException
- OAuth2AuthenticationToken - Class in com.codename1.backend.security.oauth2.client
-
A user who signed in through an identity provider.
- OAuth2AuthenticationToken(OAuth2User, Collection, String) - Constructor for class com.codename1.backend.security.oauth2.client.OAuth2AuthenticationToken
- OAuth2Authorization - Class in com.codename1.backend.security.oauth2.server.authorization
-
One grant: a user -- or, for the device grant, nobody yet -- having let one client act with some scopes.
- OAuth2Authorization(String, String, String, String, Collection, String, Map, long, long) - Constructor for class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
- OAuth2AuthorizationEndpointFilter - Class in com.codename1.backend.security
-
Answers the endpoints of an authorization server a user must be signed in for: the authorization endpoint and the device verification page.
- OAuth2AuthorizationRequest - Class in com.codename1.backend.security.oauth2.client
-
One user being sent to an identity provider: where to, and the three values that tie the provider's answer back to this browser -- the
state, thenoncethe ID token must repeat, and the PKCE verifier whose hash went with the request. - OAuth2AuthorizationRequest.Builder - Class in com.codename1.backend.security.oauth2.client
-
Builds an
OAuth2AuthorizationRequest. - OAuth2AuthorizationRequestRedirectFilter - Class in com.codename1.backend.security
-
Starts a sign-in at an identity provider: keeps the request this browser is sent away with, and redirects it to the provider.
- OAuth2AuthorizationRequestResolver - Interface in com.codename1.backend.security.oauth2.client
-
Decides whether a request starts a sign-in at an identity provider, and what is asked of the provider when it does.
- OAuth2AuthorizationServer - Class in com.codename1.backend.security.oauth2.server.authorization
-
The endpoints of an authorization server, each a method that takes a request and answers it.
- OAuth2AuthorizationServer(AuthorizationServerSettings, String, String, RegisteredClientRepository, OAuth2AuthorizationService, JwkSource, JwtEncoder, PasswordEncoder, OAuth2TokenCustomizer, OidcUserInfoMapper, RateLimiter, int, long, Clock) - Constructor for class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationServer
- OAuth2AuthorizationServerFilter - Class in com.codename1.backend.security
-
Answers the endpoints of an authorization server that a client calls as itself: the token, revocation, device authorization, JWK Set, user info and metadata endpoints.
- OAuth2AuthorizationService - Interface in com.codename1.backend.security.oauth2.server.authorization
-
Where an authorization server keeps the grants it has made and the secrets it issued under them.
- OAuth2AuthorizationService.StoredToken - Class in com.codename1.backend.security.oauth2.server.authorization
-
One stored secret, as
OAuth2AuthorizationService.findToken(String, String)reports it. - OAuth2AuthorizationValidator - Class in com.codename1.backend.security.oauth2.server.authorization
-
Checks a signed access token against its live authorization grant, including client-credentials grants.
- OAuth2AuthorizationValidator(OAuth2AuthorizationService, String) - Constructor for class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationValidator
- OAuth2Error - Class in com.codename1.backend.security.oauth2.core
-
Why something OAuth 2.0 was refused: a code from the specification that defines it, and optionally a sentence for a person and an address to read more at.
- OAuth2Error(String) - Constructor for class com.codename1.backend.security.oauth2.core.OAuth2Error
- OAuth2Error(String, String, String) - Constructor for class com.codename1.backend.security.oauth2.core.OAuth2Error
- OAuth2ErrorCodes - Class in com.codename1.backend.security.oauth2.core
-
The error codes this layer answers with: those of RFC 6749, RFC 6750, RFC 7009 and RFC 8628, and the ones a sign-in through another provider fails with.
- oauth2Login(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
Sign-in through another identity provider, with OAuth2 or OpenID Connect; see
OAuth2LoginConfigurer. - OAuth2LoginAuthenticationFilter - Class in com.codename1.backend.security
-
Ends a sign-in at an identity provider: takes the provider's answer at
/login/oauth2/code/{registrationId}, holds it to the request this browser was sent away with, exchanges the code, verifies the ID token and signs the user in. - OAuth2LoginConfigurer - Class in com.codename1.backend.security
-
Sign-in through another identity provider, with OAuth2 or OpenID Connect.
- OAuth2Parameters - Class in com.codename1.backend.security.oauth2.core
-
The small pieces of text an OAuth2 exchange is made of: a form, a query, a list of scopes, a random value, a PKCE challenge.
- oauth2ResourceServer(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
Sign-in with a bearer token that is a JWT; see
OAuth2ResourceServerConfigurer. - OAuth2ResourceServerConfigurer - Class in com.codename1.backend.security
-
Sign-in with a bearer token on each request: the routes under the chain are an OAuth 2.0 resource server, and the token is a JWT.
- OAuth2ResourceServerConfigurer.JwtConfigurer - Class in com.codename1.backend.security
-
How the JWTs of a resource server are verified and read.
- OAuth2TokenContext - Class in com.codename1.backend.security.oauth2.server.authorization
-
One token about to be signed, as an
OAuth2TokenCustomizersees it. - OAuth2TokenCustomizer - Interface in com.codename1.backend.security.oauth2.server.authorization
-
Changes the claims of the tokens an authorization server signs: adds the user's roles to an access token, a tenant to an ID token.
- OAuth2TokenValidator<T> - Interface in com.codename1.backend.security.oauth2.core
-
One check a token is put to after its signature has verified: is it still in date, is it from the issuer this server trusts, is it meant for this server.
- OAuth2TokenValidatorResult - Class in com.codename1.backend.security.oauth2.core
-
What an
OAuth2TokenValidatorfound: nothing, or the errors. - OAuth2User - Interface in com.codename1.backend.security.oauth2.client
-
A user as an identity provider described them.
- OAuth2UserRequest - Class in com.codename1.backend.security.oauth2.client
-
What an
OAuth2UserServiceis asked with: the provider the user signed in through, and the tokens it issued. - OAuth2UserRequest(ClientRegistration, OAuth2AccessTokenResponse) - Constructor for class com.codename1.backend.security.oauth2.client.OAuth2UserRequest
- OAuth2UserRequest(ClientRegistration, OAuth2AccessTokenResponse, Collection) - Constructor for class com.codename1.backend.security.oauth2.client.OAuth2UserRequest
-
The scopes actually sent in this authorization request, after customization.
- OAuth2UserService<R,
U> - Interface in com.codename1.backend.security.oauth2.client -
Makes the user of a sign-in through an identity provider.
- Object - Class in java.lang
-
Class Object is the root of the class hierarchy.
- Object() - Constructor for class java.lang.Object
- ObjectInfo() - Constructor for class com.codename1.backend.aws.S3.ObjectInfo
- objectName() - Element in annotation type com.codename1.backend.annotations.ManagedResource
-
The prefix the metrics are named under.
- Objects - Class in java.util
-
This is a compatibility class which supports the java.util.Objects API.
- Objects() - Constructor for class java.util.Objects
- Observable - Class in java.util
-
Observable is used to notify a group of Observer objects when a change occurs.
- Observable() - Constructor for class java.util.Observable
-
Constructs a new
Observableobject. - Observer - Interface in java.util
-
Observeris the interface to be implemented by objects that receive notification of updates on anObservableobject. - OCT - Static variable in class com.codename1.backend.security.crypto.Jwk
-
The key type of a shared secret.
- OCTOBER - Static variable in class java.util.Calendar
-
Value of the MONTH field indicating the tenth month of the year.
- of(int, int) - Static method in class java.time.LocalTime
- of(int, int, int) - Static method in class java.time.LocalDate
- of(int, int, int) - Static method in class java.time.LocalTime
- of(int, int, int) - Static method in class java.time.Period
- of(int, int, int, int) - Static method in class java.time.LocalTime
- of(int, int, int, int, int) - Static method in class java.time.LocalDateTime
- of(int, int, int, int, int, int) - Static method in class java.time.LocalDateTime
- of(int, int, int, int, int, int, int) - Static method in class java.time.LocalDateTime
- of(long, byte[]) - Static method in class com.codename1.backend.security.webauthn.CoseKey
-
The key read from stored bytes: what
CoseKey.getPublicKey()returned. - of(Database) - Static method in class com.codename1.backend.DataSource
-
A pool of one around a connection somebody else opened, for code that has a
Databasealready and wants the pooled API around it. - of(Database) - Static method in class com.codename1.backend.Migrations
-
A migrator for the application's own set over one connection the caller owns.
- of(Database, MigrationSet) - Static method in class com.codename1.backend.Migrations
-
A migrator for a specific set over one connection the caller owns.
- of(DataSource) - Static method in class com.codename1.backend.Migrations
-
A migrator for the application's own set.
- of(DataSource, MigrationSet) - Static method in class com.codename1.backend.Migrations
-
A migrator for a specific set.
- of(Db) - Static method in class com.codename1.backend.Database
-
Wraps an already-open SQLite handle, for code that opened one directly.
- of(Jwk...) - Static method in class com.codename1.backend.security.crypto.JwkSet
-
A set of these keys, the one to sign with first.
- of(Object...) - Static method in class com.codename1.orm.session.Identifier
-
Creates a composite identifier, normalizing scalar storage representations.
- of(String) - Static method in enum com.codename1.backend.security.oauth2.client.CommonOAuth2Provider
-
The provider of this name, in any case, or null.
- of(String) - Static method in class java.time.ZoneId
- of(String) - Static method in class java.time.ZoneOffset
- of(LocalDate, LocalTime) - Static method in class java.time.LocalDateTime
- of(LocalDate, LocalTime, ZoneId) - Static method in class java.time.ZonedDateTime
- of(LocalDate, LocalTime, ZoneOffset) - Static method in class java.time.OffsetDateTime
- of(LocalDateTime, ZoneId) - Static method in class java.time.ZonedDateTime
- of(LocalDateTime, ZoneOffset) - Static method in class java.time.OffsetDateTime
- of(List) - Static method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerKeys
-
A source of exactly these keys, the signing one first.
- of(Properties, String) - Static method in class com.codename1.backend.Config
-
A configuration with no files behind it, holding exactly what it is given.
- of(T) - Static method in interface java.util.stream.Stream
- of(T...) - Static method in interface java.util.stream.Stream
- of(V) - Static method in class com.codename1.backend.AsyncResult
-
A result holding
value. - ofDays(int) - Static method in class java.time.Period
- ofDays(long) - Static method in class java.time.Duration
- ofEpochDay(long) - Static method in class java.time.LocalDate
- ofEpochMilli(long) - Static method in class java.time.Instant
- ofEpochSecond(long) - Static method in class java.time.Instant
- ofEpochSecond(long, long) - Static method in class java.time.Instant
- offer(E) - Method in class java.util.ArrayDeque
-
Inserts the element at the tail of the deque.
- offer(E) - Method in class java.util.LinkedList
- offer(E) - Method in class java.util.PriorityQueue
-
Inserts the element to the priority queue.
- offer(E) - Method in interface java.util.Queue
-
Inserts the specified element into the queue provided that the condition allows such an operation.
- offerFirst(E) - Method in class java.util.ArrayDeque
-
Inserts an element at the head of this deque unless it would violate size limit.
- offerFirst(E) - Method in interface java.util.Deque
-
Inserts an element at the head of this deque unless it would violate size limit.
- offerFirst(E) - Method in class java.util.LinkedList
-
Inserts an element at the head of this deque unless it would violate size limit.
- offerLast(E) - Method in class java.util.ArrayDeque
-
Inserts an element at the tail of this deque unless it would violate size limit.
- offerLast(E) - Method in interface java.util.Deque
-
Inserts an element at the tail of this deque unless it would violate size limit.
- offerLast(E) - Method in class java.util.LinkedList
-
Inserts an element at the tail of this deque unless it would violate size limit.
- offset(int) - Method in class com.codename1.backend.orm.Query
-
Skips this many rows.
- offset(int) - Method in interface com.codename1.orm.session.JpqlQuery
-
Sets the number of selected results to skip.
- offset(int) - Method in interface com.codename1.orm.session.Query
-
Sets the number of leading results to skip.
- offsetByCodePoints(char[], int, int, int, int) - Static method in class java.lang.Character
-
Determines the index into the
char[]that is offset (measured in code points and specified bycodePointOffset), from theindexargument and is within the subsequence as delineated bystartandcount. - offsetByCodePoints(CharSequence, int, int) - Static method in class java.lang.Character
-
Determines the index into the
CharSequencethat is offset (measured in code points and specified bycodePointOffset), from theindexargument. - OffsetDateTime - Class in java.time
- ofHours(int) - Static method in class java.time.ZoneOffset
- ofHours(long) - Static method in class java.time.Duration
- ofHoursMinutes(int, int) - Static method in class java.time.ZoneOffset
- ofInstant(Instant, ZoneId) - Static method in class java.time.LocalDateTime
- ofInstant(Instant, ZoneId) - Static method in class java.time.OffsetDateTime
- ofInstant(Instant, ZoneId) - Static method in class java.time.ZonedDateTime
- ofKeyPair(byte[], byte[]) - Static method in class com.codename1.backend.security.crypto.Jwk
-
A key that signs and verifies, from a PKCS#8 private key and its SubjectPublicKeyInfo.
- ofMillis(long) - Static method in class java.time.Duration
- ofMinutes(long) - Static method in class java.time.Duration
- ofMonths(int) - Static method in class java.time.Period
- ofNanoOfDay(long) - Static method in class java.time.LocalTime
- ofPattern(String) - Static method in class java.time.format.DateTimeFormatter
- ofPattern(String, Locale) - Static method in class java.time.format.DateTimeFormatter
- ofPem(String) - Static method in class com.codename1.backend.security.crypto.Jwk
-
The key in a PEM text: a private key of any of the forms
KeyFilesreads, or a public key. - ofPrivateKey(byte[]) - Static method in class com.codename1.backend.security.crypto.Jwk
-
A key that signs and verifies, from a PKCS#8 private key that holds its public half; see
Der.publicKeyOf(byte[]). - ofPublicKey(byte[]) - Static method in class com.codename1.backend.security.crypto.Jwk
-
A key that verifies, from a SubjectPublicKeyInfo.
- ofSecondOfDay(long) - Static method in class java.time.LocalTime
- ofSeconds(long) - Static method in class java.time.Duration
- ofSeconds(long, long) - Static method in class java.time.Duration
- ofSecret(byte[]) - Static method in class com.codename1.backend.security.crypto.Jwk
-
A shared secret, for the HMAC algorithms.
- ofTotalSeconds(int) - Static method in class java.time.ZoneOffset
- ofYears(int) - Static method in class java.time.Period
- oidc() - Method in class com.codename1.backend.security.oauth2.client.LinkingOAuth2UserService
-
This service for a provider with OpenID Connect.
- OidcIdTokenDecoderFactory - Class in com.codename1.backend.security.oauth2.client
-
Makes, and keeps, the decoder that verifies the ID tokens of one registration.
- OidcIdTokenDecoderFactory() - Constructor for class com.codename1.backend.security.oauth2.client.OidcIdTokenDecoderFactory
- OidcIdTokenDecoderFactory(RemoteJwkSet.Fetcher) - Constructor for class com.codename1.backend.security.oauth2.client.OidcIdTokenDecoderFactory
- OidcUser - Interface in com.codename1.backend.security.oauth2.client
-
A user an OpenID Connect provider vouched for with an ID token.
- oidcUserInfoEndpoint(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings.Builder
- OidcUserInfoMapper - Interface in com.codename1.backend.security.oauth2.server.authorization
-
What an authorization server says of a user: the claims of the
/userinfoanswer and of an ID token, beyondsub. - OidcUserRequest - Class in com.codename1.backend.security.oauth2.client
-
An
OAuth2UserRequestfor a provider that also issued an ID token, which has been verified by the time a service sees it. - OidcUserRequest(ClientRegistration, OAuth2AccessTokenResponse, Jwt) - Constructor for class com.codename1.backend.security.oauth2.client.OidcUserRequest
- OidcUserRequest(ClientRegistration, OAuth2AccessTokenResponse, Jwt, Collection) - Constructor for class com.codename1.backend.security.oauth2.client.OidcUserRequest
-
Includes the scopes actually sent, after authorization request customization.
- oidcUserService(OAuth2UserService) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
What makes the user of an OpenID Connect provider.
- OidcUserService - Class in com.codename1.backend.security.oauth2.client
-
The user of an OpenID Connect provider: the claims of the verified ID token, and -- when the registration names a user info address and a scope that has claims there was granted -- what that address adds to them.
- OidcUserService() - Constructor for class com.codename1.backend.security.oauth2.client.OidcUserService
- OK - Enum constant in enum com.codename1.backend.test.HttpStatus
- onAuthenticationFailure(HttpServer.Request, AuthenticationException) - Method in interface com.codename1.backend.security.AuthenticationFailureHandler
- onAuthenticationFailure(HttpServer.Request, AuthenticationException) - Method in class com.codename1.backend.security.SimpleUrlAuthenticationFailureHandler
- onAuthenticationSuccess(HttpServer.Request, Authentication) - Method in interface com.codename1.backend.security.AuthenticationSuccessHandler
- onAuthenticationSuccess(HttpServer.Request, Authentication) - Method in class com.codename1.backend.security.SavedRequestAwareAuthenticationSuccessHandler
- onBinary(WebSocketSession, byte[], int, int) - Method in interface com.codename1.backend.WebSocket
-
A whole binary message.
- onClose(WebSocketSession, int, String) - Method in interface com.codename1.backend.WebSocket
-
The connection is finished, for any reason, exactly once per session.
- onClose(Runnable) - Method in interface java.util.stream.BaseStream
- onError(WebSocketSession, Exception) - Method in interface com.codename1.backend.WebSocket
-
Something went wrong: a protocol violation by the peer, an I/O failure, or an exception thrown by one of the callbacks above.
- ONESHOT - Static variable in class com.codename1.backend.Reactor
-
Deliver an event for this descriptor ONCE and then disarm it, until
Reactor.modify(int, int)re-arms it. - OneToMany - Annotation Type in com.codename1.annotations.db
-
Maps a collection of related entities using a join table or an inverse mappedBy field.
- OneToOne - Annotation Type in com.codename1.annotations.db
-
Maps a single related entity with a unique owning foreign key, or an inverse mappedBy field.
- onLogoutSuccess(HttpServer.Request, Authentication) - Method in class com.codename1.backend.security.HttpStatusReturningLogoutSuccessHandler
- onLogoutSuccess(HttpServer.Request, Authentication) - Method in interface com.codename1.backend.security.LogoutSuccessHandler
- onLogoutSuccess(HttpServer.Request, Authentication) - Method in class com.codename1.backend.security.SimpleUrlLogoutSuccessHandler
- onOpen(WebSocketSession) - Method in interface com.codename1.backend.WebSocket
-
The handshake is done and the 101 is on the wire.
- onPing(WebSocketSession, byte[], int, int) - Method in interface com.codename1.backend.WebSocket
-
A PING arrived.
- onPong(WebSocketSession, byte[], int, int) - Method in interface com.codename1.backend.WebSocket
-
A PONG arrived, answering a
WebSocketSession.sendPing(byte[], int, int). - onShutdown(Runnable) - Static method in class com.codename1.backend.Signals
-
Runs body on a dedicated thread when a shutdown signal arrives.
- onText(WebSocketSession, String) - Method in interface com.codename1.backend.WebSocket
-
A whole text message, reassembled from however many frames carried it, and already validated as UTF-8.
- open(Config) - Method in interface com.codename1.backend.metrics.MetricReader
-
Reads the configuration and starts.
- open(Config) - Method in class com.codename1.backend.otel.OtlpMetricExporter
- open(Config) - Method in class com.codename1.backend.otel.OtlpTracer
- open(Config) - Method in interface com.codename1.backend.Tracer
-
Reads the settings and starts whatever exports spans.
- open(Config, String) - Static method in class com.codename1.backend.otel.OtlpTracer
-
A tracer opened against
config, or null when the configuration turns tracing off. - open(Database) - Static method in class com.codename1.backend.orm.EntityManager
-
An entity manager over one connection.
- open(DataSource) - Static method in class com.codename1.backend.orm.EntityManager
-
An entity manager over a pool, which is the usual form: each operation borrows a connection for its own statement and gives it straight back.
- open(HttpServer.Request) - Method in interface com.codename1.backend.HttpServer.WebSocketHandler
- open(String) - Static method in class com.codename1.backend.Database
-
Opens the database the URL names.
- open(String) - Static method in class com.codename1.backend.DataSource
-
A pool of the default size for whatever engine
urlnames. - open(String) - Static method in class com.codename1.backend.Db
-
Opens (or creates) the database at the given path.
- open(String, int) - Static method in class com.codename1.backend.DataSource
-
A pool of
sizeconnections; 0 takes the default for the engine. - open(String, int, int) - Static method in class com.codename1.backend.DbPool
-
Opens
sizeconnections topathand puts the database in WAL mode. - open(String, int, int, long) - Static method in class com.codename1.backend.DataSource
-
The general form.
- OPEN_FAILED - Static variable in class com.codename1.backend.FileIo
-
openRead: the file is there and could not be opened.
- openBeneath(String, String) - Static method in class com.codename1.backend.FileIo
-
A descriptor for
relativeunderroot, or -1. - openRead(String) - Static method in class com.codename1.backend.FileIo
- openSession() - Method in class com.codename1.backend.orm.EntityManager
-
Opens an independent managed persistence context.
- OpenTelemetry - Annotation Type in com.codename1.backend.annotations
-
Traces this server with OpenTelemetry.
- OptimisticLockException - Exception Class in com.codename1.orm.session
-
The row was changed or removed since it was loaded.
- OptimisticLockException(String) - Constructor for exception class com.codename1.orm.session.OptimisticLockException
-
Creates an exception describing the persistence failure.
- optional() - Element in annotation type com.codename1.annotations.db.ManyToOne
-
Allows an owning to-one relationship to be null.
- optional() - Element in annotation type com.codename1.annotations.db.OneToOne
-
Allows an owning to-one relationship to be null.
- options(String, Object...) - Static method in class com.codename1.backend.test.MockMvcRequestBuilders
- OPTIONS - Enum constant in enum com.codename1.backend.test.HttpMethod
- optionValue(Object) - Static method in class com.codename1.backend.mvc.Html
-
The browser derives an option's implicit value by collapsing ASCII whitespace.
- or(BitSet) - Method in class java.util.BitSet
-
Performs the logical OR of this
BitSetwith anotherBitSet. - Order - Annotation Type in com.codename1.backend.annotations
-
Where a bean stands among the beans of its type: the lower the value, the earlier it comes in a
Listan injection point receives, and the earlier aSecurityFilterChainis asked whether a request is its own. - orderBy(String, boolean) - Method in class com.codename1.backend.orm.Query
-
Orders by a field, ascending or descending.
- orderBy(String, boolean) - Method in class com.codename1.backend.sql.Dialect
-
One ORDER BY term, with NULLs placed the same way on every engine.
- orderBy(String, boolean) - Method in interface com.codename1.orm.session.Query
-
Appends an ordering term.
- orderBy(String, boolean, boolean) - Method in class com.codename1.backend.sql.Dialect
-
Dialect.orderBy(String, boolean)for a column whose kind is known. - OrderBy - Annotation Type in com.codename1.annotations.db
-
Orders a loaded entity collection by target attributes.
- OrderColumn - Annotation Type in com.codename1.annotations.db
-
Persists the positions of elements in an owning List.
- ordinal() - Method in class java.lang.Enum
- ORIGIN_MISMATCH - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The ceremony ran on an origin the relying party does not allow.
- ORM_CREATE_TABLES - Static variable in class com.codename1.backend.Config
-
Whether the generated daos create their tables at start-up.
- orphanRemoval() - Element in annotation type com.codename1.annotations.db.OneToMany
-
Deletes a related entity removed from this one-to-one or one-to-many association at flush.
- orphanRemoval() - Element in annotation type com.codename1.annotations.db.OneToOne
-
Deletes a related entity removed from this one-to-one or one-to-many association at flush.
- OS_AMIGA - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_ATARI - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_CPM - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_MACOS - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_MSDOS - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_OS2 - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_QDOS - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_RISCOS - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_TOPS20 - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_UNIX - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_UNKNOWN - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_VMCMS - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_VMS - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_WIN32 - Static variable in class com.codename1.io.gzip.GZIPHeader
- OS_ZSYSTEM - Static variable in class com.codename1.io.gzip.GZIPHeader
- OtlpMetricExporter - Class in com.codename1.backend.otel
-
Exports
Metricsover OTLP/HTTP, everycn1.otel.metrics.intervalMillis(OTEL_METRIC_EXPORT_INTERVAL, one minute by default), with cumulative temporality. - OtlpMetricExporter(String) - Constructor for class com.codename1.backend.otel.OtlpMetricExporter
- OtlpTracer - Class in com.codename1.backend.otel
-
OpenTelemetry tracing over OTLP/HTTP, with no OpenTelemetry library behind it.
- OtlpTracer() - Constructor for class com.codename1.backend.otel.OtlpTracer
-
A tracer whose service name comes from configuration alone.
- OtlpTracer(String) - Constructor for class com.codename1.backend.otel.OtlpTracer
- Otp - Class in com.codename1.security
-
Counter-based (HOTP, RFC 4226) and time-based (TOTP, RFC 6238) one-time password generators.
- otpauthUri(String, String, byte[]) - Static method in class com.codename1.security.Otp
-
Convenience overload using the typical 6 digits / 30 seconds / SHA-1 settings most authenticator apps expect.
- otpauthUri(String, String, byte[], int, int, String) - Static method in class com.codename1.security.Otp
-
Builds the canonical
otpauth://totp/...URI that authenticator apps (Google Authenticator, Microsoft Authenticator, 1Password, Authy, ...) consume when the user scans a QR code on your enrolment screen. - out - Variable in class com.codename1.io.gzip.FilterOutputStream
- out - Variable in class java.io.DataOutputStream
-
The output stream.
- out - Static variable in class java.lang.System
-
The "standard" output stream.
- OUTDATED - Enum constant in enum com.codename1.migration.MigrationState
-
A repeatable migration whose script changed since it last ran.
- OutOfMemoryError - Exception Class in java.lang
-
Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
- OutOfMemoryError() - Constructor for exception class java.lang.OutOfMemoryError
-
Constructs an OutOfMemoryError with no detail message.
- OutOfMemoryError(String) - Constructor for exception class java.lang.OutOfMemoryError
-
Constructs an OutOfMemoryError with the specified detail message.
- outOfOrder(boolean) - Method in class com.codename1.migration.Migrator
-
Whether a migration older than the newest applied one is applied instead of refused.
- OutputStream - Class in java.io
-
This abstract class is the superclass of all classes representing an output stream of bytes.
- OutputStream() - Constructor for class java.io.OutputStream
- OutputStreamWriter - Class in java.io
-
An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes.
- OutputStreamWriter(OutputStream) - Constructor for class java.io.OutputStreamWriter
-
Create an OutputStreamWriter that uses the default character encoding.
- OutputStreamWriter(OutputStream, String) - Constructor for class java.io.OutputStreamWriter
-
Create an OutputStreamWriter that uses the named character encoding.
- outsideTransaction() - Method in class com.codename1.migration.MigrationSet.Builder
-
Marks the migration added last as running outside a transaction.
- Override - Annotation Type in java.lang
-
An annotation to indicate that a method is intended to override a superclass method.
P
- P - Annotation Type in com.codename1.backend.annotations
-
Names a parameter for a
PreAuthorizeexpression, which refers to it as#name. - P256 - Static variable in class com.codename1.backend.security.crypto.Der
-
The curve of ES256, as a JSON Web Key names it.
- P384 - Static variable in class com.codename1.backend.security.crypto.Der
-
The curve of ES384, as a JSON Web Key names it.
- PACKAGE - Enum constant in enum java.lang.annotation.ElementType
- PACKAGE - Static variable in class java.lang.invoke.MethodHandles.Lookup
- parallel() - Method in interface java.util.stream.BaseStream
- param(String) - Method in class com.codename1.backend.HttpServer.Request
-
A request parameter, as
@RequestParamreads it and as a servlet container does: the query string first, then the fields of a form body - param(String, String...) - Method in class com.codename1.backend.test.MockMultipartRequestBuilder
-
Adds form fields, as parts: what
@RequestParamreads from a multipart body. - param(String, String...) - Method in class com.codename1.backend.test.MockRequestBuilder
-
Adds a request parameter: a query parameter, which
@RequestParamreads. - PARAMETER - Enum constant in enum java.lang.annotation.ElementType
- parameterArray() - Method in class java.lang.invoke.MethodType
- parameterCount() - Method in class java.lang.invoke.MethodType
- parameterList() - Method in class java.lang.invoke.MethodType
- parameterType(int) - Method in class java.lang.invoke.MethodType
- params(int, int) - Method in class com.codename1.io.gzip.Deflater
- PARKED_IO - Static variable in class com.codename1.backend.VirtualThread
-
VirtualThread.resume(long): waiting for bytes; its descriptor goes back to the poller. - parse(CharSequence) - Static method in class java.time.Duration
- parse(CharSequence) - Method in class java.time.format.DateTimeFormatter
- parse(CharSequence) - Static method in class java.time.Instant
- parse(CharSequence) - Static method in class java.time.LocalDate
- parse(CharSequence) - Static method in class java.time.LocalDateTime
- parse(CharSequence) - Static method in class java.time.LocalTime
- parse(CharSequence) - Static method in class java.time.OffsetDateTime
- parse(CharSequence) - Static method in class java.time.ZonedDateTime
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.LocalDate
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.LocalDateTime
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.LocalTime
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.OffsetDateTime
- parse(CharSequence, DateTimeFormatter) - Static method in class java.time.ZonedDateTime
- parse(String) - Static method in class com.codename1.backend.Http1Date
-
Epoch millis, or -1 when the value is not a date this understands.
- parse(String) - Static method in class com.codename1.backend.Json
- parse(String) - Static method in class com.codename1.backend.security.crypto.JwkSet
-
The public keys in a JSON Web Key Set document.
- parse(String) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
The fields of a form or a query, in order.
- parse(String) - Method in class java.text.DateFormat
-
NOT IMPLEMENTED - use SimpleDateFormat for parsing instead.
- parse(String) - Method in class java.text.SimpleDateFormat
- parse(Map) - Static method in class com.codename1.backend.security.crypto.Jwk
-
The public key a JSON Web Key describes.
- parseBoolean(String) - Static method in class java.lang.Boolean
- parseByte(String) - Static method in class java.lang.Byte
-
Assuming the specified String represents a byte, returns that byte's value.
- parseByte(String, int) - Static method in class java.lang.Byte
-
Assuming the specified String represents a byte, returns that byte's value.
- parseDouble(String) - Static method in class java.lang.Double
-
Returns a new double initialized to the value represented by the specified String, as performed by the valueOf method of class Double.
- ParseException - Exception Class in java.text
-
An error occurred during parsing.
- ParseException(String, int) - Constructor for exception class java.text.ParseException
-
Parameters
- parseFloat(String) - Static method in class java.lang.Float
-
Returns a new float initialized to the value represented by the specified String.
- parseInt(String) - Static method in class java.lang.Integer
-
Parses the string argument as a signed decimal integer.
- parseInt(String, int) - Static method in class java.lang.Integer
-
Parses the string argument as a signed integer in the radix specified by the second argument.
- parseLong(String) - Static method in class java.lang.Long
-
Parses the string argument as a signed decimal long.
- parseLong(String, int) - Static method in class java.lang.Long
-
Parses the string argument as a signed long in the radix specified by the second argument.
- parseObject(String) - Static method in class com.codename1.backend.Json
-
Parses a JSON object.
- parseObject(String) - Method in class java.text.DateFormat
-
NOT IMPLEMENTED - use SimpleDateFormat for parsing instead.
- parseObject(String) - Method in class java.text.Format
-
Parse an string to an object.
- parseSchemeSpecificPart(String, boolean) - Method in class java.net.URI
-
Utility method used to parse a given scheme specific part.
- parseShort(String) - Static method in class java.lang.Short
-
Assuming the specified String represents a short, returns that short's value.
- parseShort(String, int) - Static method in class java.lang.Short
-
Assuming the specified String represents a short, returns that short's value in the radix specified by the second argument.
- parseURI(String) - Method in class java.net.URI
-
Rather than attempting to process the uri string in a linear fashion, this implementation works its way from outside-in
- PARTIAL_CONTENT - Enum constant in enum com.codename1.backend.test.HttpStatus
- password() - Element in annotation type com.codename1.backend.test.WithMockUser
-
The user's password, for code that reads it.
- password(String) - Method in class com.codename1.backend.security.core.userdetails.User.UserBuilder
-
The password as it is to be stored, unless
User.UserBuilder.passwordEncoder(PasswordEncoder)says to encode it. - password(String) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor
- PASSWORD_ITERATIONS - Static variable in class com.codename1.backend.Crypto
-
PBKDF2 iterations for a stored password.
- PASSWORD_MAX_CONCURRENT - Static variable in class com.codename1.backend.security.HttpSecurity
-
The most passwords checked at one time; a sign-in beyond that is answered 503 at once.
- passwordEncoder(PasswordEncoder) - Method in class com.codename1.backend.security.core.userdetails.User.UserBuilder
-
Encodes the password with
encoderwhen the user is built. - PasswordEncoder - Interface in com.codename1.backend.security.crypto
-
Turns a password into what is stored, and checks a password against it.
- PasswordEncoderFactories - Class in com.codename1.backend.security.crypto
-
Makes the
PasswordEncoderan application should use unless it has a reason to choose its own. - passwordParameter(String) - Method in class com.codename1.backend.security.FormLoginConfigurer
- patch(String, Object...) - Static method in class com.codename1.backend.test.MockMvcRequestBuilders
- PATCH - Enum constant in enum com.codename1.backend.test.HttpMethod
- PatchMapping - Annotation Type in com.codename1.backend.annotations
-
Maps an HTTP PATCH to this method.
- pathByteLength() - Method in class com.codename1.backend.HttpServer.Request
-
The path's length in bytes -- the target up to
?-- without building it. - pathFrom(int) - Method in class com.codename1.backend.HttpServer.Request
-
The path from
fromonwards, as text. - pathIs(byte[]) - Method in class com.codename1.backend.HttpServer.Request
-
True when the request PATH is exactly these bytes.
- pathStartsWith(byte[]) - Method in class com.codename1.backend.HttpServer.Request
-
As
HttpServer.Request.pathIs(byte[]), for a route that continues into a path variable. - PathVariable - Annotation Type in com.codename1.backend.annotations
-
Binds a
{name}segment of the path to this parameter. - PAYLOAD_TOO_LARGE - Enum constant in enum com.codename1.backend.test.HttpStatus
- pbkdf2(String, byte[], byte[], int, int) - Static method in class com.codename1.backend.Crypto
-
PBKDF2 over HMAC with one of
Crypto.SHA1,Crypto.SHA256,Crypto.SHA384andCrypto.SHA512, on the password's bytes as they are given. - Pbkdf2PasswordEncoder - Class in com.codename1.backend.security.crypto
-
Reads the PBKDF2 passwords Spring Security's
Pbkdf2PasswordEncoderwrote, so a user table brought over from a Spring application signs its users in as it is. - Pbkdf2PasswordEncoder(CharSequence, int, int, String) - Constructor for class com.codename1.backend.security.crypto.Pbkdf2PasswordEncoder
- pbkdf2Sha256(byte[], byte[], int, int) - Static method in class com.codename1.backend.Crypto
-
PBKDF2-HMAC-SHA-256.
- Pbkdf2Sha256PasswordEncoder - Class in com.codename1.backend.security.crypto
-
PBKDF2-HMAC-SHA256 through the runtime's own
Crypto.hashPassword(String)andCrypto.verifyPassword(String, String): a random salt per password, and the round count written into the result, so a stored value says how it is to be checked. - Pbkdf2Sha256PasswordEncoder() - Constructor for class com.codename1.backend.security.crypto.Pbkdf2Sha256PasswordEncoder
- peek() - Method in class java.util.ArrayDeque
-
Gets but not removes the head element of this deque.
- peek() - Method in class java.util.LinkedList
- peek() - Method in class java.util.PriorityQueue
-
Gets but does not remove the head of the queue.
- peek() - Method in interface java.util.Queue
-
Gets but does not remove the element at the head of the queue.
- peek() - Method in class java.util.Stack
-
Returns the element at the top of the stack without removing it.
- peekFirst() - Method in class java.util.ArrayDeque
-
Gets but not removes the head element of this deque.
- peekFirst() - Method in interface java.util.Deque
-
Gets but not removes the head element of this deque.
- peekFirst() - Method in class java.util.LinkedList
-
Gets but not removes the head element of this deque.
- peekLast() - Method in class java.util.ArrayDeque
-
Gets but not removes the tail element of this deque.
- peekLast() - Method in interface java.util.Deque
-
Gets but not removes the tail element of this deque.
- peekLast() - Method in class java.util.LinkedList
-
Gets but not removes the tail element of this deque.
- peerAddress(int) - Static method in class com.codename1.backend.ServerSocket
-
The address of a connection's other end as its raw bytes -- 4 for IPv4, 16 for IPv6 -- or null when the descriptor is not a connected socket.
- PENDING - Enum constant in enum com.codename1.migration.MigrationState
-
Carried by this build and not applied yet.
- PENDING - Static variable in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
-
A device grant the user has not answered.
- PENDING - Static variable in class com.codename1.backend.security.SecondFactorAuthenticationFilter
-
The session attribute the pending sign-in is kept under.
- PENDING - Static variable in class com.codename1.backend.security.WebAuthnAuthenticationFilter
-
The session attribute a sign-in's options wait under.
- PENDING - Static variable in class com.codename1.backend.security.WebAuthnRegistrationFilter
-
The session attribute a registration's options wait under.
- pendingBodyBytes() - Method in class com.codename1.backend.Http2
-
Heap held by response bodies that have been submitted and not yet fully written, which is NOT what drain() empties: that buffer is what nghttp2 has already serialised.
- pendingBodyBytesAll() - Static method in class com.codename1.backend.Http2
-
Response-body heap outstanding across the PROCESS rather than this session.
- pendingBodyFiles() - Static method in class com.codename1.backend.Http2
-
File-backed response bodies outstanding across the PROCESS, not this session.
- pendingValiditySeconds(int) - Method in class com.codename1.backend.security.MfaConfigurer
-
How long a user has to enter their code after their password was accepted; 300 seconds unless set.
- perform(MockRequestBuilder) - Method in class com.codename1.backend.test.MockMvc
-
Sends one request and returns what came back, to assert on.
- Period - Class in java.time
- PERMANENT_REDIRECT - Enum constant in enum com.codename1.backend.test.HttpStatus
- permitAll() - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
-
Anyone, signed in or not.
- permitAll() - Method in class com.codename1.backend.security.FormLoginConfigurer
-
Lets everyone reach the login page, the form's target and the failure page, whatever the authorization rules say.
- permitAll() - Method in class com.codename1.backend.security.LogoutConfigurer
-
Lets everyone reach the page a signed-out user is sent to.
- permitAll() - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
Lets everyone reach the login page and the failure page, whatever the authorization rules say.
- PermitAll - Annotation Type in com.codename1.backend.annotations
-
Lets anyone call this method -- or every public method of this class.
- permuteArguments(MethodHandle, MethodType, int...) - Static method in class java.lang.invoke.MethodHandles
- persist(T) - Method in interface com.codename1.orm.session.Session
-
Makes a new entity managed and schedules its insertion at flush.
- PERSIST - Enum constant in enum com.codename1.annotations.db.CascadeType
-
Persists new related entities.
- PersistenceException - Exception Class in com.codename1.orm.session
-
An ORM failure, including an underlying database failure during lazy access.
- PersistenceException(String) - Constructor for exception class com.codename1.orm.session.PersistenceException
-
Creates an exception describing the persistence failure.
- PersistenceException(String, Throwable) - Constructor for exception class com.codename1.orm.session.PersistenceException
-
Creates an exception retaining the underlying failure.
- PersistentRememberMeToken - Class in com.codename1.backend.security.rememberme
-
One remembered sign-in, as the server keeps it: whose it is, the series the cookie names, the hash of the token the cookie must carry next, and when it was last used.
- PersistentRememberMeToken(String, String, String, long) - Constructor for class com.codename1.backend.security.rememberme.PersistentRememberMeToken
- PersistentRememberMeToken(String, String, String, long, String) - Constructor for class com.codename1.backend.security.rememberme.PersistentRememberMeToken
-
Includes the token replaced at
lastUsed, for a bounded concurrent-use grace. - PersistentTokenBasedRememberMeServices - Class in com.codename1.backend.security.rememberme
-
Remember-me with a series and a rotating token.
- PersistentTokenBasedRememberMeServices(String, UserDetailsService, PersistentTokenRepository) - Constructor for class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
- PersistentTokenRepository - Interface in com.codename1.backend.security.rememberme
-
Where remembered sign-ins are kept.
- PESSIMISTIC_READ - Enum constant in enum com.codename1.orm.session.LockMode
-
Requests a shared row lock until transaction completion.
- PESSIMISTIC_WRITE - Enum constant in enum com.codename1.orm.session.LockMode
-
Requests an exclusive row lock until transaction completion.
- PI - Static variable in class java.lang.Math
-
The double value that is closer than any other to , the ratio of the circumference of a circle to its diameter.
- pkcs1ToPkcs8(byte[]) - Static method in class com.codename1.backend.security.crypto.Der
-
Wraps a PKCS#1
RSAPrivateKey-- the content of a PEM file that saysRSA PRIVATE KEY-- as PKCS#8. - platform(Runnable) - Static method in class com.codename1.backend.Tasks
-
Runs
taskonce on the default pool of platform threads. - PLATFORM - Enum constant in enum com.codename1.backend.annotations.ThreadKind
-
A thread of the executor's pool.
- plus(Duration) - Method in class java.time.Duration
- plusDays(long) - Method in class java.time.LocalDate
- plusDays(long) - Method in class java.time.LocalDateTime
- plusHours(long) - Method in class java.time.LocalDateTime
- plusHours(long) - Method in class java.time.LocalTime
- plusMillis(long) - Method in class java.time.Instant
- plusMinutes(long) - Method in class java.time.LocalDateTime
- plusMinutes(long) - Method in class java.time.LocalTime
- plusMonths(long) - Method in class java.time.LocalDate
- plusSeconds(long) - Method in class java.time.Instant
- plusSeconds(long) - Method in class java.time.LocalDateTime
- plusSeconds(long) - Method in class java.time.LocalTime
- plusYears(long) - Method in class java.time.LocalDate
- PM - Static variable in class java.util.Calendar
-
Value of the AM_PM field indicating the period of the day from noon to just before midnight.
- point(String, Object, double) - Static method in class com.codename1.backend.metrics.Gauge
-
One labelled value, for a
Gauge.MultiSource. - points() - Method in class com.codename1.backend.metrics.Counter
- points() - Method in class com.codename1.backend.metrics.Gauge
- points() - Method in class com.codename1.backend.metrics.Histogram
- points() - Method in class com.codename1.backend.metrics.Instrument
-
The current points, each a map with
attributes(a map, possibly empty) and eithervalueor, for a histogram,count,sum,min,max,boundsandbuckets. - policyDirectives(String) - Method in class com.codename1.backend.security.HeadersConfigurer.ContentSecurityPolicyConfig
-
The policy, as the header carries it:
default-src 'self'. - poll() - Method in class java.util.ArrayDeque
-
Gets and removes the head element of this deque.
- poll() - Method in class java.util.LinkedList
- poll() - Method in class java.util.PriorityQueue
-
Gets and removes the head of the queue.
- poll() - Method in interface java.util.Queue
-
Gets and removes the element at the head of the queue, or returns
nullif there is no element in the queue. - pollFirst() - Method in class java.util.ArrayDeque
-
Gets and removes the head element of this deque.
- pollFirst() - Method in interface java.util.Deque
-
Gets and removes the head element of this deque.
- pollFirst() - Method in class java.util.LinkedList
-
Gets and removes the head element of this deque.
- pollFirst() - Method in interface java.util.NavigableSet
-
Deletes and answers the smallest element, or null if the set is empty.
- pollFirst() - Method in class java.util.TreeSet
-
Deletes and answers the smallest element, or null if the set is empty.
- pollFirstEntry() - Method in interface java.util.NavigableMap
-
Deletes and answers the entry with the smallest key, or null if the map is empty.
- pollFirstEntry() - Method in class java.util.TreeMap
-
Deletes and answers the entry with the smallest key, or null if the map is empty.
- pollLast() - Method in class java.util.ArrayDeque
-
Gets and removes the tail element of this deque.
- pollLast() - Method in interface java.util.Deque
-
Gets and removes the tail element of this deque.
- pollLast() - Method in class java.util.LinkedList
-
Gets and removes the tail element of this deque.
- pollLast() - Method in interface java.util.NavigableSet
-
Deletes and answers the biggest element, or null if the set is empty.
- pollLast() - Method in class java.util.TreeSet
-
Deletes and answers the biggest element, or null if the set is empty.
- pollLastEntry() - Method in interface java.util.NavigableMap
-
Deletes and answers the entry with the biggest key, or null if the map is empty.
- pollLastEntry() - Method in class java.util.TreeMap
-
Deletes and answers the entry with the biggest key, or null if the map is empty.
- pollToken(String, String, long, long) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- pollToken(String, String, long, long) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- pollToken(String, String, long, long) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
Claims a polling interval on an unused, unexpired token.
- pop() - Method in class java.util.ArrayDeque
-
Pops the head element of the deque, just same as removeFirst().
- pop() - Method in interface java.util.Deque
-
Pops the head element of the deque, just same as removeFirst().
- pop() - Method in class java.util.LinkedList
-
Pops the head element of the deque, just same as removeFirst().
- pop() - Method in class java.util.Stack
-
Returns the element at the top of the stack and removes it.
- port(int) - Method in class com.codename1.backend.Backend.Builder
-
The port.
- pos - Variable in class java.io.ByteArrayInputStream
-
The index of the next character to read from the input stream buffer.
- POSITIVE_INFINITY - Static variable in class java.lang.Double
-
The positive infinity of type double.
- POSITIVE_INFINITY - Static variable in class java.lang.Float
-
The positive infinity of type float.
- post(String, int, String, byte[]) - Static method in class com.codename1.backend.Http
- post(String, Object...) - Static method in class com.codename1.backend.test.MockMvcRequestBuilders
- POST - Enum constant in enum com.codename1.backend.test.HttpMethod
- PostConstruct - Annotation Type in com.codename1.backend.annotations
-
Called once the bean is constructed and every member is injected.
- postForEntity(String, Object, Class, Object...) - Method in class com.codename1.backend.test.TestRestTemplate
- postForObject(String, Object, Class, Object...) - Method in class com.codename1.backend.test.TestRestTemplate
- Postgres - Class in com.codename1.backend.sql
-
A PostgreSQL client speaking the v3 frontend/backend protocol directly.
- POSTGRES - Static variable in class com.codename1.backend.sql.Dialect
- postJson(String, String, String) - Static method in class com.codename1.backend.Web
- PostLoad - Annotation Type in com.codename1.annotations.db
-
Invokes a public no-argument callback after an entity is loaded or refreshed.
- PostMapping - Annotation Type in com.codename1.backend.annotations
-
Maps an HTTP POST to this method.
- PostPersist - Annotation Type in com.codename1.annotations.db
-
Invokes a public no-argument callback after the entity insert succeeds, before commit.
- postProcessRequest(MockRequestBuilder) - Method in interface com.codename1.backend.test.RequestPostProcessor
-
The request to send:
requestchanged, usually. - postProcessRequest(MockRequestBuilder) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.ApiKeyRequestPostProcessor
- postProcessRequest(MockRequestBuilder) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.CsrfRequestPostProcessor
- postProcessRequest(MockRequestBuilder) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.JwtRequestPostProcessor
- postProcessRequest(MockRequestBuilder) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor
- PostRemove - Annotation Type in com.codename1.annotations.db
-
Invokes a public no-argument callback after the entity row is deleted, before commit.
- PostUpdate - Annotation Type in com.codename1.annotations.db
-
Invokes a public no-argument callback after the entity update succeeds, before commit.
- PreAuthorize - Annotation Type in com.codename1.backend.annotations
-
Lets this method -- or every public method of this class -- run only when an expression about the caller holds.
- PRECONDITION_FAILED - Enum constant in enum com.codename1.backend.test.HttpStatus
- PreDestroy - Annotation Type in com.codename1.backend.annotations
-
Called when the server stops, after it has finished the requests in flight and before the database closes.
- Predicate<T> - Interface in java.util.function
- prefix() - Element in annotation type com.codename1.backend.annotations.ConditionalOnProperty
-
Prepended to each key, with a dot.
- prefix() - Element in annotation type com.codename1.backend.annotations.ConfigurationProperties
-
Same as
ConfigurationProperties.value(); Spring accepts either. - prefix(String) - Method in class com.codename1.backend.security.ApiKeyConfigurer
-
What every key starts with;
cn1_unless set. - preload(boolean) - Method in class com.codename1.backend.security.HeadersConfigurer.HstsConfig
- PrePersist - Annotation Type in com.codename1.annotations.db
-
Invokes a public no-argument callback before inserting a new entity during flush.
- PreRemove - Annotation Type in com.codename1.annotations.db
-
Invokes a public no-argument callback before the entity row is deleted during flush.
- presetResponse() - Method in class com.codename1.backend.HttpServer.Request
-
DIAGNOSTIC: the connection's Response exactly as the last request left it, or null the first time.
- presign(Credentials, String, String, String, String, String, Map, int, String) - Static method in class com.codename1.backend.aws.Aws
-
A presigned URL: the signature travels in the query string, so anyone holding the URL can make that one request until it expires.
- presign(Credentials, String, String, String, String, String, Map, int, String, boolean) - Static method in class com.codename1.backend.aws.Aws
-
As above, producing an http:// URL when
secureis false. - presignGet(String, String, int) - Method in class com.codename1.backend.aws.S3
-
A URL that downloads the object without any credentials, for
seconds. - presignPut(String, String, int) - Method in class com.codename1.backend.aws.S3
-
The upload counterpart: a URL a client can PUT to, for
seconds. - PreUpdate - Annotation Type in com.codename1.annotations.db
-
Invokes a public no-argument callback before a dirty entity update during flush.
- previous() - Method in interface java.util.ListIterator
-
Returns the previous object in the iteration.
- previousIndex() - Method in interface java.util.ListIterator
-
Returns the index of the previous object in the iteration.
- Primary - Annotation Type in com.codename1.backend.annotations
-
The bean an injection point receives when several have its type and it names none.
- principal() - Static method in class com.codename1.backend.security.ratelimit.RateLimitKeys
-
The name of who is signed in; no key for a request nobody signed in for.
- principal(Object) - Method in class com.codename1.backend.security.AnonymousConfigurer
- print() - Static method in class com.codename1.backend.test.MockMvcResultHandlers
-
Prints the request line, the status, the headers and the body.
- print(boolean) - Method in class java.io.PrintStream
-
Print a boolean value.
- print(char) - Method in class java.io.PrintStream
-
Print an array of characters.
- print(double) - Method in class java.io.PrintStream
-
Print a double-precision floating point number.
- print(float) - Method in class java.io.PrintStream
-
Print a floating point number.
- print(int) - Method in class java.io.PrintStream
-
Print an integer.
- print(long) - Method in class java.io.PrintStream
-
Print a long integer.
- print(Object) - Method in class java.io.PrintStream
-
Print an object.
- print(String) - Method in class java.io.PrintStream
-
Print a string.
- println() - Method in class java.io.PrintStream
-
Terminate the current line by writing the line separator string.
- println(boolean) - Method in class java.io.PrintStream
-
Print a boolean and then terminate the line.
- println(char) - Method in class java.io.PrintStream
-
Print an array of characters and then terminate the line.
- println(double) - Method in class java.io.PrintStream
-
Print a double and then terminate the line.
- println(float) - Method in class java.io.PrintStream
-
Print a float and then terminate the line.
- println(int) - Method in class java.io.PrintStream
-
Print an integer and then terminate the line.
- println(long) - Method in class java.io.PrintStream
-
Print a long and then terminate the line.
- println(Object) - Method in class java.io.PrintStream
-
Print an Object and then terminate the line.
- println(String) - Method in class java.io.PrintStream
-
Print a String and then terminate the line.
- printStackTrace() - Method in exception class java.lang.Throwable
-
Prints this Throwable and its backtrace to the standard error stream.
- printStackTrace(PrintStream) - Method in exception class java.lang.Throwable
-
Prints this throwable and its backtrace to the given stream.
- PrintStream - Class in java.io
-
A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
- PrintStream(OutputStream) - Constructor for class java.io.PrintStream
-
Create a new print stream.
- PrintStream(OutputStream, boolean, String) - Constructor for class java.io.PrintStream
-
Create a new print stream that encodes with the named charset, optionally flushing automatically.
- PriorityQueue<E> - Class in java.util
-
A PriorityQueue holds elements on a priority heap, which orders the elements according to their natural order or according to the comparator specified at construction time.
- PriorityQueue() - Constructor for class java.util.PriorityQueue
-
Constructs a priority queue with an initial capacity of 11 and natural ordering.
- PriorityQueue(int) - Constructor for class java.util.PriorityQueue
-
Constructs a priority queue with the specified capacity and natural ordering.
- PriorityQueue(int, Comparator) - Constructor for class java.util.PriorityQueue
-
Constructs a priority queue with the specified capacity and comparator.
- PriorityQueue(Collection) - Constructor for class java.util.PriorityQueue
-
Constructs a priority queue that contains the elements of a collection.
- PriorityQueue(PriorityQueue) - Constructor for class java.util.PriorityQueue
-
Constructs a priority queue that contains the elements of another priority queue.
- PriorityQueue(SortedSet) - Constructor for class java.util.PriorityQueue
-
Constructs a priority queue that contains the elements of a sorted set.
- PRIVATE - Static variable in class java.lang.invoke.MethodHandles.Lookup
- privateKey(String) - Static method in class com.codename1.backend.security.crypto.KeyFiles
-
The private key in
pem, as PKCS#8 DER. - privateKeyType(byte[]) - Static method in class com.codename1.backend.security.crypto.Der
- processingUrl(String) - Method in class com.codename1.backend.security.MfaConfigurer
-
Where the code is posted; the page's path unless set.
- profile() - Element in annotation type com.codename1.backend.test.BackendTest
-
The profile.
- Profile - Annotation Type in com.codename1.backend.annotations
-
Constructs this bean only when a profile is active.
- PROFILE - Static variable in class com.codename1.backend.Config
-
Which profile is active.
- prometheus() - Static method in class com.codename1.backend.metrics.Metrics
-
Every instrument in the Prometheus text exposition format.
- propagation() - Element in annotation type com.codename1.backend.annotations.Transactional
-
What to do about a transaction that is already open.
- Propagation - Enum in com.codename1.backend.annotations
-
What a
Transactionalmethod does about a transaction that is already open on the calling thread. - properties() - Element in annotation type com.codename1.backend.test.BackendTest
-
Settings for this test, as
key=value, over the module'sapplication.properties, the profile's file and the environment: a shell'sPORTorDATABASE_URLdoes not reach a test that names its own. - Properties - Class in java.util
- Properties() - Constructor for class java.util.Properties
-
Constructs a new
Propertiesobject. - Properties(Properties) - Constructor for class java.util.Properties
-
Constructs a new
Propertiesobject using the specified defaultProperties. - propertyNames() - Method in class java.util.Properties
-
Returns all of the property names (keys) in this
Propertiesobject. - PROTECTED - Static variable in class java.lang.invoke.MethodHandles.Lookup
- protocol() - Element in annotation type com.codename1.backend.annotations.OpenTelemetry
-
cn1.otel.protocol:http/protobuforhttp/json. - PROTOCOL - Static variable in class com.codename1.backend.otel.OtlpMetricExporter
- PROTOCOL - Static variable in class com.codename1.backend.otel.OtlpTracer
- PROVIDER - Static variable in class com.codename1.backend.security.oauth2.client.ClientRegistrations
-
The prefix of every provider's settings.
- ProviderManager - Class in com.codename1.backend.security
-
An
AuthenticationManagerthat asks a list ofAuthenticationProviders in order and takes the first answer. - ProviderManager(AuthenticationProvider...) - Constructor for class com.codename1.backend.security.ProviderManager
- ProviderManager(List) - Constructor for class com.codename1.backend.security.ProviderManager
- ProviderManager(List, AuthenticationManager) - Constructor for class com.codename1.backend.security.ProviderManager
- ProviderNotFoundException - Exception Class in com.codename1.backend.security
-
No
AuthenticationProviderof aProviderManagerchecks tokens of the class it was handed. - ProviderNotFoundException(String) - Constructor for exception class com.codename1.backend.security.ProviderNotFoundException
- PS256 - Enum constant in enum com.codename1.backend.security.oauth2.jose.jws.SignatureAlgorithm
-
RSASSA-PSS with SHA-256 and MGF1 over SHA-256.
- PS256 - Static variable in class com.codename1.backend.Crypto
-
RSASSA-PSS over SHA-256 with MGF1-SHA-256 and a 32 byte salt.
- PUBLIC - Static variable in class java.lang.invoke.MethodHandles.Lookup
- PUBLIC_KEY_LOCATION - Static variable in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
-
A PEM file holding the public key tokens are verified with.
- publicKey(byte[]) - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
- publicKey(String) - Static method in class com.codename1.backend.security.crypto.KeyFiles
-
The public key in
pem, as SubjectPublicKeyInfo DER. - PublicKeyCredentialCreationOptions - Class in com.codename1.backend.security.webauthn
-
What a client is given to make a passkey with: the relying party, the user, a challenge, and what kind of credential is wanted.
- PublicKeyCredentialRequestOptions - Class in com.codename1.backend.security.webauthn
-
What a client is given to sign in with a passkey: a challenge, the relying party, and -- when the user said who they are first -- which credentials may answer.
- PublicKeyCredentialRpEntity - Class in com.codename1.backend.security.webauthn
-
The relying party of a passkey: the site a credential belongs to.
- PublicKeyCredentialRpEntity(String, String) - Constructor for class com.codename1.backend.security.webauthn.PublicKeyCredentialRpEntity
- PublicKeyCredentialUserEntity - Class in com.codename1.backend.security.webauthn
-
A user as passkeys know them: the name they sign in with, and the user handle -- random bytes that stand for the account inside an authenticator, and that a sign-in without a user name hands back.
- PublicKeyCredentialUserEntity(String, byte[], String) - Constructor for class com.codename1.backend.security.webauthn.PublicKeyCredentialUserEntity
- PublicKeyCredentialUserEntityRepository - Interface in com.codename1.backend.security.webauthn
-
Where each user's passkey handle is kept; see
PublicKeyCredentialUserEntity. - publicKeyOf(byte[]) - Static method in class com.codename1.backend.security.crypto.Der
-
The public half of a PKCS#8 private key, as a SubjectPublicKeyInfo.
- publicKeyType(byte[]) - Static method in class com.codename1.backend.security.crypto.Der
- publicLookup() - Static method in class java.lang.invoke.MethodHandles
- purgeExpired(long) - Method in interface com.codename1.backend.SessionStore
-
Drops every session that has expired by
now; answers how many. - purgeExpired(long, int) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- purgeExpired(long, int) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- purgeExpired(long, int) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
Forgets up to
limitgrants and secrets that expired beforenow. - push(E) - Method in class java.util.ArrayDeque
-
Pushes the element to the deque(at the head of the deque), just same as addFirst(E).
- push(E) - Method in interface java.util.Deque
-
Pushes the element to the deque(at the head of the deque), just same as addFirst(E).
- push(E) - Method in class java.util.LinkedList
-
Pushes the element to the deque(at the head of the deque), just same as addFirst(E).
- push(E) - Method in class java.util.Stack
-
Pushes the specified object onto the top of the stack.
- put(byte[], int, int) - Method in class com.codename1.backend.ByteSink
- put(int) - Method in class com.codename1.backend.ByteSink
- put(ByteSink) - Method in class com.codename1.backend.ByteSink
- put(String, Object...) - Static method in class com.codename1.backend.test.MockMvcRequestBuilders
- put(String, Object, Object...) - Method in class com.codename1.backend.test.TestRestTemplate
- put(K, V) - Method in class java.util.AbstractMap
-
Maps the specified key to the specified value.
- put(K, V) - Method in class java.util.Dictionary
-
Associate
keywithvaluein this dictionary. - put(K, V) - Method in class java.util.HashMap
-
Maps the specified key to the specified value.
- put(K, V) - Method in class java.util.Hashtable
-
Associate the specified value with the specified key in this
Hashtable. - put(K, V) - Method in class java.util.IdentityHashMap
-
Maps the specified key to the specified value.
- put(K, V) - Method in class java.util.LinkedHashMap
-
Maps the specified key to the specified value.
- put(K, V) - Method in interface java.util.Map
-
Maps the specified key to the specified value.
- put(K, V) - Method in class java.util.TreeMap
-
Maps the specified key to the specified value.
- PUT - Enum constant in enum com.codename1.backend.test.HttpMethod
- putAll(Map) - Method in class java.util.AbstractMap
-
Copies every mapping in the specified map to this map.
- putAll(Map) - Method in class java.util.HashMap
-
Copies all the mappings in the specified map to this map.
- putAll(Map) - Method in class java.util.Hashtable
-
Copies every mapping to this
Hashtablefrom the specified map. - putAll(Map) - Method in class java.util.IdentityHashMap
-
Copies all the mappings in the specified map to this map.
- putAll(Map) - Method in interface java.util.Map
-
Copies every mapping in the specified
Mapto thisMap. - putAll(Map) - Method in class java.util.TreeMap
-
Copies all the mappings in the given map to this map.
- putAscii(String) - Method in class com.codename1.backend.ByteSink
-
ASCII only, one byte per character.
- putCodePoint(int) - Method in class com.codename1.backend.ByteSink
-
One code point as UTF-8.
- putIfAbsent(K, V) - Method in interface java.util.Map
-
If the specified key is not already associated with a value (or is mapped to
null) associates it with the given value and returnsnull, else returns the current value. - PutMapping - Annotation Type in com.codename1.backend.annotations
-
Maps an HTTP PUT to this method.
- putNumber(long) - Method in class com.codename1.backend.ByteSink
-
A number as ASCII digits, written in place.
- putObject(String, String, byte[], String) - Method in class com.codename1.backend.aws.S3
-
Uploads an object.
- putUtf8(String) - Method in class com.codename1.backend.ByteSink
-
UTF-8, encoded in place.
Q
- Qualifier - Annotation Type in com.codename1.backend.annotations
-
Picks one bean by name where several have the type an injection point asks for.
- query() - Method in class com.codename1.backend.orm.Dao
-
A query built from field names, which is the portable way to ask: the names are the entity's Java fields and the builder quotes the columns they map to, so the same query runs on all three engines.
- query(Class) - Method in interface com.codename1.orm.session.Session
-
Creates a fluent entity query.
- query(String, Object[]) - Method in class com.codename1.backend.Database
-
Runs a query and returns every row as a column-name to value map.
- query(String, Object[]) - Method in class com.codename1.backend.DataSource
-
One query on a borrowed connection.
- query(String, Object[]) - Method in class com.codename1.backend.Db
-
Runs a query and returns every row as a column-name to value map.
- query(String, Object[]) - Method in class com.codename1.backend.sql.MySql
- query(String, Object[]) - Method in class com.codename1.backend.sql.Postgres
-
Runs a query and returns each row as a column-name to value map, with the SAME value types the SQLite path produces: Long, Double, String, byte[] or null.
- query(String, Object[]) - Method in interface com.codename1.migration.MigrationContext
-
Runs one query and returns every row with every value as text, null where the column is null.
- Query<T> - Class in com.codename1.backend.orm
-
A query named in the entity's own terms.
- Query<T> - Interface in com.codename1.orm.session
-
A mutable, parameterized query obtained from
Session.query(Class). - queryOne(String, Object[]) - Method in class com.codename1.backend.Database
-
The one row a query is expected to return, or null when it returns none.
- queryOne(String, Object[]) - Method in class com.codename1.backend.DataSource
-
One query that returns at most one row, on a borrowed connection.
- queryParam(String) - Method in class com.codename1.backend.HttpServer.Request
-
A query parameter's decoded value, or null when the request did not send it.
- queryParam(String, String...) - Method in class com.codename1.backend.test.MockMultipartRequestBuilder
-
Adds a query parameter, in the URL rather than the body.
- queryParam(String, String...) - Method in class com.codename1.backend.test.MockRequestBuilder
-
Adds a query parameter: the same as
MockRequestBuilder.param(String, String...), except on a multipart builder, whose param() adds a form field instead and whose queryParam() still puts the value in the URL. - Queue<E> - Interface in java.util
-
This kind of collection provides advanced operations compared to basic collections, such as insertion, extraction, and inspection.
- QUEUE_SIZE - Static variable in class com.codename1.backend.otel.OtlpTracer
- quiet() - Method in class com.codename1.backend.Backend.Builder
-
Suppresses the line this prints when the server comes up.
- quote(String) - Method in class com.codename1.backend.sql.Dialect
-
identifierquoted so that its case is preserved and a reserved word is still usable as a name.
R
- random(int) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
A value nobody can guess:
bytesbytes from the system's generator, written in the URL-safe alphabet. - Random - Class in java.util
-
An instance of this class is used to generate a stream of pseudorandom numbers.
- Random() - Constructor for class java.util.Random
-
Creates a new random number generator.
- Random(long) - Constructor for class java.util.Random
-
Creates a new random number generator using a single long seed: public Random(long seed) { setSeed(seed); } Used by method next to hold the state of the pseudorandom number generator.
- RANDOM_PORT - Enum constant in enum com.codename1.backend.test.BackendTest.WebEnvironment
-
Served on a free port, which
LocalServerPortnames. - RandomAccess - Interface in java.util
-
RandomAccess is implemented by
Listimplementations that support fast (usually constant time) random access. - randomBytes(int) - Static method in class com.codename1.backend.Crypto
-
Cryptographically secure bytes.
- rateLimit(RequestMatcher, RateLimitKeyResolver, RateLimiter) - Method in class com.codename1.backend.security.HttpSecurity
-
Limits how often the requests
matchermatches may be made under one key, and answers 429 withRetry-Afterbeyond that. - rateLimit(String, RateLimitKeyResolver, RateLimiter) - Method in class com.codename1.backend.security.HttpSecurity
-
HttpSecurity.rateLimit(RequestMatcher, RateLimitKeyResolver, RateLimiter)for the requests whose path matches an Ant pattern. - RateLimitConfigurer - Class in com.codename1.backend.security
-
The rate limits of a chain; filled in by
HttpSecurity.rateLimit(RequestMatcher, RateLimitKeyResolver, RateLimiter). - RateLimiter - Interface in com.codename1.backend.security.ratelimit
-
Counts requests under a key and says when there have been too many.
- RateLimitFilter - Class in com.codename1.backend.security
-
Answers 429 to a request that is over one of the chain's rate limits; see
HttpSecurity.rateLimit(RequestMatcher, RateLimitKeyResolver, RateLimiter). - RateLimitKeyResolver - Interface in com.codename1.backend.security.ratelimit
-
Says which key a request counts under.
- RateLimitKeys - Class in com.codename1.backend.security.ratelimit
-
The keys a request is usually counted under.
- Reactor - Class in com.codename1.backend
-
Readiness notification over epoll (Linux) or kqueue (macOS/BSD).
- read() - Method in interface com.codename1.backend.metrics.Gauge.MultiSource
- read() - Method in class com.codename1.backend.metrics.Gauge
-
The value now, or NaN when reading it failed.
- read() - Method in interface com.codename1.backend.metrics.Gauge.Source
- read() - Method in class com.codename1.io.gzip.FilterInputStream
- read() - Method in class com.codename1.io.gzip.InflaterInputStream
- read() - Method in class java.io.ByteArrayInputStream
-
Reads the next byte of data from this input stream.
- read() - Method in class java.io.DataInputStream
-
Reads the next byte of data from this input stream.
- read() - Method in class java.io.InputStream
-
Reads the next byte of data from the input stream.
- read() - Method in class java.io.InputStreamReader
-
Read a single character.
- read() - Method in class java.io.Reader
-
Read a single character.
- read() - Method in class java.io.StringReader
-
Reads a single character from the source string and returns it as an integer with the two higher-order bytes set to 0.
- read(byte[]) - Method in class com.codename1.io.gzip.FilterInputStream
- read(byte[]) - Method in class java.io.DataInputStream
-
See the general contract of the read method of DataInput.
- read(byte[]) - Method in class java.io.InputStream
-
Reads some number of bytes from the input stream and stores them into the buffer array b.
- read(byte[], int, int) - Method in class com.codename1.backend.Tcp
-
Reads up to length bytes.
- read(byte[], int, int) - Method in class com.codename1.io.gzip.FilterInputStream
- read(byte[], int, int) - Method in class com.codename1.io.gzip.InflaterInputStream
- read(byte[], int, int) - Method in class java.io.ByteArrayInputStream
-
Reads up to len bytes of data into an array of bytes from this input stream.
- read(byte[], int, int) - Method in class java.io.DataInputStream
-
Reads up to len bytes of data from this input stream into an array of bytes.
- read(byte[], int, int) - Method in class java.io.InputStream
-
Reads up to len bytes of data from the input stream into an array of bytes.
- read(char[]) - Method in class java.io.Reader
-
Read characters into an array.
- read(char[], int, int) - Method in class java.io.InputStreamReader
-
Read characters into a portion of an array.
- read(char[], int, int) - Method in class java.io.Reader
-
Read characters into a portion of an array.
- read(char[], int, int) - Method in class java.io.StringReader
-
Reads at most
lencharacters from the source string and stores them atoffsetin the character arraybuf. - read(int, byte[], int, int) - Static method in class com.codename1.backend.FileIo
- read(int, byte[], int, int) - Static method in class com.codename1.backend.ServerSocket
-
-1 at end of stream, as InputStream does.
- read(String) - Static method in class com.codename1.backend.security.crypto.KeyFiles
-
The text of a key file.
- READ - Static variable in class com.codename1.backend.Reactor
- readBoolean() - Method in interface java.io.DataInput
-
Reads one input byte and returns true if that byte is nonzero, false if that byte is zero.
- readBoolean() - Method in class java.io.DataInputStream
-
See the general contract of the readBoolean method of DataInput.
- readByte() - Method in interface java.io.DataInput
-
Reads and returns one input byte.
- readByte() - Method in class java.io.DataInputStream
-
See the general contract of the readByte method of DataInput.
- readChar() - Method in interface java.io.DataInput
-
Reads an input char and returns the char value.
- readChar() - Method in class java.io.DataInputStream
-
See the general contract of the readChar method of DataInput.
- readDouble() - Method in interface java.io.DataInput
-
Reads eight input bytes and returns a double value.
- readDouble() - Method in class java.io.DataInputStream
-
See the general contract of the readDouble method of DataInput.
- Reader - Class in java.io
-
Abstract class for reading character streams.
- Reader() - Constructor for class java.io.Reader
-
Create a new character-stream reader whose critical sections will synchronize on the reader itself.
- Reader(Object) - Constructor for class java.io.Reader
-
Create a new character-stream reader whose critical sections will synchronize on the given object.
- readFloat() - Method in interface java.io.DataInput
-
Reads four input bytes and returns a float value.
- readFloat() - Method in class java.io.DataInputStream
-
See the general contract of the readFloat method of DataInput.
- readFully(byte[]) - Method in interface java.io.DataInput
-
Reads some bytes from an input stream and stores them into the buffer array b.
- readFully(byte[]) - Method in class java.io.DataInputStream
-
See the general contract of the readFully method of DataInput.
- readFully(byte[], int, int) - Method in interface java.io.DataInput
-
Reads len bytes from an input stream.
- readFully(byte[], int, int) - Method in class java.io.DataInputStream
-
See the general contract of the readFully method of DataInput.
- readHeader() - Method in class com.codename1.io.gzip.GZIPInputStream
- readHeader() - Method in class com.codename1.io.gzip.InflaterInputStream
- readInt() - Method in interface java.io.DataInput
-
Reads four input bytes and returns an int value.
- readInt() - Method in class java.io.DataInputStream
-
See the general contract of the readInt method of DataInput.
- readIntoThreadBuffer(int, int) - Static method in class com.codename1.backend.ServerSocket
-
Read from
fdinto this thread's reusable buffer and return an array whose length is exactly the number of bytes read, or null at end of stream. - readLong() - Method in interface java.io.DataInput
-
Reads eight input bytes and returns a long value.
- readLong() - Method in class java.io.DataInputStream
-
See the general contract of the readLong method of DataInput.
- readOnly() - Element in annotation type com.codename1.backend.annotations.Transactional
-
A hint that the method only reads.
- readPrivateKey(String) - Static method in class com.codename1.backend.security.crypto.KeyFiles
-
The private key in the PEM file at
path, as PKCS#8 DER. - readPublicKey(String) - Static method in class com.codename1.backend.security.crypto.KeyFiles
-
The public key in the PEM file at
path, as SubjectPublicKeyInfo DER. - readShort() - Method in interface java.io.DataInput
-
Reads two input bytes and returns a short value.
- readShort() - Method in class java.io.DataInputStream
-
See the general contract of the readShort method of DataInput.
- readUnsignedByte() - Method in interface java.io.DataInput
-
Reads one input byte, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 255.
- readUnsignedByte() - Method in class java.io.DataInputStream
-
See the general contract of the readUnsignedByte method of DataInput.
- readUnsignedShort() - Method in interface java.io.DataInput
-
Reads two input bytes, zero-extends it to type int, and returns an int value in the range 0 through 65535.
- readUnsignedShort() - Method in class java.io.DataInputStream
-
See the general contract of the readUnsignedShort method of DataInput.
- readUTF() - Method in interface java.io.DataInput
-
Reads in a string that has been encoded using a modified UTF-8 format.
- readUTF() - Method in class java.io.DataInputStream
-
See the general contract of the readUTF method of DataInput.
- readUTF(DataInput) - Static method in class java.io.DataInputStream
-
Reads from the stream in a representation of a Unicode character string encoded in Java modified UTF-8 format; this string of characters is then returned as a String.
- ready() - Method in class java.io.InputStreamReader
-
Tell whether this stream is ready to be read.
- ready() - Method in class java.io.Reader
-
Tell whether this stream is ready to be read.
- ready() - Method in class java.io.StringReader
-
Indicates whether this reader is ready to be read without blocking.
- REAL - Static variable in class com.codename1.backend.sql.Dialect
-
A double-precision floating point number.
- realmName(String) - Method in class com.codename1.backend.security.HttpBasicConfigurer
-
The realm named in the challenge;
Realmunless set. - realmName(String) - Method in class com.codename1.backend.security.OAuth2ResourceServerConfigurer
-
The realm the challenges name:
WWW-Authenticate: Bearer realm="...". - realPath(String) - Static method in class com.codename1.backend.FileIo
-
The canonical path, symlinks followed.
- rebuildSchemeSpecificPart() - Method in class java.net.URI
-
Utility method to construct the scheme specific part from the uri segments (less scheme and fragment)
- receive(byte[], int, int) - Method in class com.codename1.backend.Http2
-
Feeds received bytes to the session.
- record(double) - Method in class com.codename1.backend.metrics.Histogram
-
Records one value in the series without labels.
- record(double, Object, Object, Object) - Method in class com.codename1.backend.metrics.Histogram
-
Records one value in the series for these label values, given in the order of the keys the histogram was created with.
- Record - Class in java.lang
-
Base class for Java record types.
- Record() - Constructor for class java.lang.Record
- recordException(Throwable) - Method in class com.codename1.backend.Span
-
Records a failure as an "exception" event and marks the span as an error.
- RecoveryCodeRepository - Interface in com.codename1.backend.security.mfa
-
Where recovery codes are kept: as hashes, never as the codes.
- recoveryCodeService(RecoveryCodeService) - Method in class com.codename1.backend.security.MfaConfigurer
-
What checks recovery codes, in place of the application's bean.
- RecoveryCodeService - Class in com.codename1.backend.security.mfa
-
Recovery codes: what signs a user in when their authenticator app is gone.
- RecoveryCodeService(RecoveryCodeRepository) - Constructor for class com.codename1.backend.security.mfa.RecoveryCodeService
- redirect(HttpServer.Request, String) - Static method in class com.codename1.backend.mvc.Html
- redirect(String) - Static method in class com.codename1.backend.mvc.Htmx
- redirectedUrl(String) - Static method in class com.codename1.backend.test.MockMvcResultMatchers
-
The response redirects to exactly this location.
- redirectionEndpointBaseUri(String) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
The path a provider answers at, before the registration's id;
/login/oauth2/codeunless set. - redirectUri(HttpServer.Request, ClientRegistration) - Static method in class com.codename1.backend.security.oauth2.client.DefaultOAuth2AuthorizationRequestResolver
-
The registration's redirect address with
{baseUrl}and{registrationId}filled in. - redirectUri(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
-
{baseUrl}/login/oauth2/code/{registrationId}unless set. - redirectUri(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient.Builder
- reduce(T, BinaryOperator) - Method in interface java.util.stream.Stream
- Reference - Class in java.lang.ref
-
Abstract base class for reference objects.
- Reference() - Constructor for class java.lang.ref.Reference
- reflectAs(Class, MethodHandle) - Static method in class java.lang.invoke.MethodHandles
- refresh() - Static method in class com.codename1.backend.mvc.Htmx
- refresh() - Method in class com.codename1.backend.security.oauth2.jwt.RemoteJwkSet
-
The keys, fetched again unless a fetch is in progress or the refresh interval has not elapsed.
- refresh(Object) - Method in interface com.codename1.orm.session.Session
-
Reloads a persisted managed instance, discarding its local changes.
- REFRESH - Enum constant in enum com.codename1.annotations.db.CascadeType
-
Reloads related entities from storage.
- REFRESH_TOKEN - Static variable in class com.codename1.backend.security.oauth2.core.AuthorizationGrantType
- REFRESH_TOKEN - Static variable in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
The kind of a refresh token.
- refreshTokenTimeToLive(long) - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings.Builder
- regionMatches(boolean, int, String, int, int) - Method in class java.lang.String
-
Tests if two string regions are equal.
- regionMatches(int, String, int, int) - Method in class java.lang.String
-
Compares the specified string to this string and compares the specified range of characters to determine if they are the same.
- register(HttpServer.WebSocketRegistry) - Method in interface com.codename1.backend.HttpServer.WebSocketRoutes
- register(HttpServer.WebSocketRegistry, DataSource, EntityManager) - Method in interface com.codename1.backend.Backend.WebSocketEndpoints
- register(EntityDefinition) - Static method in class com.codename1.backend.orm.EntityManager
-
Installs a generated definition.
- register(MigrationSet) - Static method in class com.codename1.backend.Migrations
-
Registers a migration set.
- registerCredential(PublicKeyCredentialCreationOptions, Map, String) - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
Verifies the answer to
optionsand stores the credential. - registered() - Static method in class com.codename1.backend.orm.EntityManager
-
Every registered definition, in registration order.
- RegisteredClient - Class in com.codename1.backend.security.oauth2.server.authorization
-
A client this authorization server issues tokens to.
- RegisteredClient.Builder - Class in com.codename1.backend.security.oauth2.server.authorization
-
Builds a
RegisteredClient. - registeredClientRepository(RegisteredClientRepository) - Method in class com.codename1.backend.security.AuthorizationServerConfigurer
-
The clients, in place of the application's bean.
- RegisteredClientRepository - Interface in com.codename1.backend.security.oauth2.server.authorization
-
The clients an authorization server knows.
- REGISTRATION - Static variable in class com.codename1.backend.security.oauth2.client.ClientRegistrations
-
The prefix of every registration's settings.
- rehash() - Method in class java.util.Hashtable
-
Increases the capacity of this
Hashtable. - reject(String) - Method in class com.codename1.backend.mvc.BindingResult
- rejectValue(String, String) - Method in class com.codename1.backend.mvc.BindingResult
- relativize(URI) - Method in class java.net.URI
-
Create a relative URI object against this URI, given the uri parameter.
- relay() - Method in class com.codename1.backend.otel.OtlpTracer
- relay() - Method in interface com.codename1.backend.Tracer
-
The handler that relays client spans to the collector, or null when this deployment does not offer one.
- RELAY - Static variable in class com.codename1.backend.otel.OtlpTracer
- RELAY_CORS_ORIGIN - Static variable in class com.codename1.backend.otel.OtlpTracer
- RELAY_MAX_BYTES - Static variable in class com.codename1.backend.otel.OtlpTracer
- RELAY_MAX_SPANS - Static variable in class com.codename1.backend.otel.OtlpTracer
- RELAY_PATH - Static variable in class com.codename1.backend.otel.OtlpTracer
- RELAY_TOKEN - Static variable in class com.codename1.backend.otel.OtlpTracer
- release(Database) - Method in class com.codename1.backend.DataSource
-
Returns a borrowed connection to the pool.
- release(Db) - Method in class com.codename1.backend.DbPool
- releaseSavepoint(String) - Method in class com.codename1.backend.Database
-
Forgets a savepoint, keeping what was done since it.
- relyingPartyOperations(WebAuthnRelyingPartyOperations) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
The ceremonies themselves, made by the application: everything set here about the relying party and the repositories is then its.
- remaining(String) - Method in class com.codename1.backend.security.mfa.RecoveryCodeService
-
How many codes
usernamehas left. - rememberMe() - Static method in class com.codename1.backend.security.AuthenticatedAuthorizationManager
-
The caller was recognized by a remember-me cookie.
- rememberMe() - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizedUrl
-
Recognized by a remember-me cookie, and not signed in since.
- rememberMe(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
A cookie that signs a returning user in; see
RememberMeConfigurer. - RememberMeAuthenticationFilter - Class in com.codename1.backend.security
-
Recognizes a returning user by their remember-me cookie, on a request nobody has signed in for.
- RememberMeAuthenticationToken - Class in com.codename1.backend.security
-
Who a request is from when the user was recognized by a remember-me cookie rather than signing in during this session.
- RememberMeAuthenticationToken(String, Object, Collection) - Constructor for class com.codename1.backend.security.RememberMeAuthenticationToken
- RememberMeAuthenticationToken(String, Object, Collection, boolean) - Constructor for class com.codename1.backend.security.RememberMeAuthenticationToken
- RememberMeConfigurer - Class in com.codename1.backend.security
-
Remember-me: a cookie that signs a returning user in.
- rememberMeCookieName(String) - Method in class com.codename1.backend.security.RememberMeConfigurer
-
The cookie's name;
remember-meunless set. - rememberMeParameter(String) - Method in class com.codename1.backend.security.RememberMeConfigurer
-
The form field that asks to be remembered;
remember-meunless set. - rememberMeRequested(HttpServer.Request) - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
-
Whether
requestasks for the user to be remembered: this is set to remember always, the request's exchange says so, or the form field istrue,on,yesor1. - rememberMeServices(RememberMeServices) - Method in class com.codename1.backend.security.RememberMeConfigurer
-
Services of the application's own, in place of everything else here.
- RememberMeServices - Interface in com.codename1.backend.security.rememberme
-
What remembers a user between sessions: issues the cookie at sign-in, and recognizes it on a request nobody has signed in for.
- RemoteJwkSet - Class in com.codename1.backend.security.oauth2.jwt
-
The keys another server publishes at its
jwks_uri, fetched when they are first needed and kept. - RemoteJwkSet(String) - Constructor for class com.codename1.backend.security.oauth2.jwt.RemoteJwkSet
- RemoteJwkSet(String, RemoteJwkSet.Fetcher) - Constructor for class com.codename1.backend.security.oauth2.jwt.RemoteJwkSet
- RemoteJwkSet.Fetcher - Interface in com.codename1.backend.security.oauth2.jwt
-
Fetches the text at an address.
- remove() - Method in class java.lang.ThreadLocal
- remove() - Method in class java.util.AbstractQueue
-
Removes the element at the head of the queue and returns it.
- remove() - Method in class java.util.ArrayDeque
-
Gets and removes the head element of this deque.
- remove() - Method in interface java.util.Iterator
-
Removes the last object returned by
nextfrom the collection. - remove() - Method in class java.util.LinkedList
- remove() - Method in interface java.util.ListIterator
-
Removes the last object returned by
nextorpreviousfrom the list. - remove() - Method in interface java.util.Queue
-
Gets and removes the element at the head of the queue.
- remove(int) - Method in class com.codename1.backend.Reactor
- remove(int) - Method in class java.util.AbstractList
-
Removes the object at the specified location from this list.
- remove(int) - Method in class java.util.AbstractSequentialList
- remove(int) - Method in class java.util.ArrayList
-
Removes the object at the specified location from this list.
- remove(int) - Method in class java.util.LinkedList
-
Removes the object at the specified location from this
LinkedList. - remove(int) - Method in interface java.util.List
-
Removes the object at the specified location from this
List. - remove(int) - Method in class java.util.Vector
-
Removes the object at the specified location from this vector.
- remove(Object) - Method in interface com.codename1.orm.session.Session
-
Schedules a managed entity for deletion, cascading REMOVE associations.
- remove(Object) - Method in class java.util.AbstractCollection
-
Removes one instance of the specified object from this
Collectionif one is contained (optional). - remove(Object) - Method in class java.util.AbstractMap
-
Removes a mapping with the specified key from this Map.
- remove(Object) - Method in class java.util.ArrayDeque
-
Removes the first equivalent element of the specified object.
- remove(Object) - Method in class java.util.ArrayList
- remove(Object) - Method in interface java.util.Collection
-
Removes one instance of the specified object from this
Collectionif one is contained (optional). - remove(Object) - Method in class java.util.Dictionary
-
Removes the key/value pair with the specified
keyfrom this dictionary. - remove(Object) - Method in class java.util.HashMap
-
Removes the mapping with the specified key from this map.
- remove(Object) - Method in class java.util.HashSet
-
Removes the specified object from this
HashSet. - remove(Object) - Method in class java.util.Hashtable
-
Removes the key/value pair with the specified key from this
Hashtable. - remove(Object) - Method in class java.util.IdentityHashMap
-
Removes the mapping with the specified key from this map.
- remove(Object) - Method in class java.util.LinkedHashMap
-
Removes the mapping with the specified key from this map.
- remove(Object) - Method in class java.util.LinkedList
- remove(Object) - Method in interface java.util.List
-
Removes the first occurrence of the specified object from this
List. - remove(Object) - Method in interface java.util.Map
-
Removes a mapping with the specified key from this
Map. - remove(Object) - Method in class java.util.PriorityQueue
-
Removes the specified object from the priority queue.
- remove(Object) - Method in interface java.util.Set
-
Removes the specified object from this set.
- remove(Object) - Method in class java.util.TreeMap
-
Removes the mapping with the specified key from this map.
- remove(Object) - Method in class java.util.TreeSet
-
Removes an occurrence of the specified object from this
TreeSet. - remove(Object) - Method in class java.util.Vector
-
Removes the first occurrence, starting at the beginning and moving towards the end, of the specified object from this vector.
- remove(Object, Object) - Method in interface java.util.Map
-
Removes the entry for the specified key only if it is currently mapped to the specified value.
- remove(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- remove(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- remove(String) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
Removes the grant and every secret issued under it.
- REMOVE - Enum constant in enum com.codename1.annotations.db.CascadeType
-
Removes related entities.
- removeAll(Collection) - Method in class java.util.AbstractCollection
-
Removes all occurrences in this
Collectionof each object in the specifiedCollection(optional). - removeAll(Collection) - Method in class java.util.AbstractSet
-
Removes all occurrences in this collection which are contained in the specified collection.
- removeAll(Collection) - Method in interface java.util.Collection
-
Removes all occurrences in this
Collectionof each object in the specifiedCollection(optional). - removeAll(Collection) - Method in interface java.util.List
-
Removes all occurrences in this
Listof each object in the specified collection. - removeAll(Collection) - Method in interface java.util.Set
-
Removes all objects in the specified collection from this set.
- removeAll(Collection) - Method in class java.util.Vector
-
Removes all occurrences in this vector of each object in the specified Collection.
- removeAllElements() - Method in class java.util.Vector
-
Removes all elements from this vector, leaving the size zero and the capacity unchanged.
- removeAttribute(String) - Method in class com.codename1.backend.HttpSession
- removeAuthorizationRequest(HttpServer.Request) - Method in interface com.codename1.backend.security.oauth2.client.AuthorizationRequestRepository
-
Takes back what was kept for this browser, so that it answers one callback and no more; null when nothing was.
- removeAuthorizationRequest(HttpServer.Request) - Method in class com.codename1.backend.security.oauth2.client.CookieOAuth2AuthorizationRequestRepository
- removeAuthorizationRequest(HttpServer.Request) - Method in class com.codename1.backend.security.oauth2.client.HttpSessionOAuth2AuthorizationRequestRepository
- removeEldestEntry(Map.Entry) - Method in class java.util.LinkedHashMap
-
This method is queried from the put and putAll methods to check if the eldest member of the map should be deleted before adding the new member.
- removeElement(Object) - Method in class java.util.Vector
-
Removes the first occurrence, starting at the beginning and moving towards the end, of the specified object from this vector.
- removeElementAt(int) - Method in class java.util.Vector
-
Removes the element found at index position
locationfrom thisVector. - removeFirst() - Method in class java.util.ArrayDeque
-
Gets and removes the head element of this deque.
- removeFirst() - Method in interface java.util.Deque
-
Gets and removes the head element of this deque.
- removeFirst() - Method in class java.util.LinkedList
-
Removes the first object from this
LinkedList. - removeFirstOccurrence(Object) - Method in class java.util.ArrayDeque
-
Removes the first equivalent element of the specified object.
- removeFirstOccurrence(Object) - Method in interface java.util.Deque
-
Removes the first equivalent element of the specified object.
- removeFirstOccurrence(Object) - Method in class java.util.LinkedList
-
Removes the first equivalent element of the specified object.
- removeIf(Predicate) - Method in interface java.util.Collection
-
Removes all of the elements of this collection that satisfy the given predicate.
- removeLast() - Method in class java.util.ArrayDeque
-
Gets and removes the tail element of this deque.
- removeLast() - Method in interface java.util.Deque
-
Gets and removes the tail element of this deque.
- removeLast() - Method in class java.util.LinkedList
-
Removes the last object from this
LinkedList. - removeLastOccurrence(Object) - Method in class java.util.ArrayDeque
-
Removes the last equivalent element of the specified object.
- removeLastOccurrence(Object) - Method in interface java.util.Deque
-
Removes the last equivalent element of the specified object.
- removeLastOccurrence(Object) - Method in class java.util.LinkedList
-
Removes the last equivalent element of the specified object.
- removeRange(int, int) - Method in class java.util.AbstractList
-
Removes the objects in the specified range from the start to the end index minus one.
- removeRange(int, int) - Method in class java.util.ArrayList
-
Removes the objects in the specified range from the start to the end, but not including the end index.
- removeRange(int, int) - Method in class java.util.Vector
-
Removes the objects in the specified range from the start to the, but not including, end index.
- removeRequest(HttpServer.Request) - Method in class com.codename1.backend.security.HttpSessionRequestCache
- removeRequest(HttpServer.Request) - Method in class com.codename1.backend.security.NullRequestCache
- removeRequest(HttpServer.Request) - Method in interface com.codename1.backend.security.RequestCache
-
Forgets it.
- removeToken(String) - Method in class com.codename1.backend.security.rememberme.InMemoryTokenRepositoryImpl
- removeToken(String) - Method in class com.codename1.backend.security.rememberme.JdbcTokenRepository
- removeToken(String) - Method in interface com.codename1.backend.security.rememberme.PersistentTokenRepository
-
Forgets one series: one browser.
- removeUserTokens(String) - Method in class com.codename1.backend.security.rememberme.InMemoryTokenRepositoryImpl
- removeUserTokens(String) - Method in class com.codename1.backend.security.rememberme.JdbcTokenRepository
- removeUserTokens(String) - Method in interface com.codename1.backend.security.rememberme.PersistentTokenRepository
-
Forgets every series of a user: every browser they were remembered in.
- repair() - Method in class com.codename1.migration.Migrator
-
Deletes the rows of failed migrations and rewrites recorded checksums to match the scripts in this build.
- repeatable(String, String) - Method in class com.codename1.migration.MigrationSet.Builder
-
Adds a repeatable script: it runs after the versioned ones, and again whenever its text changes.
- repeatable(String, String, String) - Method in class com.codename1.migration.MigrationSet.Builder
-
Adds a repeatable script for one engine.
- replace(char, char) - Method in class java.lang.String
-
Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar.
- replace(CharSequence, CharSequence) - Method in class java.lang.String
-
Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence.
- replace(String, List) - Method in class com.codename1.backend.security.mfa.InMemoryRecoveryCodeRepository
- replace(String, List) - Method in class com.codename1.backend.security.mfa.JdbcRecoveryCodeRepository
- replace(String, List) - Method in interface com.codename1.backend.security.mfa.RecoveryCodeRepository
-
Replaces every code of
usernamewith these hashes. - replace(K, V) - Method in interface java.util.Map
-
Replaces the entry for the specified key only if it is currently mapped to some value.
- replace(K, V, V) - Method in interface java.util.Map
-
Replaces the entry for the specified key only if currently mapped to the specified value.
- replaceAll(BiFunction) - Method in interface java.util.Map
-
Replaces each entry's value with the result of invoking the given function on that entry.
- replaceAll(UnaryOperator) - Method in interface java.util.List
-
Replaces each element of this list with the result of applying the operator to that element.
- replaceAll(List, T, T) - Static method in class java.util.Collections
-
Replaces all occurrences of Object
objinlistwithnewObj. - report() - Static method in class com.codename1.backend.VirtualThread
-
Print created/finished/freed counts to stderr, for diagnosis.
- reportOnly() - Method in class com.codename1.backend.security.HeadersConfigurer.ContentSecurityPolicyConfig
-
Sends the policy as
Content-Security-Policy-Report-Only. - repository(ApiKeyRepository) - Method in class com.codename1.backend.security.ApiKeyConfigurer
-
Where keys are looked up, in place of the application's bean.
- request(String, int, String, String, byte[]) - Static method in class com.codename1.backend.Http
- request(String, String, Object...) - Static method in class com.codename1.backend.test.MockMvcRequestBuilders
-
Any method, by name.
- request(String, String, List, byte[]) - Static method in class com.codename1.backend.Web
-
headers: a list of "Name: value" strings, or null
- REQUEST_HEADER_FIELDS_TOO_LARGE - Enum constant in enum com.codename1.backend.test.HttpStatus
- REQUEST_TIMEOUT - Enum constant in enum com.codename1.backend.test.HttpStatus
- RequestAuthorizationContext - Class in com.codename1.backend.security
-
What a request rule is asked about: the request, and the variables its pattern bound.
- RequestAuthorizationContext(HttpServer.Request) - Constructor for class com.codename1.backend.security.RequestAuthorizationContext
- RequestAuthorizationContext(HttpServer.Request, Map) - Constructor for class com.codename1.backend.security.RequestAuthorizationContext
- RequestBody - Annotation Type in com.codename1.backend.annotations
-
Binds the decoded request body to this parameter.
- requestCache(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
Where an anonymous request's address is remembered; see
RequestCacheConfigurer. - requestCache(RequestCache) - Method in class com.codename1.backend.security.RequestCacheConfigurer
- RequestCache - Interface in com.codename1.backend.security
-
Remembers where an anonymous request was going, so that signing in can send the user there instead of to a fixed page.
- RequestCacheConfigurer - Class in com.codename1.backend.security
-
Whether a chain remembers where an anonymous request was going; see
RequestCache. - REQUESTED_ATTRIBUTE - Static variable in interface com.codename1.backend.security.rememberme.RememberMeServices
-
The attribute of the request's
SecurityExchangethat says the user asked to be remembered, when the request that completes the sign-in is not the one that carried the checkbox: set toBoolean.TRUEbeforeRememberMeServices.loginSuccess(HttpServer.Request, Authentication)by whatever finishes a sign-in in a second step. - REQUESTED_RANGE_NOT_SATISFIABLE - Enum constant in enum com.codename1.backend.test.HttpStatus
- RequestHeader - Annotation Type in com.codename1.backend.annotations
-
Binds a request header to this parameter.
- RequestMapping - Annotation Type in com.codename1.backend.annotations
-
A path, and optionally a verb, for a controller or one of its methods.
- RequestMatcher - Interface in com.codename1.backend.security
-
Decides whether a rule applies to a request: which chain guards it, which authorization rule covers it, which requests CSRF protection leaves alone.
- RequestMatcher.MatchResult - Class in com.codename1.backend.security
-
Whether a request matched, and the variables its pattern bound.
- requestMatchers(RequestMatcher...) - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizationManagerRequestMatcherRegistry
-
The requests any of these matchers match.
- requestMatchers(String...) - Method in class com.codename1.backend.security.AuthorizeHttpRequestsConfigurer.AuthorizationManagerRequestMatcherRegistry
-
The requests whose path matches any of these Ant patterns; see
AntPathRequestMatcher. - RequestMatchers - Class in com.codename1.backend.security
-
Combines matchers: all of them, any of them, or not one.
- RequestParam - Annotation Type in com.codename1.backend.annotations
-
Binds a request parameter to this parameter: the query string's value, or, when the query has none, a field of the form the body carries --
application/x-www-form-urlencoded, or amultipart/form-datapart that is not a file. - RequestPart - Annotation Type in com.codename1.backend.annotations
-
Binds one part of a
multipart/form-datarequest body to this parameter. - RequestPostProcessor - Interface in com.codename1.backend.test
-
Changes a request
MockMvcis about to send: whatMockRequestBuilder.with(RequestPostProcessor)takes. - require(Model, String, String) - Static method in class com.codename1.backend.mvc.Html
- requireAuthorizationConsent(boolean) - Method in class com.codename1.backend.security.oauth2.server.authorization.ClientSettings.Builder
-
Accepted as false only; see
ClientSettings.isRequireAuthorizationConsent(). - requireCsrfProtectionMatcher(RequestMatcher) - Method in class com.codename1.backend.security.CsrfConfigurer
-
Which requests must carry the token; every one that is not a GET, HEAD, TRACE or OPTIONS unless set.
- required() - Element in annotation type com.codename1.backend.annotations.Autowired
-
Whether a bean must exist.
- required() - Element in annotation type com.codename1.backend.annotations.McpParam
-
Whether the call must supply it.
- required() - Element in annotation type com.codename1.backend.annotations.PathVariable
-
Whether a request without it is rejected.
- required() - Element in annotation type com.codename1.backend.annotations.RequestBody
-
Whether a request with no body is rejected.
- required() - Element in annotation type com.codename1.backend.annotations.RequestHeader
-
Whether a request without it is rejected.
- required() - Element in annotation type com.codename1.backend.annotations.RequestParam
-
Whether a request without it is rejected.
- required() - Element in annotation type com.codename1.backend.annotations.RequestPart
-
Whether a request without the part is rejected.
- REQUIRED - Enum constant in enum com.codename1.backend.annotations.Propagation
-
Joins the open transaction, or opens one.
- REQUIRED_AUTHORITIES - Static variable in class com.codename1.backend.security.AuthorizationFilter
-
The attribute of the request's
SecurityExchangethat holds, as a list of text, the authorities any one of which the rule that refused the request would have accepted. - requireDataSource(DataSource, String) - Static method in class com.codename1.backend.Backend
-
The pool, or a refusal naming the handler that asked for one.
- requireEntities(EntityManager, String) - Static method in class com.codename1.backend.Backend
-
The entity manager, or a refusal naming the handler that asked for one.
- requireNonNull(T) - Static method in class java.util.Objects
- requireNonNull(T, String) - Static method in class java.util.Objects
- requireProofKey(boolean) - Method in class com.codename1.backend.security.oauth2.server.authorization.ClientSettings.Builder
- requires(Authentication) - Method in class com.codename1.backend.security.SecondFactorAuthenticationFilter
- requires(Authentication) - Method in interface com.codename1.backend.security.SecondFactorPolicy
-
Whether
authenticationis of a user who has a second factor, so that a first factor alone must not make a request theirs. - REQUIRES_NEW - Enum constant in enum com.codename1.backend.annotations.Propagation
-
Suspends the open transaction, if any, and opens its own on another connection.
- requiresDataSource() - Method in class com.codename1.backend.Backend.Builder
-
Says that the handlers this server builds need a database, so one is opened even when nothing else asks for it.
- reset() - Method in class com.codename1.backend.ByteSink
- reset() - Method in class com.codename1.io.gzip.Adler32
- reset() - Method in class com.codename1.io.gzip.CRC32
- reset() - Method in class com.codename1.io.gzip.FilterInputStream
- reset() - Method in class com.codename1.io.gzip.InflaterInputStream
- reset() - Method in class com.codename1.security.Hash
-
Resets the running digest so the instance can be reused.
- reset() - Method in class com.codename1.security.Hmac
-
Resets the running HMAC so the instance can be reused with the same key.
- reset() - Method in class java.io.ByteArrayInputStream
-
Resets the buffer to the marked position.
- reset() - Method in class java.io.ByteArrayOutputStream
-
Resets the count field of this byte array output stream to zero, so that all currently accumulated output in the output stream is discarded.
- reset() - Method in class java.io.DataInputStream
-
Repositions this stream to the position at the time the mark method was last called on this input stream.
- reset() - Method in class java.io.InputStream
-
Repositions this stream to the position at the time the mark method was last called on this input stream.
- reset() - Method in class java.io.InputStreamReader
-
Reset the stream.
- reset() - Method in class java.io.Reader
-
Reset the stream.
- reset() - Method in class java.io.StringReader
-
Resets this reader's position to the last
mark()location. - reset(long) - Method in class com.codename1.io.gzip.Adler32
- reset(long) - Method in class com.codename1.io.gzip.CRC32
- reset(String) - Method in class com.codename1.backend.security.ratelimit.InMemoryRateLimiter
- reset(String) - Method in class com.codename1.backend.security.ratelimit.JdbcRateLimiter
-
Deletes the row of
key. - reset(String) - Method in interface com.codename1.backend.security.ratelimit.RateLimiter
-
Forgets what was counted under
key, so the next request under it is counted from nothing. - residentKey(String) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
Whether a new credential must be one a sign-in can find without being told the user:
required-- the default --preferredordiscouraged. - resolve() - Static method in class com.codename1.backend.aws.Credentials
-
The first source that answers, in the order documented on this class.
- resolve(int) - Static method in enum com.codename1.backend.test.HttpStatus
-
The constant for
code, or null when there is none. - resolve(HttpServer.Request) - Method in interface com.codename1.backend.security.AuthenticationManagerResolver
-
The manager for
request. - resolve(HttpServer.Request) - Method in class com.codename1.backend.security.oauth2.client.DefaultOAuth2AuthorizationRequestResolver
- resolve(HttpServer.Request) - Method in interface com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequestResolver
-
The request to send the browser away with, or null when
requestdoes not start a sign-in. - resolve(HttpServer.Request) - Method in interface com.codename1.backend.security.oauth2.server.resource.BearerTokenResolver
-
The token, or null when the request carries none.
- resolve(HttpServer.Request) - Method in class com.codename1.backend.security.oauth2.server.resource.DefaultBearerTokenResolver
- resolve(HttpServer.Request) - Method in class com.codename1.backend.security.oauth2.server.resource.JwtIssuerAuthenticationManagerResolver
-
One manager for every request: it routes each token by its issuer.
- resolve(HttpServer.Request) - Method in interface com.codename1.backend.security.ratelimit.RateLimitKeyResolver
-
The key, or null when the request has none -- nobody is signed in, it has no session -- and the limit does not apply to it.
- resolve(ClientRegistration, RemoteJwkSet.Fetcher) - Static method in class com.codename1.backend.security.oauth2.client.ClientRegistrations
-
registrationwith the endpoints it does not name read from its issuer's metadata; itself when it names them all. - resolve(SessionCreationPolicy, boolean) - Method in class com.codename1.backend.security.RequestCacheConfigurer
- resolve(URI) - Method in class java.net.URI
-
Resolve a relative URI by merging it with this URI.
- resolveClientSecret() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration
-
The secret to send now: the fixed one, or what the supplier gives.
- resource(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient.Builder
-
A resource server this client may ask for tokens for, named as the client names it in the
resourceparameter of a request (RFC 8707): an absolute address with no fragment, compared whole. - RESOURCE_ATTRIBUTES - Static variable in class com.codename1.backend.otel.OtlpTracer
- respond(int, int, String, List, byte[]) - Method in class com.codename1.backend.Http2
-
extraHeaders: "name: value" strings.
- respond(int, String, byte[]) - Method in class com.codename1.backend.HttpServer.Request
-
A Response for this request WITHOUT allocating one.
- respondFile(int, int, String, List, int, long, long) - Method in class com.codename1.backend.Http2
-
Responds with a range of an open file, without reading it into the heap.
- respondJson(int, Object) - Method in class com.codename1.backend.HttpServer.Request
-
A JSON response on the connection's pooled Response, serialised straight from the value.
- Response(int, String, byte[]) - Constructor for class com.codename1.backend.HttpServer.Response
- Response(int, String, byte[], Map) - Constructor for class com.codename1.backend.HttpServer.Response
-
A body AND application headers, which nothing public could express.
- ResponseBody - Annotation Type in com.codename1.backend.annotations
-
Build-time MVC declaration.
- ResponseEntity<T> - Class in com.codename1.backend.test
-
A
TestRestTemplateresponse: status, headers and the body converted to the type asked for. - responseMode(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
-
ClientRegistration.FORM_POST, or null. - ResponseStatus - Annotation Type in com.codename1.backend.annotations
-
The status this method answers with when it returns normally.
- RestController - Annotation Type in com.codename1.backend.annotations
-
Marks a class whose methods answer HTTP requests.
- ResultActions - Class in com.codename1.backend.test
-
What to do with a
MockMvcresult: assert on it, act on it, or return it. - ResultHandler - Interface in com.codename1.backend.test
-
Something done with a
MockMvcresult, such asMockMvcResultHandlers.print(). - ResultMatcher - Interface in com.codename1.backend.test
-
One expectation of a
MockMvcresult, fromMockMvcResultMatchers. - resume(long) - Static method in class com.codename1.backend.VirtualThread
-
Run it until it parks, yields or finishes.
- resyncGeneratedKey() - Method in class com.codename1.backend.orm.Dao
-
Puts the generated key back in step after rows were inserted with keys of their own.
- resyncGeneratedKey(String, String) - Method in class com.codename1.backend.sql.Dialect
-
A statement that puts a generated key back in step with the rows that are there, or null when the engine needs none.
- retainAll(Collection) - Method in class java.util.AbstractCollection
-
Removes all objects from this
Collectionthat are not also found in theCollectionpassed (optional). - retainAll(Collection) - Method in interface java.util.Collection
-
Removes all objects from this
Collectionthat are not also found in theCollectionpassed (optional). - retainAll(Collection) - Method in interface java.util.List
-
Removes all objects from this
Listthat are not contained in the specified collection. - retainAll(Collection) - Method in interface java.util.Set
-
Removes all objects from this set that are not contained in the specified collection.
- retainAll(Collection) - Method in class java.util.Vector
-
Removes all objects from this vector that are not contained in the specified collection.
- Retention - Annotation Type in java.lang.annotation
- RetentionPolicy - Enum in java.lang.annotation
-
A mirror of java.lang.annotation.RetentionPolicy.
- retryAfterSeconds(String) - Method in class com.codename1.backend.security.ratelimit.InMemoryRateLimiter
- retryAfterSeconds(String) - Method in class com.codename1.backend.security.ratelimit.JdbcRateLimiter
- retryAfterSeconds(String) - Method in interface com.codename1.backend.security.ratelimit.RateLimiter
-
How many seconds a request just refused under
keyshould wait before trying again: what itsRetry-Aftersays. - returnType() - Method in class java.lang.invoke.MethodType
- reuseRefreshTokens(boolean) - Method in class com.codename1.backend.security.oauth2.server.authorization.TokenSettings.Builder
- revealDirect(MethodHandle) - Method in class java.lang.invoke.MethodHandles.Lookup
- reverse() - Method in class java.lang.StringBuffer
-
The character sequence contained in this string buffer is replaced by the reverse of the sequence.
- reverse() - Method in class java.lang.StringBuilder
-
The character sequence contained in this string builder is replaced by the reverse of the sequence.
- reverse(List) - Static method in class java.util.Collections
-
Modifies the specified
Listby reversing the order of the elements. - reverseBytes(char) - Static method in class java.lang.Character
-
Reverse the order of the first and second bytes in character
- reverseOrder() - Static method in class java.util.Collections
-
A comparator which reverses the natural order of the elements.
- reverseOrder(Comparator) - Static method in class java.util.Collections
-
Returns a
Comparatorthat reverses the order of theComparatorpassed. - revoke() - Method in class com.codename1.backend.security.apikey.ApiKey
-
This key, withdrawn.
- revoke(String) - Method in class com.codename1.backend.security.apikey.InMemoryApiKeyRepository
-
Withdraws the key with this id.
- revoke(String) - Method in class com.codename1.backend.security.apikey.JdbcApiKeyRepository
-
Revokes the key with this id.
- roles() - Element in annotation type com.codename1.backend.test.WithMockUser
-
The user's roles, each granted as
ROLE_and the name. - roles(String...) - Method in class com.codename1.backend.security.core.userdetails.User.UserBuilder
-
Grants roles: each name gets the
ROLE_prefix, soroles("ADMIN")isauthorities("ROLE_ADMIN"). - roles(String...) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor
-
The user's roles, each granted as
ROLE_and the name, in place of what was granted before. - RolesAllowed - Annotation Type in com.codename1.backend.annotations
-
Lets this method -- or every public method of this class -- run only for a caller holding one of these roles:
@RolesAllowed("ADMIN")asks for the authorityROLE_ADMIN. - rollback() - Method in class com.codename1.backend.sql.MySql
- rollbackFor() - Element in annotation type com.codename1.backend.annotations.Transactional
-
Exception types that roll back, in addition to unchecked ones.
- rollbackToSavepoint(String) - Method in class com.codename1.backend.Database
-
Undoes everything since the savepoint, keeping the transaction open.
- rollbackTransaction() - Method in class com.codename1.backend.Database
-
Rolls back the transaction opened through this API.
- rollbackTransaction() - Method in interface com.codename1.orm.session.Session
-
Rolls back the active transaction and detaches all managed entities.
- rotate(List, int) - Static method in class java.util.Collections
-
Rotates the elements in
listby the distancedist - round(double) - Static method in class java.lang.Math
-
Returns the result of rounding the argument to an integer.
- round(float) - Static method in class java.lang.Math
-
Returns the result of rounding the argument to an integer.
- route(String) - Static method in class com.codename1.backend.Tracing
-
Names the current server span after the route that matched.
- route(String, WebSocket) - Method in interface com.codename1.backend.HttpServer.WebSocketRegistry
-
Serves
pathwithendpoint. - RP_ID_MISMATCH - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The authenticator answered for another relying party.
- rpId(String) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
The relying party id: the domain passkeys are bound to, such as
example.com. - rpName(String) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
What the user is shown as the site's name; the id unless set.
- RS256 - Enum constant in enum com.codename1.backend.security.oauth2.jose.jws.SignatureAlgorithm
-
RSASSA-PKCS1-v1_5 with SHA-256.
- RS256 - Static variable in class com.codename1.backend.Crypto
-
RSASSA-PKCS1-v1_5 over SHA-256, SHA-384 and SHA-512: the same bytes for the same key and message, every time.
- RS256 - Static variable in class com.codename1.backend.security.webauthn.CoseKey
-
The COSE identifier of RS256: RSASSA-PKCS1-v1_5 with SHA-256.
- RS384 - Enum constant in enum com.codename1.backend.security.oauth2.jose.jws.SignatureAlgorithm
-
RSASSA-PKCS1-v1_5 with SHA-384.
- RS384 - Static variable in class com.codename1.backend.Crypto
- RS512 - Enum constant in enum com.codename1.backend.security.oauth2.jose.jws.SignatureAlgorithm
-
RSASSA-PKCS1-v1_5 with SHA-512.
- RS512 - Static variable in class com.codename1.backend.Crypto
- RSA - Static variable in class com.codename1.backend.security.crypto.Der
-
The key type of an RSA key, as a JSON Web Key names it.
- rsaModulusBits(byte[]) - Static method in class com.codename1.backend.security.crypto.Der
-
The size of an RSA public key: the bits of its modulus.
- rsaPublicKey(byte[], byte[]) - Static method in class com.codename1.backend.security.crypto.Der
-
The SubjectPublicKeyInfo of an RSA public key.
- rsaPublicKeyParts(byte[]) - Static method in class com.codename1.backend.security.crypto.Der
-
The modulus and the public exponent of an RSA SubjectPublicKeyInfo, each an unsigned big-endian number without leading zeros.
- run() - Method in class com.codename1.backend.Backend.Builder
-
Starts the server, drains it on SIGTERM or SIGINT, and blocks until it stops.
- run() - Method in interface java.lang.Runnable
-
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
- run() - Method in class java.lang.Thread
-
If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns.
- run(Database) - Method in interface com.codename1.backend.Database.Work
- run(Database) - Method in interface com.codename1.backend.DataSource.Work
- run(Db) - Method in interface com.codename1.backend.Db.Work
- run(Handler) - Static method in class com.codename1.backend.LambdaRuntime
-
Runs the invocation loop until the process is killed, which is how a Lambda runtime is supposed to end - the host freezes or terminates the instance.
- run(EntityManager) - Method in interface com.codename1.backend.orm.EntityManager.Work
- run(Span) - Method in interface com.codename1.backend.Tracing.Work
- Runnable - Interface in java.lang
-
The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
- RUNNABLE - Static variable in class com.codename1.backend.VirtualThread
-
VirtualThread.resume(long): it gave up its turn but is ready to run again NOW. - Runtime - Class in java.lang
-
Every Java application has a single instance of class Runtime that allows the application to interface with the environment in which the application is running.
- Runtime() - Constructor for class java.lang.Runtime
- RUNTIME - Enum constant in enum java.lang.annotation.RetentionPolicy
- RuntimeException - Exception Class in java.lang
-
RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
- RuntimeException() - Constructor for exception class java.lang.RuntimeException
-
Constructs a RuntimeException with no detail message.
- RuntimeException(String) - Constructor for exception class java.lang.RuntimeException
-
Constructs a RuntimeException with the specified detail message.
- RuntimeException(String, Throwable) - Constructor for exception class java.lang.RuntimeException
-
Constructs a RuntimeException with the specified detail message and cause.
- RuntimeException(Throwable) - Constructor for exception class java.lang.RuntimeException
-
Constructs a RuntimeException with specified cause.
S
- S3 - Class in com.codename1.backend.aws
-
Amazon S3, and anything that speaks its API (MinIO, Cloudflare R2, Backblaze B2, Wasabi, Ceph) -- which is why the endpoint is configurable rather than assembled from a region alone.
- S3.ObjectInfo - Class in com.codename1.backend.aws
-
What
S3.headObject(String, String)reports. - safeUrl(String) - Static method in class com.codename1.backend.mvc.Html
- SafeVarargs - Annotation Type in java.lang
- sameOrigin() - Method in class com.codename1.backend.security.HeadersConfigurer.FrameOptionsConfig
-
A page may be framed by a page of the same origin.
- sameSite(String) - Method in class com.codename1.backend.security.RememberMeConfigurer
-
The cookie's
SameSite:Laxunless set; null for none. - sampler() - Element in annotation type com.codename1.backend.annotations.OpenTelemetry
-
cn1.otel.sampler, such astraceidratio. - SAMPLER - Static variable in class com.codename1.backend.otel.OtlpTracer
- SAMPLER_ARG - Static variable in class com.codename1.backend.otel.OtlpTracer
- samplerArg() - Element in annotation type com.codename1.backend.annotations.OpenTelemetry
-
cn1.otel.sampler.arg: the ratio for the ratio samplers. - sanitizeErrorCode(String) - Static method in class com.codename1.backend.security.oauth2.client.DefaultAuthorizationCodeTokenResponseClient
-
The
errorparameter of a callback, reduced to an error code as RFC 6749 spells one: anything else a provider sent comes back asinvalid_request. - satisfied(HttpServer.Request, Authentication) - Method in class com.codename1.backend.security.SecondFactorAuthenticationFilter
-
A passkey that verified the user signed them in.
- satisfied(HttpServer.Request, Authentication) - Method in interface com.codename1.backend.security.SecondFactorPolicy
-
Told that
authenticationsigned in with two factors presented in one step -- a passkey whose authenticator verified the user -- so thatSecondFactorPolicy.intercept(HttpServer.Request, Authentication, boolean)was not asked. - SATURDAY - Static variable in class java.util.Calendar
-
Value of the DAY_OF_WEEK field indicating Saturday.
- save(HttpSession, String) - Method in interface com.codename1.backend.SessionStore
-
Records a session after a request that created or changed it.
- save(ApiKey) - Method in class com.codename1.backend.security.apikey.InMemoryApiKeyRepository
-
Adds a key, or replaces the one with the same hash.
- save(ApiKey) - Method in class com.codename1.backend.security.apikey.JdbcApiKeyRepository
-
Stores a new key.
- save(OAuth2Authorization) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- save(OAuth2Authorization) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- save(OAuth2Authorization) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
Stores
authorization, in place of the one with its id if there is one. - save(RegisteredClient) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryRegisteredClientRepository
- save(RegisteredClient) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcRegisteredClientRepository
- save(RegisteredClient) - Method in interface com.codename1.backend.security.oauth2.server.authorization.RegisteredClientRepository
-
Stores
registeredClient, in place of the one with its id if there is one. - save(CredentialRecord) - Method in class com.codename1.backend.security.webauthn.InMemoryUserCredentialRepository
- save(CredentialRecord) - Method in class com.codename1.backend.security.webauthn.JdbcUserCredentialRepository
- save(CredentialRecord) - Method in interface com.codename1.backend.security.webauthn.UserCredentialRepository
-
Stores a new credential.
- save(PublicKeyCredentialUserEntity) - Method in class com.codename1.backend.security.webauthn.InMemoryPublicKeyCredentialUserEntityRepository
- save(PublicKeyCredentialUserEntity) - Method in class com.codename1.backend.security.webauthn.JdbcPublicKeyCredentialUserEntityRepository
- save(PublicKeyCredentialUserEntity) - Method in interface com.codename1.backend.security.webauthn.PublicKeyCredentialUserEntityRepository
-
Stores
user, unless a user of that name is there already. - save(OutputStream, String) - Method in class java.util.Properties
-
Deprecated.
- save(String, byte[]) - Method in class com.codename1.backend.security.mfa.InMemoryTotpRepository
- save(String, byte[]) - Method in class com.codename1.backend.security.mfa.JdbcTotpRepository
- save(String, byte[]) - Method in interface com.codename1.backend.security.mfa.TotpRepository
-
Stores a new, unconfirmed secret for
username, replacing any other. - saveAuthorizationRequest(OAuth2AuthorizationRequest, HttpServer.Request) - Method in interface com.codename1.backend.security.oauth2.client.AuthorizationRequestRepository
-
Keeps
authorizationRequestfor the browser that maderequest. - saveAuthorizationRequest(OAuth2AuthorizationRequest, HttpServer.Request) - Method in class com.codename1.backend.security.oauth2.client.CookieOAuth2AuthorizationRequestRepository
- saveAuthorizationRequest(OAuth2AuthorizationRequest, HttpServer.Request) - Method in class com.codename1.backend.security.oauth2.client.HttpSessionOAuth2AuthorizationRequestRepository
- saveContext(SecurityContext, HttpServer.Request) - Method in class com.codename1.backend.security.HttpSessionSecurityContextRepository
- saveContext(SecurityContext, HttpServer.Request) - Method in class com.codename1.backend.security.NullSecurityContextRepository
- saveContext(SecurityContext, HttpServer.Request) - Method in interface com.codename1.backend.security.SecurityContextRepository
-
Stores
contextfor the client's later requests. - SAVED_REQUEST - Static variable in class com.codename1.backend.security.HttpSessionRequestCache
-
The session attribute the address is stored under.
- SavedRequestAwareAuthenticationSuccessHandler - Class in com.codename1.backend.security
-
After sign-in, sends the user to the page that asked them to sign in, or to a default when they came to the login page on their own.
- SavedRequestAwareAuthenticationSuccessHandler() - Constructor for class com.codename1.backend.security.SavedRequestAwareAuthenticationSuccessHandler
- savepoint(String) - Method in class com.codename1.backend.Database
-
Marks a savepoint inside the open transaction, which
Database.rollbackToSavepoint(String)can return to without ending the transaction. - savepoint(String, String) - Method in class com.codename1.backend.sql.MySql
-
Savepoint control, through the text protocol for the same reason as
MySql.begin(). - saveRequest(HttpServer.Request) - Method in class com.codename1.backend.security.HttpSessionRequestCache
- saveRequest(HttpServer.Request) - Method in class com.codename1.backend.security.NullRequestCache
- saveRequest(HttpServer.Request) - Method in interface com.codename1.backend.security.RequestCache
-
Remembers
request's address, when it is one worth returning to. - saveToken(CsrfToken, HttpServer.Request) - Method in class com.codename1.backend.security.CookieCsrfTokenRepository
- saveToken(CsrfToken, HttpServer.Request) - Method in interface com.codename1.backend.security.CsrfTokenRepository
-
Stores
tokenfor the client; null forgets the stored one. - saveToken(CsrfToken, HttpServer.Request) - Method in class com.codename1.backend.security.HttpSessionCsrfTokenRepository
- schedule(TimerTask, long) - Method in class java.util.Timer
- schedule(TimerTask, long, long) - Method in class java.util.Timer
- schedule(TimerTask, Date) - Method in class java.util.Timer
- schedule(TimerTask, Date, long) - Method in class java.util.Timer
- scheduleAtFixedRate(TimerTask, long, long) - Method in class java.util.Timer
- scheduleAtFixedRate(TimerTask, Date, long) - Method in class java.util.Timer
- Scheduled - Annotation Type in com.codename1.backend.annotations
-
Runs this method of a bean on a schedule.
- scheduledExecutionTime() - Method in class java.util.TimerTask
- scope(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient.Builder
- scope(String...) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- scope(Collection) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- Scope - Annotation Type in com.codename1.backend.annotations
-
How many instances of a bean there are, and how long each lives.
- scopes(String) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
The scopes of a space-separated list, in order, each once.
- scopes(String...) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.ApiKeyRequestPostProcessor
-
The key's scopes, each granted as
SCOPE_and its name. - scopes(String...) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.JwtRequestPostProcessor
-
The token's
scopeclaim. - scopes(Collection) - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest.Builder
- scopes(Collection) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
scopesas one space-separated value. - SCRIPT_FAILED - Static variable in exception class com.codename1.migration.MigrationException
-
A migration script or Java migration threw.
- search(Object) - Method in class java.util.Stack
-
Returns the index of the first occurrence of the object, starting from the top of the stack.
- sec1ToPkcs8(byte[]) - Static method in class com.codename1.backend.security.crypto.Der
-
Wraps a SEC 1
ECPrivateKey-- the content of a PEM file that saysEC PRIVATE KEY-- as PKCS#8. - SECOND - Static variable in class java.util.Calendar
-
Field number for get and set indicating the second within the minute.
- SECOND_FACTOR_ATTRIBUTE - Static variable in interface com.codename1.backend.security.rememberme.RememberMeServices
-
The attribute of the request's
SecurityExchangethat says the sign-in being completed passed a second factor: set toBoolean.TRUEbeforeRememberMeServices.loginSuccess(HttpServer.Request, Authentication). - SecondFactorAuthenticationFilter - Class in com.codename1.backend.security
-
Asks a user who has a second factor for it, between their password being accepted and their being signed in.
- secondFactorExempt() - Method in class com.codename1.backend.security.HttpBasicConfigurer
-
Lets a user who has a second factor in with their password alone.
- secondFactorPage(String) - Method in class com.codename1.backend.security.MfaConfigurer
-
The application's own page that asks for the code: a path it serves.
- SecondFactorPolicy - Interface in com.codename1.backend.security
-
Stands between a user passing their first factor and being signed in.
- SECONDS - Enum constant in enum java.util.concurrent.TimeUnit
-
Seconds.
- SECRET - Static variable in class com.codename1.backend.security.oauth2.client.CookieOAuth2AuthorizationRequestRepository
-
The setting that holds the key, as at least 32 characters of text.
- Secured - Annotation Type in com.codename1.backend.annotations
-
Lets this method -- or every public method of this class -- run only for a caller holding one of these authorities, each written in full:
@Secured("ROLE_ADMIN"). - SecurityConfigurer - Class in com.codename1.backend.security
-
One configurable part of an
HttpSecurity: form login, CSRF protection, the authorization rules. - SecurityConfigurer() - Constructor for class com.codename1.backend.security.SecurityConfigurer
- securityContext(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
Where who is signed in is kept; see
SecurityContextConfigurer. - SecurityContext - Interface in com.codename1.backend.security
-
What the security layer knows about the thread's current request: who it is from.
- SecurityContextConfigurer - Class in com.codename1.backend.security
-
Where a chain keeps who is signed in between requests.
- SecurityContextHolder - Class in com.codename1.backend.security
-
Who the calling thread's request is from.
- SecurityContextHolderFilter - Class in com.codename1.backend.security
-
Loads who is signed in from the chain's
SecurityContextRepositoryintoSecurityContextHolderbefore anything else looks. - SecurityContextImpl - Class in com.codename1.backend.security
-
A
SecurityContextthat holds its authentication and nothing else. - SecurityContextImpl() - Constructor for class com.codename1.backend.security.SecurityContextImpl
- SecurityContextImpl(Authentication) - Constructor for class com.codename1.backend.security.SecurityContextImpl
- securityContextRepository(SecurityContextRepository) - Method in class com.codename1.backend.security.SecurityContextConfigurer
-
The repository; the HTTP session unless set, and none for a chain with
SessionCreationPolicy.STATELESS. - SecurityContextRepository - Interface in com.codename1.backend.security
-
Where a chain keeps who is signed in between one request and the next.
- SecurityException - Exception Class in java.lang
-
Thrown by the system to indicate a security violation.
- SecurityException() - Constructor for exception class java.lang.SecurityException
-
Constructs a SecurityException with no detail message.
- SecurityException(String) - Constructor for exception class java.lang.SecurityException
-
Constructs a SecurityException with the specified detail message.
- SecurityExchange - Class in com.codename1.backend.security
-
What a chain keeps about the request the calling thread is serving, beyond the request itself: attributes filters hand one another, and headers for the response that is yet to come back.
- SecurityFilter - Interface in com.codename1.backend.security
-
One step of a
SecurityFilterChain. - SecurityFilterChain - Interface in com.codename1.backend.security
-
The filters that guard some of a server's requests.
- securityMatcher(RequestMatcher) - Method in class com.codename1.backend.security.HttpSecurity
-
Limits the chain to the requests
requestMatchermatches. - securityMatcher(String...) - Method in class com.codename1.backend.security.HttpSecurity
-
Limits the chain to the requests whose path matches any of these Ant patterns; see
AntPathRequestMatcher. - SecurityMockMvcRequestPostProcessors - Class in com.codename1.backend.test
-
What a test says about one request's security, for static import:
- SecurityMockMvcRequestPostProcessors.ApiKeyRequestPostProcessor - Class in com.codename1.backend.test
- SecurityMockMvcRequestPostProcessors.CsrfRequestPostProcessor - Class in com.codename1.backend.test
-
SecurityMockMvcRequestPostProcessors.csrf(), to refine. - SecurityMockMvcRequestPostProcessors.JwtRequestPostProcessor - Class in com.codename1.backend.test
-
SecurityMockMvcRequestPostProcessors.jwt(), to refine. - SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor - Class in com.codename1.backend.test
- SecuritySchema - Class in com.codename1.backend.security
-
The tables the security layer's database-backed stores keep, as a migration set of the layer's own.
- SEE_OTHER - Enum constant in enum com.codename1.backend.test.HttpStatus
- send(Credentials, String, String, String, String, String, Map, Map, byte[], String) - Static method in class com.codename1.backend.aws.Aws
-
A signed, sent request.
- send(Credentials, String, String, String, String, String, Map, Map, byte[], String, boolean) - Static method in class com.codename1.backend.aws.Aws
-
As above, over plain HTTP when
secureis false. - sendBinary(byte[]) - Method in class com.codename1.backend.WebSocketSession
- sendBinary(byte[], int, int) - Method in class com.codename1.backend.WebSocketSession
- sendFile(int, int, long, long) - Static method in class com.codename1.backend.FileIo
-
Sends bytes from a file straight to a socket, without them entering this process where the platform allows it.
- sendPing(byte[], int, int) - Method in class com.codename1.backend.WebSocketSession
- sendPong(byte[], int, int) - Method in class com.codename1.backend.WebSocketSession
- sendText(String) - Method in class com.codename1.backend.WebSocketSession
- SEPTEMBER - Static variable in class java.util.Calendar
-
Value of the MONTH field indicating the ninth month of the year.
- SEQUENCE - Enum constant in enum com.codename1.annotations.db.GenerationType
-
Uses a native PostgreSQL sequence, or the portable sequence table on other backends.
- sequential() - Method in interface java.util.stream.BaseStream
- Serializable - Interface in java.io
-
Here to simplify porting, won't actually work...
- SERVER_ADDRESS - Static variable in class com.codename1.backend.Config
-
The address to listen on:
127.0.0.1for this machine only. - SERVER_BACKLOG - Static variable in class com.codename1.backend.Config
-
The listen backlog.
- SERVER_ERROR - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The server met something that stopped it answering.
- SERVER_PORT - Static variable in class com.codename1.backend.Config
-
The port to listen on.
- SERVER_SHUTDOWN_MILLIS - Static variable in class com.codename1.backend.Config
-
How long a stop waits for requests in flight, in milliseconds.
- SERVER_WORKERS - Static variable in class com.codename1.backend.Config
-
The size of the request thread pool.
- ServerSocket - Class in com.codename1.backend
-
A listening TCP socket and the blocking read/write a worker uses once it owns a connection.
- ServerSocket.TimeoutException - Exception Class in com.codename1.backend
-
Thrown when a read or write deadline expires.
- SERVICE_NAME - Static variable in class com.codename1.backend.otel.OtlpTracer
- SERVICE_UNAVAILABLE - Enum constant in enum com.codename1.backend.test.HttpStatus
- ServiceBusyException - Exception Class in com.codename1.backend.security
-
The server is doing as much of something expensive as it was told it may, and this request would have been one more: it is turned away at once, rather than queued behind work that is already late.
- ServiceBusyException(String, int) - Constructor for exception class com.codename1.backend.security.ServiceBusyException
- serviceName() - Element in annotation type com.codename1.backend.annotations.OpenTelemetry
-
The
service.namespans are reported under, unlessOTEL_SERVICE_NAMEorcn1.otel.service.namenames another. - Session - Interface in com.codename1.orm.session
-
A persistence context obtained from an entity manager's
openSession()method. - sessionCreationPolicy(SessionCreationPolicy) - Method in class com.codename1.backend.security.SessionManagementConfigurer
-
See
SessionCreationPolicy;IF_REQUIREDunless set. - SessionCreationPolicy - Enum in com.codename1.backend.security
-
Whether a chain may use the HTTP session.
- sessionFixation(Customizer) - Method in class com.codename1.backend.security.SessionManagementConfigurer
-
What protects a sign-in from a session id planted on the client beforehand; the id is changed unless set otherwise.
- sessionId() - Static method in class com.codename1.backend.security.ratelimit.RateLimitKeys
-
The id of the request's session; no key for a request without one.
- sessionManagement(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
The use of the HTTP session; see
SessionManagementConfigurer. - SessionManagementConfigurer - Class in com.codename1.backend.security
-
Whether a chain uses the HTTP session, and what happens to it at sign-in.
- SessionManagementConfigurer.SessionFixationConfigurer - Class in com.codename1.backend.security
-
The choices for
SessionManagementConfigurer.sessionFixation(Customizer). - SessionSignIn - Class in com.codename1.backend.security
-
How a chain signs a user in to a session, once some mechanism has established who they are.
- sessionStore(SessionStore) - Method in class com.codename1.backend.Backend.Builder
-
Keeps sessions in
storeinstead of the configured one. - SessionStore - Interface in com.codename1.backend
-
Where
HttpSessions are kept between requests. - set(boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
- set(int) - Method in class java.util.BitSet
-
Sets the bit at index
posto 1. - set(int) - Method in class java.util.concurrent.atomic.AtomicInteger
- set(int, boolean) - Method in class java.util.BitSet
-
Sets the bit at index
postoval. - set(int, int) - Method in class java.util.BitSet
-
Sets the bits starting from
pos1topos2. - set(int, int) - Method in class java.util.Calendar
-
Sets the time field with the given value.
- set(int, int, boolean) - Method in class java.util.BitSet
-
Sets the bits starting from
pos1topos2to the givenval. - set(int, E) - Method in class java.util.AbstractList
-
Replaces the element at the specified location in this list with the specified object.
- set(int, E) - Method in class java.util.AbstractSequentialList
- set(int, E) - Method in class java.util.ArrayList
-
Replaces the element at the specified location in this
ArrayListwith the specified object. - set(int, E) - Method in class java.util.LinkedList
-
Replaces the element at the specified location in this
LinkedListwith the specified object. - set(int, E) - Method in interface java.util.List
-
Replaces the element at the specified location in this
Listwith the specified object. - set(int, E) - Method in class java.util.Vector
-
Replaces the element at the specified location in this vector with the specified object.
- set(long) - Method in class java.util.concurrent.atomic.AtomicLong
- set(E) - Method in interface java.util.ListIterator
-
Replaces the last object returned by
nextorpreviouswith the specified object. - set(Object, int, Object) - Method in class com.codename1.backend.orm.EntityDefinition
-
Writes the value of column
indexintoentity, converting whatever the engine sent into the field's type. - set(String, String) - Method in interface com.codename1.backend.security.HeaderWriter.Headers
-
Sets the header, replacing what was there.
- set(String, String) - Method in class com.codename1.backend.test.HttpHeaders
-
Replaces a header's values with this one.
- set(T) - Method in class java.lang.ThreadLocal
- set(V) - Method in class java.util.concurrent.atomic.AtomicReference
- Set<E> - Interface in java.util
-
A
Setis a data structure which does not allow duplicate elements. - setAlgorithm(String) - Method in class com.codename1.backend.security.mfa.TotpService
-
The hash:
Hash.SHA1unless set. - setAllowCrossOrigin(boolean) - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
Whether a ceremony may run inside a frame of another origin than the page around it.
- setAllowSessionCreation(boolean) - Method in class com.codename1.backend.security.HttpSessionSecurityContextRepository
-
Whether saving may start a session; true unless changed.
- setAllowUnverifiedAttestation(boolean) - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
Whether a registration whose attestation this server cannot verify --
packedwith a certificate chain,tpm,apple,android-key,fido-u2fand the rest -- is accepted as if it carried none. - setAllowUriQueryParameter(boolean) - Method in class com.codename1.backend.security.oauth2.server.resource.DefaultBearerTokenResolver
-
Whether
access_tokenin the query of a GET is read; not, unless set. - setAlwaysRemember(boolean) - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
-
Remembers every user who signs in, whether or not they asked.
- setAlwaysUseDefaultTargetUrl(boolean) - Method in class com.codename1.backend.security.SavedRequestAwareAuthenticationSuccessHandler
-
Whether to go to the default even when a page asked for the sign-in.
- setAmPmStrings(String[]) - Method in class java.text.DateFormatSymbols
- setAttachment(Object) - Method in class com.codename1.backend.WebSocketSession
-
Anything the endpoint wants to keep per connection.
- setAttribute(String, boolean) - Method in class com.codename1.backend.Span
-
Adds or replaces a flag attribute.
- setAttribute(String, double) - Method in class com.codename1.backend.Span
-
Adds or replaces a floating point attribute.
- setAttribute(String, long) - Method in class com.codename1.backend.Span
-
Adds or replaces an integer attribute.
- setAttribute(String, Object) - Method in class com.codename1.backend.HttpSession
- setAttribute(String, Object) - Method in class com.codename1.backend.security.SecurityExchange
-
Records
valuefor later filters and for the handler; null removes it. - setAttribute(String, String) - Method in class com.codename1.backend.Span
-
Adds or replaces a string attribute.
- setAuthenticated(boolean) - Method in class com.codename1.backend.security.AbstractAuthenticationToken
- setAuthenticated(boolean) - Method in interface com.codename1.backend.security.Authentication
-
Marks the token trusted or not.
- setAuthenticated(boolean) - Method in class com.codename1.backend.security.UsernamePasswordAuthenticationToken
- setAuthentication(Authentication) - Method in interface com.codename1.backend.security.SecurityContext
-
Changes who the request is from.
- setAuthentication(Authentication) - Method in class com.codename1.backend.security.SecurityContextImpl
- setAuthentication(Authentication) - Static method in class com.codename1.backend.test.TestSecurityContextHolder
-
Puts
authenticationin place for this thread's tests. - setAuthenticatorAttachment(String) - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
platformfor the device's own authenticator,cross-platformfor a security key, or null -- the default -- for either. - setAuthoritiesClaimName(String) - Method in class com.codename1.backend.security.oauth2.server.resource.JwtGrantedAuthoritiesConverter
-
The claim to read, in place of
scopeandscp. - setAuthority(String, boolean) - Method in class java.net.URI
-
Utility method - set the part, ensuring valid format.
- setAuthority(String, int, String, boolean) - Method in class java.net.URI
-
Utility method to construct the authority segment from given host, port, and userinfo segments.
- setAuthorityPrefix(String) - Method in class com.codename1.backend.security.oauth2.server.resource.JwtGrantedAuthoritiesConverter
-
What goes in front of every value;
SCOPE_unless set, and empty for none. - setAuthorizationRequestCustomizer(Customizer) - Method in class com.codename1.backend.security.oauth2.client.DefaultOAuth2AuthorizationRequestResolver
-
Changes every request before it is sent: adds a parameter, narrows the scopes.
- setAvailIn(int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- setAvailOut(int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- setBasicAuth(String, String) - Method in class com.codename1.backend.test.HttpHeaders
- setBearerAuth(String) - Method in class com.codename1.backend.test.HttpHeaders
- setBearerTokenHeaderName(String) - Method in class com.codename1.backend.security.oauth2.server.resource.DefaultBearerTokenResolver
-
The header the token is read from;
Authorizationunless set. - setBlocking(int, boolean) - Static method in class com.codename1.backend.ServerSocket
-
Blocking or non-blocking mode for one descriptor.
- setBusyTimeout(int) - Method in class com.codename1.backend.Db
-
How long a blocked writer waits for a competing one before giving up.
- setCacheSeconds(long) - Method in class com.codename1.backend.security.oauth2.jwt.RemoteJwkSet
-
How long a fetched set is used before it is fetched again; five minutes unless set.
- setChanged() - Method in class java.util.Observable
-
Sets the changed flag for this
Observable. - setCharAt(int, char) - Method in class java.lang.StringBuffer
-
The character at the specified index of this string buffer is set to ch.
- setCharAt(int, char) - Method in class java.lang.StringBuilder
-
The character at the specified index of this string builder is set to ch.
- setClock(Clock) - Method in class com.codename1.backend.security.apikey.JdbcApiKeyRepository
-
The clock a key's creation time is read from; for tests.
- setClock(Clock) - Method in class com.codename1.backend.security.crypto.SignedTokens
-
Reads the time from
clockinstead of the machine. - setClock(Clock) - Method in class com.codename1.backend.security.mfa.JdbcTotpRepository
- setClock(Clock) - Method in class com.codename1.backend.security.mfa.TotpService
- setClock(Clock) - Method in class com.codename1.backend.security.oauth2.client.AppleClientSecret
-
The clock the secret's times are read from; for tests.
- setClock(Clock) - Method in class com.codename1.backend.security.oauth2.client.JdbcFederatedIdentityRepository
-
The clock a link's creation time is read from; for tests.
- setClock(Clock) - Method in class com.codename1.backend.security.oauth2.jwt.JwtTimestampValidator
-
Reads the time from
clockinstead of the machine. - setClock(Clock) - Method in class com.codename1.backend.security.oauth2.jwt.RemoteJwkSet
- setClock(Clock) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcRegisteredClientRepository
-
The clock a client's creation time is read from; for tests.
- setClock(Clock) - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationValidator
-
The clock used to check the grant's expiry.
- setClock(Clock) - Method in class com.codename1.backend.security.ratelimit.InMemoryRateLimiter
-
Reads the time from
clockinstead of the machine. - setClock(Clock) - Method in class com.codename1.backend.security.ratelimit.JdbcRateLimiter
- setClock(Clock) - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
- setClock(Clock) - Method in class com.codename1.backend.security.webauthn.JdbcPublicKeyCredentialUserEntityRepository
-
The clock a row's creation time is read from; for tests.
- setClock(Clock) - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
The clock records are dated from; for tests.
- setComment(String) - Method in class com.codename1.io.gzip.GZIPHeader
- setComment(String) - Method in class com.codename1.io.gzip.GZIPOutputStream
- setContentType(String) - Method in class com.codename1.backend.test.HttpHeaders
- setContext(SecurityContext) - Static method in class com.codename1.backend.security.SecurityContextHolder
-
Replaces the thread's context.
- setContext(SecurityContext) - Static method in class com.codename1.backend.test.TestSecurityContextHolder
-
Puts
contextin place for this thread's tests. - setCookieHttpOnly(boolean) - Method in class com.codename1.backend.security.CookieCsrfTokenRepository
- setCookieName(String) - Method in class com.codename1.backend.security.CookieCsrfTokenRepository
- setCookieName(String) - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
- setCookiePath(String) - Method in class com.codename1.backend.security.CookieCsrfTokenRepository
-
The cookie's path;
/unless set. - setCRC(long) - Method in class com.codename1.io.gzip.GZIPHeader
- setCreateSessionAllowed(boolean) - Method in class com.codename1.backend.security.HttpSessionRequestCache
-
Whether remembering may start a session; true unless changed.
- setCreateUsers(boolean) - Method in class com.codename1.backend.security.oauth2.client.LinkingOAuth2UserService
-
Whether a verified address nobody here has becomes a new local user.
- setDateFormatSymbols(DateFormatSymbols) - Method in class java.text.SimpleDateFormat
-
Apply new date format symbols for parsing/formatting textual components of dates in a localisation sensitive way.
- setDefault(Locale) - Static method in class java.util.Locale
- setDefault(TimeZone) - Static method in class java.util.TimeZone
- setDefaultPasswordEncoderForMatches(PasswordEncoder) - Method in class com.codename1.backend.security.crypto.DelegatingPasswordEncoder
-
The encoder a stored password with no
{id}, or one this encoder does not know, is checked with. - setDefaultTargetUrl(String) - Method in class com.codename1.backend.security.SavedRequestAwareAuthenticationSuccessHandler
-
Where to go when there is nowhere to return to;
/unless set. - setDetails(Object) - Method in class com.codename1.backend.security.AbstractAuthenticationToken
-
Records something more about the request this token came from.
- setDevelopmentProfile(boolean) - Static method in class com.codename1.backend.security.crypto.NoOpPasswordEncoder
-
Says whether this process runs on a development profile.
- setDictionary(byte[], int) - Method in class com.codename1.io.gzip.Deflater
- setDictionary(byte[], int) - Method in class com.codename1.io.gzip.Inflater
- setDigits(int) - Method in class com.codename1.backend.security.mfa.TotpService
-
The number of digits in a code: 6 unless set, or 8.
- setElementAt(E, int) - Method in class java.util.Vector
-
Replaces the element at the specified location in this vector with the specified object.
- setEmailAttributes(String, String) - Method in class com.codename1.backend.security.oauth2.client.LinkingOAuth2UserService
-
The attributes that hold the address and whether it is verified;
emailandemail_verifiedunless set. - setEncodeHashAsBase64(boolean) - Method in class com.codename1.backend.security.crypto.Pbkdf2PasswordEncoder
-
Whether stored values are base64 rather than hexadecimal; hexadecimal unless set.
- setEnumValues(Object[], Class) - Static method in class java.lang.Enum
- setEras(String[]) - Method in class java.text.DateFormatSymbols
- setEraseCredentialsAfterAuthentication(boolean) - Method in class com.codename1.backend.security.ProviderManager
-
Whether an accepted token has its password dropped before it is returned; true unless changed.
- setError() - Method in class java.io.PrintStream
-
Set the error state of the stream to true.
- setError(String) - Method in class com.codename1.backend.Span
-
Marks the span as failed, with a short description.
- setFetcher(RemoteJwkSet.Fetcher) - Method in class com.codename1.backend.security.oauth2.client.DefaultOAuth2AuthorizationRequestResolver
-
What reads an issuer's metadata; for tests.
- setFragment(String, boolean) - Method in class java.net.URI
-
Utility method to set the fragment.
- setHeaderName(String) - Method in class com.codename1.backend.security.CookieCsrfTokenRepository
- setHeaderName(String) - Method in class com.codename1.backend.security.HttpSessionCsrfTokenRepository
- setHideUserNotFoundExceptions(boolean) - Method in class com.codename1.backend.security.DaoAuthenticationProvider
-
Whether an unknown username is reported as bad credentials, which is the default, rather than as a
UsernameNotFoundExceptiona client could tell apart from a wrong password. - setIfAbsent(String, String) - Method in interface com.codename1.backend.security.HeaderWriter.Headers
-
Sets the header unless the handler already did, which is how a default leaves a deliberate choice alone.
- setInput(byte[]) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- setInput(byte[], boolean) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- setInput(byte[], int, int, boolean) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- setJwtAuthenticationConverter(Converter) - Method in class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationProvider
-
What makes an authentication of a verified token; a
JwtAuthenticationConverterunless set. - setJwtGrantedAuthoritiesConverter(Converter) - Method in class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationConverter
-
What reads the authorities out of a token.
- setJwtValidator(OAuth2TokenValidator) - Method in class com.codename1.backend.security.oauth2.jwt.DefaultJwtDecoder
-
What a token's claims are put to once its signature has verified;
JwtValidators.createDefault()unless set. - setLength(int) - Method in class java.lang.StringBuffer
-
Sets the length of this string buffer.
- setLength(int) - Method in class java.lang.StringBuilder
-
Sets the length of this string builder.
- setMaxBodyBytes(long) - Static method in class com.codename1.backend.Http2
-
The ceiling for outstanding response bodies across the process.
- setMaxConcurrentPasswordChecks(int) - Method in class com.codename1.backend.security.DaoAuthenticationProvider
-
The most password checks this provider lets run in the process at one time.
- setMaxFileBodies(int) - Static method in class com.codename1.backend.Http2
-
The ceiling for outstanding FILE-backed bodies across the process.
- setMaxInactiveInterval(int) - Method in class com.codename1.backend.HttpSession
- setModifiedTime(long) - Method in class com.codename1.io.gzip.GZIPHeader
- setModifiedTime(long) - Method in class com.codename1.io.gzip.GZIPOutputStream
- setMonths(String[]) - Method in class java.text.DateFormatSymbols
- setName(String) - Method in class com.codename1.io.gzip.GZIPHeader
- setName(String) - Method in class com.codename1.io.gzip.GZIPOutputStream
- setNewUserAuthorities(Collection) - Method in class com.codename1.backend.security.oauth2.client.LinkingOAuth2UserService
-
What a new user is granted;
ROLE_USERunless set. - setNextIn(byte[]) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- setNextInIndex(int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- setNextOut(byte[]) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- setNextOutIndex(int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- setOAuth2UserService(OAuth2UserService) - Method in class com.codename1.backend.security.oauth2.client.LinkingOAuth2UserService
-
What reads the user from a provider without OpenID Connect.
- setOidcUserService(OAuth2UserService) - Method in class com.codename1.backend.security.oauth2.client.LinkingOAuth2UserService
-
What reads the user from an OpenID Connect provider.
- setOS(int) - Method in class com.codename1.io.gzip.GZIPHeader
- setOS(int) - Method in class com.codename1.io.gzip.GZIPOutputStream
- setOutput(byte[]) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- setOutput(byte[], int, int) - Method in class com.codename1.io.gzip.ZStream
-
Deprecated.
- setParameter(String) - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
- setParameter(String, Object) - Method in interface com.codename1.orm.session.JpqlQuery
-
Binds a named parameter used by this statement.
- setParameterName(String) - Method in class com.codename1.backend.security.CookieCsrfTokenRepository
- setParameterName(String) - Method in class com.codename1.backend.security.HttpSessionCsrfTokenRepository
- setPasswordEncoder(PasswordEncoder) - Method in class com.codename1.backend.security.DaoAuthenticationProvider
-
The encoder passwords are compared with; a delegating one unless set.
- setPath(String, boolean) - Method in class java.net.URI
-
Utility method to set the path.
- setPeriodSeconds(int) - Method in class com.codename1.backend.security.mfa.TotpService
-
How long a code lasts; 30 seconds unless set.
- setPrincipalClaimName(String) - Method in class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationConverter
-
The claim
Authentication.getName()answers with;subunless set. - setPriority(int) - Method in class java.lang.Thread
-
Changes the priority of this thread.
- setProperty(String, String) - Method in class java.util.Properties
-
Maps the specified key to the specified value.
- setQuery(String, boolean) - Method in class java.net.URI
-
Utility method to set the query.
- setReadTimeout(int) - Method in class com.codename1.backend.Tcp
-
A receive and send deadline for this connection, in milliseconds; 0 for none.
- setRealmName(String) - Method in class com.codename1.backend.security.BasicAuthenticationEntryPoint
- setRealmName(String) - Method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenAccessDeniedHandler
-
A realm to name in the challenge; none unless set.
- setRealmName(String) - Method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenAuthenticationEntryPoint
-
A realm to name in the challenge; none unless set.
- setReceiveTimeout(int, int) - Static method in class com.codename1.backend.ServerSocket
-
The RECEIVE deadline alone, leaving the send deadline where it is.
- setRefreshIntervalSeconds(long) - Method in class com.codename1.backend.security.oauth2.jwt.RemoteJwkSet
-
The least time between two fetches, whatever asks for them; thirty seconds unless set.
- setRequestCache(RequestCache) - Method in class com.codename1.backend.security.SavedRequestAwareAuthenticationSuccessHandler
- setResidentKey(String) - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
Whether a new credential must be one a sign-in can find without being told the user:
required, the default, which is what makes it a passkey;preferred; ordiscouraged. - setResponseHeader(String, String) - Method in class com.codename1.backend.security.SecurityExchange
-
Sets a header on the response this request will get, replacing one the handler set under the same name.
- setRollbackOnly() - Static method in class com.codename1.backend.Transactions
-
Marks the calling thread's transaction so it rolls back however its method ends -- the programmatic form of throwing, for a method that wants to return a value and still undo its work.
- setSameSite(String) - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
-
The cookie's
SameSite:Lax,StrictorNone; null for none. - setScheme(String) - Method in class java.net.URI
-
Utility method - set the scheme, ensuring valid format, and determining the query separator to use.
- setSchemeSpecificPart(String, boolean) - Method in class java.net.URI
-
Utility method - set the scheme specific part, ensuring valid format.
- setSeed(long) - Method in class java.util.concurrent.ThreadLocalRandom
- setSeed(long) - Method in class java.util.Random
-
Sets the seed of this random number generator using a single long seed.
- setSharedObject(Class, C) - Method in class com.codename1.backend.security.HttpSecurity
-
Shares
objectwith the parts of this chain undersharedType. - setShortMonths(String[]) - Method in class java.text.DateFormatSymbols
- setShortWeekdays(String[]) - Method in class java.text.DateFormatSymbols
- setSignatureCounterListener(WebAuthnRelyingPartyOperations.SignatureCounterListener) - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
What is told of a signature counter that did not advance.
- setSize(int) - Method in class java.util.Vector
-
Sets the size of this vector to the specified size.
- setStackTrace(StackTraceElement[]) - Method in exception class java.lang.Throwable
- setSuppressed(boolean) - Static method in class com.codename1.backend.Tracing
-
Turns span creation off, or back on, for the calling thread.
- setSyncFlush(boolean) - Method in class com.codename1.io.gzip.DeflaterOutputStream
- setTarget(MethodHandle) - Method in class java.lang.invoke.CallSite
- setTime(long) - Method in class java.util.Date
-
Sets this Date object to represent a point in time that is time milliseconds after January 1, 1970 00:00:00 GMT.
- setTime(Date) - Method in class java.util.Calendar
-
Sets this Calendar's current time with the given Date.
- setTimeInMillis(long) - Method in class java.util.Calendar
-
Sets this Calendar's current time from the given long value.
- setTimeout(int, int) - Static method in class com.codename1.backend.ServerSocket
-
Applies a receive and send deadline.
- setTimeoutMillis(long) - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
The timeout the options carry, in milliseconds; five minutes unless set.
- setTimeZone(TimeZone) - Method in class java.util.Calendar
-
Sets the time zone with the given time zone value.
- settings(AuthorizationServerSettings) - Method in class com.codename1.backend.security.AuthorizationServerConfigurer
-
The issuer and the paths; see
AuthorizationServerSettings. - setTokenValiditySeconds(int) - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
-
How long a cookie that is not used stays good; two weeks unless set.
- setTolerance(int) - Method in class com.codename1.backend.security.mfa.TotpService
-
How many steps either side of the current one are accepted; 1 unless set.
- setUserDetailsPasswordService(UserDetailsPasswordService) - Method in class com.codename1.backend.security.DaoAuthenticationProvider
-
Where a password re-encoded on sign-in is stored; without one a password in an older encoding stays as it is.
- setUserDetailsService(UserDetailsService) - Method in class com.codename1.backend.security.DaoAuthenticationProvider
- setUserVerification(String) - Method in class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
-
Whether the authenticator must verify the user --
required-- should when it can --preferred, the default -- or need not:discouraged. - setUseSecureCookie(Boolean) - Method in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
-
Whether the cookie is
Secure; null, the default, for "when the request was". - setValue(V) - Method in class java.util.AbstractMap.SimpleEntry
-
Sets the value of this entry to the specified value, replacing any existing value.
- setValue(V) - Method in class java.util.AbstractMap.SimpleImmutableEntry
-
Throws an UnsupportedOperationException.
- setValue(V) - Method in interface java.util.Map.Entry
-
Sets the value of this entry to the specified value, replacing any existing value.
- setWeekdays(String[]) - Method in class java.text.DateFormatSymbols
- setZoneStrings(String[][]) - Method in class java.text.DateFormatSymbols
- sha1(byte[]) - Static method in class com.codename1.backend.Crypto
-
SHA-1, for the wire protocols that specify it by name: MySQL's mysql_native_password, and the RFC 6455 4.2.2 websocket handshake, where the digest of the client key and a fixed GUID becomes Sec-WebSocket-Accept.
- sha1(byte[]) - Static method in class com.codename1.security.Hash
-
One-shot SHA-1 hash.
- sha1(byte[], byte[]) - Static method in class com.codename1.security.Hmac
-
One-shot HMAC-SHA-1.
- SHA1 - Static variable in class com.codename1.backend.Crypto
-
The digest names
Crypto.hmac(String, byte[], byte[])andCrypto.pbkdf2(String, byte[], byte[], int, int)take. - SHA1 - Static variable in class com.codename1.security.Hash
-
SHA-1 algorithm identifier (160-bit digest).
- sha224(byte[]) - Static method in class com.codename1.security.Hash
-
One-shot SHA-224 hash.
- sha224(byte[], byte[]) - Static method in class com.codename1.security.Hmac
-
One-shot HMAC-SHA-224.
- SHA224 - Static variable in class com.codename1.security.Hash
-
SHA-224 algorithm identifier (224-bit digest, SHA-2 family).
- sha256(byte[]) - Static method in class com.codename1.backend.Crypto
- sha256(byte[]) - Static method in class com.codename1.security.Hash
-
One-shot SHA-256 hash (recommended general-purpose hash).
- sha256(byte[], byte[]) - Static method in class com.codename1.security.Hmac
-
One-shot HMAC-SHA-256 (recommended default).
- sha256(String) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
The SHA-256 of
valuein the URL-safe alphabet: the S256 challenge of a PKCE verifier, and what a secret token is stored and looked up by. - SHA256 - Static variable in class com.codename1.backend.Crypto
- SHA256 - Static variable in class com.codename1.security.Hash
-
SHA-256 algorithm identifier (256-bit digest, SHA-2 family).
- sha256Hex(byte[]) - Static method in class com.codename1.backend.aws.Aws
- sha384(byte[]) - Static method in class com.codename1.backend.Crypto
-
SHA-384; null for null.
- sha384(byte[]) - Static method in class com.codename1.security.Hash
-
One-shot SHA-384 hash.
- sha384(byte[], byte[]) - Static method in class com.codename1.security.Hmac
-
One-shot HMAC-SHA-384.
- SHA384 - Static variable in class com.codename1.backend.Crypto
- SHA384 - Static variable in class com.codename1.security.Hash
-
SHA-384 algorithm identifier (384-bit digest, SHA-2 family).
- sha512(byte[]) - Static method in class com.codename1.backend.Crypto
-
SHA-512; null for null.
- sha512(byte[]) - Static method in class com.codename1.security.Hash
-
One-shot SHA-512 hash.
- sha512(byte[], byte[]) - Static method in class com.codename1.security.Hmac
-
One-shot HMAC-SHA-512.
- SHA512 - Static variable in class com.codename1.backend.Crypto
- SHA512 - Static variable in class com.codename1.security.Hash
-
SHA-512 algorithm identifier (512-bit digest, SHA-2 family).
- Short - Class in java.lang
-
The Short class is the standard wrapper for short values.
- Short(short) - Constructor for class java.lang.Short
-
Constructs a Short object initialized to the specified short value.
- SHORT - Static variable in class java.text.DateFormat
-
Constant for short style parsing/formatting pattern.
- shortValue() - Method in class java.lang.Double
-
Returns the value of this Double as a short (by casting to a short).
- shortValue() - Method in class java.lang.Float
-
Returns the value of this Float as a short (by casting to a short).
- shortValue() - Method in class java.lang.Integer
-
Returns the value of this Integer as a short.
- shortValue() - Method in class java.lang.Number
- shortValue() - Method in class java.lang.Short
-
Returns the value of this Short as a short.
- shuffle(List) - Static method in class java.util.Collections
-
Moves every element of the list to a random new position in the list.
- shuffle(List, Random) - Static method in class java.util.Collections
-
Moves every element of the list to a random new position in the list using the specified random number generator.
- shutdown(int) - Method in interface com.codename1.backend.metrics.MetricReader
-
Sends what is left and stops, waiting up to
timeoutMillis. - shutdown(int) - Method in class com.codename1.backend.otel.OtlpMetricExporter
- shutdown(int) - Method in class com.codename1.backend.otel.OtlpTracer
- shutdown(int) - Static method in class com.codename1.backend.ServerSocket
-
Breaks a descriptor in both directions without closing it.
- shutdown(int) - Method in interface com.codename1.backend.Tracer
-
Flushes, then stops the exporter.
- shutdown(long) - Method in class com.codename1.backend.TaskExecutor
-
Stops taking tasks and waits up to
waitMillisfor the queued and running ones to finish. - shutdownTimeoutMillis(int) - Method in class com.codename1.backend.Backend.Builder
-
How long a stop waits for requests in flight.
- sign(String, byte[], byte[]) - Static method in class com.codename1.backend.Crypto
-
Signs
datawith a private key in PKCS#8 DER, under one ofCrypto.RS256,Crypto.RS384,Crypto.RS512,Crypto.PS256,Crypto.ES256andCrypto.ES384. - Signals - Class in com.codename1.backend
-
Turns SIGTERM into an ordinary blocking call, so a server can shut down cleanly when its container asks it to.
- SIGNATURE_INVALID - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The signature is not the credential's signature of this ceremony.
- SignatureAlgorithm - Enum in com.codename1.backend.security.oauth2.jose.jws
-
The public key algorithms: a token signed with a private key that anyone holding the public key can verify, and only the signer could have made.
- signatureCount(long) - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
- signatureCounterListener(WebAuthnRelyingPartyOperations.SignatureCounterListener) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
What is told of a signature counter that did not advance: a credential that may have been copied.
- signatureCounterRegressed(CredentialRecord, long) - Method in interface com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations.SignatureCounterListener
-
The counter
receivedis not greater than the one inrecord, which means two authenticators hold the credential's private key -- it was copied -- or one is broken. - SignedTokens - Class in com.codename1.backend.security.crypto
-
Makes and checks the tokens a server mails out: the link that confirms an address, the link that resets a password, an invitation.
- SignedTokens(byte[]) - Constructor for class com.codename1.backend.security.crypto.SignedTokens
- signingKey(String, String, String, String) - Static method in class com.codename1.backend.aws.Aws
-
The four-step key derivation.
- signum(int) - Static method in class java.lang.Integer
-
Returns the value of the
signumfunction for the specified integer. - SimpleDateFormat - Class in java.text
-
A class for parsing and formatting dates with a given pattern, compatible with the Java 6 API.
- SimpleDateFormat() - Constructor for class java.text.SimpleDateFormat
-
Construct a SimpleDateFormat with no pattern.
- SimpleDateFormat(String) - Constructor for class java.text.SimpleDateFormat
-
Construct a SimpleDateFormat with a given pattern.
- SimpleEntry(Map.Entry) - Constructor for class java.util.AbstractMap.SimpleEntry
-
Constructs a new instance by an entry
- SimpleEntry(K, V) - Constructor for class java.util.AbstractMap.SimpleEntry
-
Constructs a new instance by key and value.
- SimpleGrantedAuthority - Class in com.codename1.backend.security
-
An authority that is its name and nothing else.
- SimpleGrantedAuthority(String) - Constructor for class com.codename1.backend.security.SimpleGrantedAuthority
- SimpleImmutableEntry(Map.Entry) - Constructor for class java.util.AbstractMap.SimpleImmutableEntry
-
Constructs a new instance by an entry
- SimpleImmutableEntry(K, V) - Constructor for class java.util.AbstractMap.SimpleImmutableEntry
-
Constructs a new instance by key and value.
- SimpleUrlAuthenticationFailureHandler - Class in com.codename1.backend.security
-
After a refused sign-in, sends the user to a page -- the login page with
?error, usually -- or, with no page set, answers 401. - SimpleUrlAuthenticationFailureHandler() - Constructor for class com.codename1.backend.security.SimpleUrlAuthenticationFailureHandler
- SimpleUrlAuthenticationFailureHandler(String) - Constructor for class com.codename1.backend.security.SimpleUrlAuthenticationFailureHandler
- SimpleUrlLogoutSuccessHandler - Class in com.codename1.backend.security
-
After sign-out, sends the user to a page.
- SimpleUrlLogoutSuccessHandler(String) - Constructor for class com.codename1.backend.security.SimpleUrlLogoutSuccessHandler
- sin(double) - Static method in class java.lang.Math
-
Returns the trigonometric sine of an angle.
- singleton(E) - Static method in class java.util.Collections
-
Returns a set containing the specified element.
- singletonList(E) - Static method in class java.util.Collections
-
Returns a list containing the specified element.
- singletonMap(K, V) - Static method in class java.util.Collections
-
Returns a Map containing the specified key and value.
- size() - Method in class com.codename1.backend.security.ratelimit.InMemoryRateLimiter
-
How many keys are remembered now.
- size() - Method in class com.codename1.backend.security.rememberme.InMemoryTokenRepositoryImpl
-
How many series are stored.
- size() - Method in interface com.codename1.backend.SessionStore
-
How many sessions are kept, or -1 when that is expensive to know.
- size() - Method in class java.io.ByteArrayOutputStream
-
Returns the current size of the buffer.
- size() - Method in class java.util.AbstractCollection
-
Returns a count of how many objects this
Collectioncontains. - size() - Method in class java.util.AbstractMap
-
Returns the number of elements in this map.
- size() - Method in class java.util.ArrayDeque
-
Returns the size of the deque.
- size() - Method in class java.util.ArrayList
-
Returns the number of elements in this
ArrayList. - size() - Method in class java.util.BitSet
-
Returns the number of bits this
BitSethas. - size() - Method in interface java.util.Collection
-
Returns a count of how many objects this
Collectioncontains. - size() - Method in class java.util.Dictionary
-
Returns the number of key/value pairs in this dictionary.
- size() - Method in class java.util.HashMap
-
Returns the number of elements in this map.
- size() - Method in class java.util.HashSet
-
Returns the number of elements in this
HashSet. - size() - Method in class java.util.Hashtable
-
Returns the number of key/value pairs in this
Hashtable. - size() - Method in class java.util.IdentityHashMap
-
Returns the number of mappings in this IdentityHashMap.
- size() - Method in class java.util.LinkedList
-
Returns the number of elements in this
LinkedList. - size() - Method in interface java.util.List
-
Returns the number of elements in this
List. - size() - Method in interface java.util.Map
-
Returns the number of mappings in this
Map. - size() - Method in class java.util.PriorityQueue
-
Gets the size of the priority queue.
- size() - Method in interface java.util.Set
-
Returns the number of elements in this set.
- size() - Method in class java.util.TreeMap
-
Returns the number of mappings in this map.
- size() - Method in class java.util.TreeSet
-
Returns the number of elements in this
TreeSet. - size() - Method in class java.util.Vector
-
Returns the number of elements in this vector.
- SIZE - Static variable in class java.lang.Byte
- SIZE - Static variable in class java.lang.Character
-
Constant for the number of bits to represent a
charin two's compliment form. - skip(long) - Method in class com.codename1.io.gzip.FilterInputStream
- skip(long) - Method in class com.codename1.io.gzip.InflaterInputStream
- skip(long) - Method in class java.io.ByteArrayInputStream
-
Skips n bytes of input from this input stream.
- skip(long) - Method in class java.io.DataInputStream
-
Skips over and discards n bytes of data from the input stream.
- skip(long) - Method in class java.io.InputStream
-
Skips over and discards n bytes of data from this input stream.
- skip(long) - Method in class java.io.InputStreamReader
-
Skip characters.
- skip(long) - Method in class java.io.Reader
-
Skip characters.
- skip(long) - Method in class java.io.StringReader
-
Moves
nscharacters in the source string. - skip(long) - Method in interface java.util.stream.Stream
- skipBytes(int) - Method in interface java.io.DataInput
-
Makes an attempt to skip over n bytes of data from the input stream, discarding the skipped bytes.
- skipBytes(int) - Method in class java.io.DataInputStream
-
See the general contract of the skipBytes method of DataInput.
- sleep(long) - Static method in class java.lang.Thread
-
Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
- sleep(long) - Method in enum java.util.concurrent.TimeUnit
-
Sleeps for
timeoutof this unit, asThread.sleepdoes. - SLOW_DOWN - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
RFC 8628: the client asks too often; the interval is now five seconds longer.
- snapshot() - Static method in class com.codename1.backend.metrics.Metrics
-
Every instrument and its points, for the management endpoint and MCP:
name -> {kind, description, unit, points}. - SoftReference - Class in java.lang.ref
-
A reference the collector keeps while the referent is being used and memory allows, and clears before the process runs out.
- SoftReference(Object) - Constructor for class java.lang.ref.SoftReference
-
Creates a new soft reference that refers to the given object.
- sort(byte[]) - Static method in class java.util.Arrays
-
Sorts the specified array in ascending numerical order.
- sort(byte[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range in the array in ascending numerical order.
- sort(char[]) - Static method in class java.util.Arrays
-
Sorts the specified array in ascending numerical order.
- sort(char[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range in the array in ascending numerical order.
- sort(double[]) - Static method in class java.util.Arrays
-
Sorts the specified array in ascending numerical order.
- sort(double[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range in the array in ascending numerical order.
- sort(float[]) - Static method in class java.util.Arrays
-
Sorts the specified array in ascending numerical order.
- sort(float[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range in the array in ascending numerical order.
- sort(int[]) - Static method in class java.util.Arrays
-
Sorts the specified array in ascending numerical order.
- sort(int[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range in the array in ascending numerical order.
- sort(long[]) - Static method in class java.util.Arrays
-
Sorts the specified array in ascending numerical order.
- sort(long[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range in the array in ascending numerical order.
- sort(short[]) - Static method in class java.util.Arrays
-
Sorts the specified array in ascending numerical order.
- sort(short[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range in the array in ascending numerical order.
- sort(Object[]) - Static method in class java.util.Arrays
-
Sorts the specified array in ascending natural order.
- sort(Object[], int, int) - Static method in class java.util.Arrays
-
Sorts the specified range in the array in ascending natural order.
- sort(Comparator) - Method in interface java.util.List
-
Sorts this list according to the order induced by the specified
Comparator. - sort(List) - Static method in class java.util.Collections
-
Sorts the specified list in ascending natural order.
- sort(List, Comparator) - Static method in class java.util.Collections
-
Sorts the specified list using the specified comparator.
- sort(T[], int, int, Comparator) - Static method in class java.util.Arrays
-
Sorts the specified range in the array using the specified
Comparator. - sort(T[], Comparator) - Static method in class java.util.Arrays
-
Sorts the specified array using the specified
Comparator. - sorted() - Method in interface java.util.stream.Stream
- SortedMap<K,
V> - Interface in java.util -
A map that has its keys ordered.
- SortedSet<E> - Interface in java.util
-
SortedSet is a Set which iterates over its elements in a sorted order.
- SOURCE - Enum constant in enum java.lang.annotation.RetentionPolicy
- Span - Class in com.codename1.backend
-
One timed operation inside a distributed trace.
- Span() - Constructor for class com.codename1.backend.Span
-
For tracer implementations.
- splitStatements(String) - Method in class com.codename1.backend.sql.Dialect
-
Cuts a script into its statements, by this engine's lexical rules.
- spreadInvoker(MethodType, int) - Static method in class java.lang.invoke.MethodHandles
- SPRING_SECURITY_CONTEXT_KEY - Static variable in class com.codename1.backend.security.HttpSessionSecurityContextRepository
-
The session attribute the context is stored under.
- sql(String, String, String) - Method in class com.codename1.migration.MigrationSet.Builder
-
Adds a versioned script that runs on every engine.
- sql(String, String, String, String) - Method in class com.codename1.migration.MigrationSet.Builder
-
Adds a versioned script for one engine.
- SQLITE - Static variable in class com.codename1.backend.sql.Dialect
- sqrt(double) - Static method in class java.lang.Math
-
Returns the correctly rounded positive square root of a double value.
- Stack<E> - Class in java.util
-
Stackis a Last-In/First-Out(LIFO) data structure which represents a stack of objects. - Stack() - Constructor for class java.util.Stack
-
Constructs a stack with the default size of
Vector. - StackTraceElement - Class in java.lang
- StackTraceElement(String, String, String, int) - Constructor for class java.lang.StackTraceElement
- StandardCharsets - Class in java.nio.charset
-
Minimal charset constants supported by CLDC11 stubs.
- start() - Method in class com.codename1.backend.Backend.Builder
-
Starts the server and returns, without installing a signal handler or waiting.
- start() - Method in class java.lang.Thread
-
Causes this thread to begin execution; the Java Virtual Machine calls the run method of this thread.
- start(String, int, int, int, HttpServer.Handler) - Static method in class com.codename1.backend.HttpServer
- start(String, int, int, int, HttpServer.Handler, Tls) - Static method in class com.codename1.backend.HttpServer
-
tls: terminate TLS here, or null to serve plaintext (correct behind a load balancer that already terminated it)
- start(String, int, int, int, HttpServer.Handler, Tls, HttpServer.WebSocketRoutes) - Static method in class com.codename1.backend.HttpServer
-
webSockets: asked for its routes before the listener accepts anything
- startSpan(String) - Static method in class com.codename1.backend.Tracing
- startSpan(String, int, Span, String, String) - Method in class com.codename1.backend.otel.OtlpTracer
- startSpan(String, int, Span, String, String) - Method in interface com.codename1.backend.Tracer
-
A new span.
- startsWith(String) - Method in class java.lang.String
-
Tests if this string starts with the specified prefix.
- startsWith(String, int) - Method in class java.lang.String
-
Tests if this string starts with the specified prefix beginning at the specified index.
- startTimeMillis() - Static method in class com.codename1.backend.metrics.Metrics
-
When this process's metrics started counting, for cumulative points.
- startTls(String) - Method in class com.codename1.backend.Tcp
-
Upgrades this connection to TLS, verifying the peer certificate against the system trust store and against
host. - startTls(String, String) - Method in class com.codename1.backend.Tcp
-
As
Tcp.startTls(String), verifying against the PEM bundle atcaFileINSTEAD of the system trust store. - stat(int, long[]) - Static method in class com.codename1.backend.FileIo
-
Fills out[0]=size, out[1]=modified-time-millis, out[2]=1 for a directory.
- STATELESS - Enum constant in enum com.codename1.backend.security.SessionCreationPolicy
-
The chain neither starts nor reads a session: each request carries its own credentials.
- statFresh(int, long[]) - Static method in class com.codename1.backend.FileIo
-
The same call, because statImpl is a live fstat on the open descriptor and so is already current.
- STATIC_CACHE_CONTROL - Static variable in class com.codename1.backend.Config
-
The Cache-Control header those files carry.
- STATIC_INDEX - Static variable in class com.codename1.backend.Config
-
The file a directory request is answered with.
- STATIC_PREFIX - Static variable in class com.codename1.backend.Config
-
The path prefix those files are served under.
- STATIC_ROOT - Static variable in class com.codename1.backend.Config
-
A directory to serve static files from.
- staticFiles(String, String, String, String) - Method in class com.codename1.backend.Backend.Builder
-
Serves a directory, after every handler, so a file cannot shadow a route.
- StaticFiles - Class in com.codename1.backend
-
Serves files out of a document root, on the kernel's zero-copy path.
- StaticFiles(String, String, String, String) - Constructor for class com.codename1.backend.StaticFiles
-
root: the document root; resolved once, and every request must land inside it
- status() - Method in class com.codename1.backend.otel.OtlpMetricExporter
-
Exports attempted, failures, and the last error, for the management view.
- status() - Static method in class com.codename1.backend.test.MockMvcResultMatchers
- StatusResultMatchers - Class in com.codename1.backend.test
-
Expectations of the response status, from
MockMvcResultMatchers.status(). - stop() - Method in class com.codename1.backend.Backend
-
Stops accepting, lets what is in flight finish, and closes the database.
- stop() - Method in class com.codename1.backend.HttpServer
-
Stops with a default drain window.
- stop(int) - Method in class com.codename1.backend.HttpServer
-
Stops accepting, lets in-flight requests finish, then closes what is left.
- storageType() - Element in annotation type com.codename1.annotations.db.Convert
-
Declares the SQL scalar type returned by the converter.
- store(OutputStream, String) - Method in class java.util.Properties
-
Stores properties to the specified
OutputStream, using ISO-8859-1. - store(Writer, String) - Method in class java.util.Properties
-
Stores the mappings in this
Propertiesobject toout, putting the specified comment at the beginning. - StoredToken(String, boolean, long, long) - Constructor for class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService.StoredToken
- strategy() - Element in annotation type com.codename1.annotations.db.GeneratedValue
-
Chooses identifier generation, overriding Id.autoIncrement.
- Stream<T> - Interface in java.util.stream
- string(byte[]) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
The text of
bytes, read as UTF-8. - string(Object) - Static method in class com.codename1.backend.mvc.Html
- string(String) - Method in class com.codename1.backend.test.ContentResultMatchers
-
The body is exactly this text.
- string(String, String) - Method in class com.codename1.backend.test.HeaderResultMatchers
-
The header's first value is exactly this.
- String - Class in java.lang
-
The String class represents character strings.
- String() - Constructor for class java.lang.String
-
Initializes a newly created String object so that it represents an empty character sequence.
- String(byte[]) - Constructor for class java.lang.String
-
Construct a new String by converting the specified array of bytes using the platform's default character encoding.
- String(byte[], int, int) - Constructor for class java.lang.String
-
Construct a new String by converting the specified subarray of bytes using the platform's default character encoding.
- String(byte[], int, int, String) - Constructor for class java.lang.String
-
Construct a new String by converting the specified subarray of bytes using the specified character encoding.
- String(byte[], String) - Constructor for class java.lang.String
-
Construct a new String by converting the specified array of bytes using the specified character encoding.
- String(byte[], Charset) - Constructor for class java.lang.String
-
Construct a new String by converting the specified array of bytes using the specified character encoding.
- String(char[]) - Constructor for class java.lang.String
-
Allocates a new String so that it represents the sequence of characters currently contained in the character array argument.
- String(char[], int, int) - Constructor for class java.lang.String
-
Allocates a new String that contains characters from a subarray of the character array argument.
- String(String) - Constructor for class java.lang.String
-
Initializes a newly created String object so that it represents the same sequence of characters as the argument; in other words, the newly created string is a copy of the argument string.
- String(StringBuffer) - Constructor for class java.lang.String
-
Allocates a new string that contains the sequence of characters currently contained in the string buffer argument.
- String(StringBuilder) - Constructor for class java.lang.String
- StringBuffer - Class in java.lang
-
A string buffer implements a mutable sequence of characters.
- StringBuffer() - Constructor for class java.lang.StringBuffer
-
Constructs a string buffer with no characters in it and an initial capacity of 16 characters.
- StringBuffer(int) - Constructor for class java.lang.StringBuffer
-
Constructs a string buffer with no characters in it and an initial capacity specified by the length argument.
- StringBuffer(String) - Constructor for class java.lang.StringBuffer
-
Constructs a string buffer so that it represents the same sequence of characters as the string argument; in other words, the initial contents of the string buffer is a copy of the argument string.
- StringBuffer(CharSequence) - Method in class java.lang.StringBuffer
- StringBuilder - Class in java.lang
-
A string builder implements a mutable sequence of characters.
- StringBuilder() - Constructor for class java.lang.StringBuilder
-
Constructs a string builder with no characters in it and an initial capacity of 16 characters.
- StringBuilder(int) - Constructor for class java.lang.StringBuilder
-
Constructs a string builder with no characters in it and an initial capacity specified by the length argument.
- StringBuilder(CharSequence) - Constructor for class java.lang.StringBuilder
- StringBuilder(String) - Constructor for class java.lang.StringBuilder
-
Constructs a string builder so that it represents the same sequence of characters as the string argument; in other words, the initial contents of the string builder is a copy of the argument string.
- StringConcatFactory - Class in java.lang.invoke
-
Deprecated
- StringIndexOutOfBoundsException - Exception Class in java.lang
-
Thrown by the charAt method in class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
- StringIndexOutOfBoundsException() - Constructor for exception class java.lang.StringIndexOutOfBoundsException
-
Constructs a StringIndexOutOfBoundsException with no detail message.
- StringIndexOutOfBoundsException(int) - Constructor for exception class java.lang.StringIndexOutOfBoundsException
-
Constructs a new StringIndexOutOfBoundsException class with an argument indicating the illegal index.
- StringIndexOutOfBoundsException(String) - Constructor for exception class java.lang.StringIndexOutOfBoundsException
-
Constructs a StringIndexOutOfBoundsException with the specified detail message.
- stringPropertyNames() - Method in class java.util.Properties
-
Returns those property names (keys) in this
Propertiesobject for which both key and value are strings. - StringReader - Class in java.io
-
A specialized
Readerthat reads characters from aStringin a sequential manner. - StringReader(String) - Constructor for class java.io.StringReader
-
Construct a new
StringReaderwithstras source. - StringTokenizer - Class in java.util
-
The
StringTokenizerclass allows an application to break a string into tokens by performing code point comparison. - StringTokenizer(String) - Constructor for class java.util.StringTokenizer
-
Constructs a new
StringTokenizerfor the parameter string using whitespace as the delimiter. - StringTokenizer(String, String) - Constructor for class java.util.StringTokenizer
-
Constructs a new
StringTokenizerfor the parameter string using the specified delimiters. - StringTokenizer(String, String, boolean) - Constructor for class java.util.StringTokenizer
-
Constructs a new
StringTokenizerfor the parameter string using the specified delimiters, returning the delimiters as tokens if the parameterreturnDelimitersistrue. - StringWriter - Class in java.io
- StringWriter() - Constructor for class java.io.StringWriter
- StringWriter(int) - Constructor for class java.io.StringWriter
- SUB - Static variable in class com.codename1.backend.security.oauth2.jwt.JwtClaimNames
-
Whom the token is about.
- subject(String) - Static method in class com.codename1.backend.security.crypto.SignedTokens
-
The subject a token names, read without checking anything.
- subject(String) - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimsSet.Builder
-
sub. - subject(String) - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.JwtRequestPostProcessor
-
The token's
subclaim, which is the request's user name. - subList(int, int) - Method in class java.util.AbstractList
-
Returns a part of consecutive elements of this list as a view.
- subList(int, int) - Method in interface java.util.List
-
Returns a
Listof the specified portion of thisListfrom the given start index to the end index minus one. - subList(int, int) - Method in class java.util.Vector
-
Returns a List of the specified portion of this vector from the start index to one less than the end index.
- subMap(K, boolean, K, boolean) - Method in interface java.util.NavigableMap
-
Answers a view of part of the map whose keys is from startKey to endKey.
- subMap(K, boolean, K, boolean) - Method in class java.util.TreeMap
-
Answers a view of part of the map whose keys is from startKey to endKey.
- subMap(K, K) - Method in interface java.util.SortedMap
-
Returns a sorted map over a range of this sorted map with all keys greater than or equal to the specified
startKeyand less than the specifiedendKey. - subMap(K, K) - Method in class java.util.TreeMap
-
Returns a sorted map over a range of this sorted map with all keys greater than or equal to the specified
startKeyand less than the specifiedendKey. - submitMethod(Model, String) - Static method in class com.codename1.backend.mvc.Html
-
A submitter can belong to a form outside this template or fragment.
- submitted(String, String) - Method in class com.codename1.backend.mvc.BindingResult
- subSequence(int, int) - Method in interface java.lang.CharSequence
-
Returns a
CharSequencefrom thestartindex (inclusive) to theendindex (exclusive) of this sequence. - subSequence(int, int) - Method in class java.lang.String
- subSequence(int, int) - Method in class java.lang.StringBuffer
- subSequence(int, int) - Method in class java.lang.StringBuilder
- subSet(E, boolean, E, boolean) - Method in interface java.util.NavigableSet
-
Answers a NavigableSet of the specified portion of this set which contains elements greater (or equal to, depends on startInclusive) the start element but less than (or equal to, depends on endInclusive) the end element.
- subSet(E, boolean, E, boolean) - Method in class java.util.TreeSet
-
Answers a NavigableSet of the specified portion of this set which contains elements greater (or equal to, depends on startInclusive) the start element but less than (or equal to, depends on endInclusive) the end element.
- subSet(E, E) - Method in interface java.util.SortedSet
-
Returns a
SortedSetof the specified portion of thisSortedSetwhich contains elements greater or equal to the start element but less than the end element. - subSet(E, E) - Method in class java.util.TreeSet
-
Answers a SortedSet of the specified portion of this TreeSet which contains elements greater or equal to the start element but less than the end element.
- substring(int) - Method in class java.lang.String
-
Returns a new string that is a substring of this string.
- substring(int, int) - Method in class java.lang.String
-
Returns a new string that is a substring of this string.
- success() - Static method in class com.codename1.backend.security.oauth2.core.OAuth2TokenValidatorResult
-
The token passed.
- success(HttpServer.Request, Authentication, AuthenticationSuccessHandler) - Method in class com.codename1.backend.security.SessionSignIn
-
A mechanism accepted
authentication: signs the user in, unless the chain asks for a second factor first. - success(HttpServer.Request, Authentication, AuthenticationSuccessHandler, boolean) - Method in class com.codename1.backend.security.SessionSignIn
-
A mechanism accepted
authentication, and says whether what it checked was two factors already. - SUCCESS - Enum constant in enum com.codename1.migration.MigrationState
-
Applied.
- successHandler(AuthenticationSuccessHandler) - Method in class com.codename1.backend.security.FormLoginConfigurer
-
Answers a sign-in itself, instead of the redirects.
- successHandler(AuthenticationSuccessHandler) - Method in class com.codename1.backend.security.MfaConfigurer
-
Answers a completed sign-in itself, instead of the redirect.
- successHandler(AuthenticationSuccessHandler) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
- successHandler(AuthenticationSuccessHandler) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
Answers a sign-in itself, instead of the JSON.
- SUNDAY - Static variable in class java.util.Calendar
-
Value of the DAY_OF_WEEK field indicating Sunday.
- SUPERSEDED - Enum constant in enum com.codename1.migration.MigrationState
-
An earlier run of a repeatable migration that a later run replaced.
- supplier() - Method in interface java.util.stream.Collector
- Supplier<T> - Interface in java.util.function
- SupplierJwtDecoder - Class in com.codename1.backend.security.oauth2.jwt
-
A decoder that is made when the first token arrives, and then kept.
- SupplierJwtDecoder(Supplier) - Constructor for class com.codename1.backend.security.oauth2.jwt.SupplierJwtDecoder
- supported() - Static method in class com.codename1.backend.VirtualThread
-
Whether this build has virtual threads at all, which is not the same question as isVirtual().
- supports(Class) - Method in interface com.codename1.backend.security.AuthenticationProvider
-
Whether this provider checks tokens of this class.
- supports(Class) - Method in class com.codename1.backend.security.DaoAuthenticationProvider
- supports(Class) - Method in class com.codename1.backend.security.oauth2.server.resource.JwtAuthenticationProvider
- SUPPORTS - Enum constant in enum com.codename1.backend.annotations.Propagation
-
Joins the open transaction, or runs without one.
- SuppressWarnings - Annotation Type in java.lang
-
An annotation that indicates a compiler should suppress any warnings of the type specified in the
#value(). - swap(List, int, int) - Static method in class java.util.Collections
-
Swaps the elements of list
listat indicesindex1andindex2. - SWITCHING_PROTOCOLS - Enum constant in enum com.codename1.backend.test.HttpStatus
- sync() - Method in class com.codename1.io.gzip.Inflater
- synchronizedCollection(Collection) - Static method in class java.util.Collections
-
Returns a wrapper on the specified collection which synchronizes all access to the collection.
- synchronizedList(List) - Static method in class java.util.Collections
-
Returns a wrapper on the specified List which synchronizes all access to the List.
- synchronizedMap(Map) - Static method in class java.util.Collections
-
Returns a wrapper on the specified map which synchronizes all access to the map.
- synchronizedSet(Set) - Static method in class java.util.Collections
-
Returns a wrapper on the specified set which synchronizes all access to the set.
- synchronizedSortedMap(SortedMap) - Static method in class java.util.Collections
-
Returns a wrapper on the specified sorted map which synchronizes all access to the sorted map.
- synchronizedSortedSet(SortedSet) - Static method in class java.util.Collections
-
Returns a wrapper on the specified sorted set which synchronizes all access to the sorted set.
- syncPoint() - Method in class com.codename1.io.gzip.Inflater
- System - Class in java.lang
-
The System class contains several useful class fields and methods.
- System() - Constructor for class java.lang.System
- SYSTEM - Static variable in interface com.codename1.backend.security.Clock
-
The time of the machine.
- systemDefault() - Static method in class java.time.ZoneId
- systemDefaultZone() - Static method in class java.time.Clock
- systemUTC() - Static method in class java.time.Clock
T
- table() - Element in annotation type com.codename1.annotations.Entity
-
SQL table name.
- table() - Method in class com.codename1.backend.orm.EntityDefinition
-
The table name: @Entity(table) or the simple class name.
- table(String) - Method in class com.codename1.migration.MigrationSet.Builder
-
Names the history table.
- table(String) - Method in class com.codename1.migration.Migrator
-
Uses a history table other than the set's own.
- TABLE - Enum constant in enum com.codename1.annotations.db.GenerationType
-
Allocates integral identifiers using the portable sequence table.
- tableName() - Method in class com.codename1.backend.orm.Dao
-
The table name, from @Entity(table) or the class's simple name.
- tagLength() - Method in class com.codename1.security.Hmac
-
Number of bytes in the authentication tag produced by this HMAC.
- tailMap(K) - Method in interface java.util.SortedMap
-
Returns a sorted map over a range of this sorted map with all keys that are greater than or equal to the specified
startKey. - tailMap(K) - Method in class java.util.TreeMap
-
Returns a sorted map over a range of this sorted map with all keys that are greater than or equal to the specified
startKey. - tailMap(K, boolean) - Method in interface java.util.NavigableMap
-
Answers a view of the tail of the map whose keys are bigger than (or equal to, depends on inclusive argument) startKey.
- tailMap(K, boolean) - Method in class java.util.TreeMap
-
Answers a view of the tail of the map whose keys are bigger than (or equal to, depends on inclusive argument) startKey.
- tailSet(E) - Method in interface java.util.SortedSet
-
Returns a
SortedSetof the specified portion of thisSortedSetwhich contains elements greater or equal to the start element. - tailSet(E) - Method in class java.util.TreeSet
-
Answers a SortedSet of the specified portion of this TreeSet which contains elements greater or equal to the start element.
- tailSet(E, boolean) - Method in interface java.util.NavigableSet
-
Answers a NavigableSet of the specified portion of this set which contains elements greater (or equal to, depends on startInclusive) the start element.
- tailSet(E, boolean) - Method in class java.util.TreeSet
-
Answers a NavigableSet of the specified portion of this set which contains elements greater (or equal to, depends on startInclusive) the start element.
- tan(double) - Static method in class java.lang.Math
-
Returns the trigonometric tangent of an angle.
- target(String) - Method in class com.codename1.migration.Migrator
-
The highest version to apply.
- Target - Annotation Type in java.lang.annotation
- TaskExecutor - Class in com.codename1.backend
-
A named place background work runs: a pool of platform threads, or virtual threads on the server's hosts.
- Tasks - Class in com.codename1.backend
-
Where background work runs: the named
TaskExecutors, and two shorthands for running something once. - Tcp - Class in com.codename1.backend
-
Blocking TCP client socket for server-side (clean-target) binaries.
- TemporalAccessor - Interface in java.time.temporal
- TEMPORARILY_UNAVAILABLE - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The server cannot answer for now.
- TEMPORARY_REDIRECT - Enum constant in enum com.codename1.backend.test.HttpStatus
- test(T) - Method in interface java.util.function.Predicate
- TestConfiguration - Annotation Type in com.codename1.backend.test
-
A class whose
@Beanmethods add beans for aBackendTest, and only for it. - TestRestTemplate - Class in com.codename1.backend.test
-
An HTTP client for a
BackendTestserved on a port --webEnvironment = RANDOM_PORT-- through the backend's own outbound client, so a compiled test sends real requests from the native binary too. - TestRestTemplate(String) - Constructor for class com.codename1.backend.test.TestRestTemplate
-
A client for the server at
rootUri, such ashttp://127.0.0.1:8080. - TestSecurityContextHolder - Class in com.codename1.backend.test
-
Who the calling thread's tests are running as.
- text(int, String) - Static method in class com.codename1.backend.HttpServer.Response
- text(ByteSink, Object) - Static method in class com.codename1.backend.mvc.Html
- TEXT - Static variable in class com.codename1.backend.sql.Dialect
-
The portable column kinds.
- TEXT_HTML - Static variable in class com.codename1.backend.test.MediaType
- TEXT_HTML_VALUE - Static variable in class com.codename1.backend.test.MediaType
- TEXT_PLAIN - Static variable in class com.codename1.backend.test.MediaType
- TEXT_PLAIN_VALUE - Static variable in class com.codename1.backend.test.MediaType
- thread() - Element in annotation type com.codename1.backend.annotations.Async
-
Which kind of thread.
- thread() - Element in annotation type com.codename1.backend.annotations.Scheduled
-
Which kind of thread runs it.
- Thread - Class in java.lang
-
A thread is a thread of execution in a program.
- Thread() - Constructor for class java.lang.Thread
-
Allocates a new Thread object.
- Thread(Runnable) - Constructor for class java.lang.Thread
-
Allocates a new Thread object with a specific target object whose run method is called.
- Thread(Runnable, String) - Constructor for class java.lang.Thread
-
Allocates a new Thread object with the given target and name.
- Thread(String) - Constructor for class java.lang.Thread
-
Allocates a new Thread object with the given name.
- ThreadKind - Enum in com.codename1.backend.annotations
- ThreadLocal<T> - Class in java.lang
-
THE VALUES LIVE ON THE THREAD, under a WEAK key, and both halves of that are load bearing.
- ThreadLocal() - Constructor for class java.lang.ThreadLocal
- ThreadLocalRandom - Class in java.util.concurrent
- threadReadBuffer(int) - Static method in class com.codename1.backend.ServerSocket
-
A reusable per-thread read buffer of at least
capacitybytes. - Throwable - Exception Class in java.lang
-
The Throwable class is the superclass of all errors and exceptions in the Java language.
- Throwable() - Constructor for exception class java.lang.Throwable
-
Constructs a new Throwable with null as its error message string.
- Throwable(String) - Constructor for exception class java.lang.Throwable
-
Constructs a new Throwable with the specified error message.
- Throwable(String, Throwable) - Constructor for exception class java.lang.Throwable
-
Constructs a new throwable with the specified detail message and cause.
- Throwable(Throwable) - Constructor for exception class java.lang.Throwable
-
Constructs a new throwable with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
- throwException(Class, Class) - Static method in class java.lang.invoke.MethodHandles
- THURSDAY - Static variable in class java.util.Calendar
-
Value of the DAY_OF_WEEK field indicating Thursday.
- time - Variable in class java.util.Calendar
-
The currently set time for this calendar, expressed in milliseconds after January 1, 1970, 0:00:00 GMT.
- Timed - Annotation Type in com.codename1.backend.annotations
-
Records how long each call of this method takes, as a histogram.
- timedJoin(Thread, long) - Method in enum java.util.concurrent.TimeUnit
-
Waits up to
timeoutof this unit forthreadto end, asthread.joindoes. - TimedOut(String) - Constructor for exception class com.codename1.backend.TransactionException.TimedOut
- timedWait(Object, long) - Method in enum java.util.concurrent.TimeUnit
-
Waits on
objfortimeoutof this unit, asobj.waitdoes. - timeout() - Element in annotation type com.codename1.backend.annotations.Transactional
-
Seconds the transaction may take before its commit is refused and it is rolled back.
- TimeoutException - Exception Class in java.util.concurrent
-
Thrown by
Future.get(long, TimeUnit)when the work has not finished in time. - TimeoutException() - Constructor for exception class java.util.concurrent.TimeoutException
-
An exception with no message.
- TimeoutException(String) - Constructor for exception class java.util.concurrent.TimeoutException
-
An exception with
message. - Timer - Class in java.util
- Timer() - Constructor for class java.util.Timer
- TimerTask - Class in java.util
- TimerTask() - Constructor for class java.util.TimerTask
- TIMESTAMP - Static variable in class com.codename1.backend.sql.Dialect
-
A moment in time, stored as epoch milliseconds.
- TimeUnit - Enum in java.util.concurrent
-
A unit of time, for timeouts such as
Future.get(long, TimeUnit). - TimeZone - Class in java.util
-
TimeZone represents a time zone offset, and also figures out daylight savings.
- TimeZone() - Constructor for class java.util.TimeZone
- tls(Tls) - Method in class com.codename1.backend.Backend.Builder
-
Terminates TLS with a context the caller built.
- tls(String, String) - Method in class com.codename1.backend.Backend.Builder
-
Terminates TLS with this certificate and key.
- Tls - Class in com.codename1.backend
-
Server-side TLS.
- TLS_CERTIFICATE - Static variable in class com.codename1.backend.Config
-
A PEM certificate chain to terminate TLS with.
- TLS_HTTP2 - Static variable in class com.codename1.backend.Config
-
Whether to offer HTTP/2 through ALPN when TLS is terminated here.
- TLS_KEY - Static variable in class com.codename1.backend.Config
-
The private key for
Config.TLS_CERTIFICATE. - toArray() - Method in class java.util.AbstractCollection
-
Returns a new array containing all elements contained in this
ArrayList. - toArray() - Method in class java.util.AbstractList
-
Returns a new array containing all elements contained in this
ArrayList. - toArray() - Method in class java.util.ArrayList
-
Returns a new array containing all elements contained in this
ArrayList. - toArray() - Method in interface java.util.Collection
-
Returns a new array containing all elements contained in this
Collection. - toArray() - Method in class java.util.LinkedList
-
Returns a new array containing all elements contained in this
LinkedList. - toArray() - Method in interface java.util.List
-
Returns an array containing all elements contained in this
List. - toArray() - Method in class java.util.PriorityQueue
-
Returns all the elements in an array.
- toArray() - Method in interface java.util.Set
-
Returns an array containing all elements contained in this set.
- toArray() - Method in interface java.util.stream.Stream
- toArray() - Method in class java.util.Vector
-
Returns a new array containing all elements contained in this vector.
- toArray(T[]) - Method in class java.util.AbstractCollection
-
Returns an array containing all elements contained in this
ArrayList. - toArray(T[]) - Method in class java.util.AbstractList
-
Returns an array containing all elements contained in this
ArrayList. - toArray(T[]) - Method in class java.util.ArrayList
-
Returns an array containing all elements contained in this
ArrayList. - toArray(T[]) - Method in interface java.util.Collection
-
Returns an array containing all elements contained in this
Collection. - toArray(T[]) - Method in class java.util.LinkedList
-
Returns an array containing all elements contained in this
LinkedList. - toArray(T[]) - Method in interface java.util.List
-
Returns an array containing all elements contained in this
List. - toArray(T[]) - Method in class java.util.PriorityQueue
-
Returns all the elements in an array, and the type of the result array is the type of the argument array.
- toArray(T[]) - Method in interface java.util.Set
-
Returns an array containing all elements contained in this set.
- toArray(T[]) - Method in class java.util.Vector
-
Returns an array containing all elements contained in this vector.
- toASCIIString() - Method in class java.net.URI
-
Returns
- toBinaryString(int) - Static method in class java.lang.Integer
-
Creates a string representation of the integer argument as an unsigned integer in base 2.
- toByteArray() - Method in class java.io.ByteArrayOutputStream
-
Creates a newly allocated byte array.
- toCharArray() - Method in class java.lang.String
-
Converts this string to a new character array.
- toChars(int) - Static method in class java.lang.Character
-
Converts the Unicode code point,
codePoint, into a UTF-16 encoded sequence that is returned as achar[]. - toChars(int, char[], int) - Static method in class java.lang.Character
-
Converts the Unicode code point,
codePoint, into a UTF-16 encoded sequence and copies the value(s) into thechar[]dst, starting at the indexdstIndex. - toCodePoint(char, char) - Static method in class java.lang.Character
-
Converts a surrogate pair into a Unicode code point.
- toDatabase(T) - Method in interface com.codename1.orm.session.AttributeConverter
-
Converts an entity field value to its stored scalar representation.
- toDays(long) - Method in enum java.util.concurrent.TimeUnit
-
dof this unit in days. - toDegrees(double) - Static method in class java.lang.Math
-
Converts an angle measured in radians to the equivalent angle measured in degrees.
- toEpochDay() - Method in class java.time.LocalDate
- toEpochMilli() - Method in class java.time.Instant
- toHex(byte[]) - Static method in class com.codename1.security.Hash
-
Encodes the bytes as a lowercase hex string (two characters per byte).
- toHexString(int) - Static method in class java.lang.Integer
-
Creates a string representation of the integer argument as an unsigned integer in base 16.
- toHours(long) - Method in enum java.util.concurrent.TimeUnit
-
dof this unit in hours. - toInstant() - Method in class java.time.OffsetDateTime
- toInstant() - Method in class java.time.ZonedDateTime
- toInstant(ZoneOffset) - Method in class java.time.LocalDateTime
- toJson() - Method in class com.codename1.backend.security.crypto.JwkSet
-
JwkSet.toPublicJson()as text. - tokenCustomizer(OAuth2TokenCustomizer) - Method in class com.codename1.backend.security.AuthorizationServerConfigurer
-
Changes the claims of every token before it is signed.
- tokenEndpoint(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings.Builder
- tokenRepository(PersistentTokenRepository) - Method in class com.codename1.backend.security.RememberMeConfigurer
-
Where tokens are kept.
- tokenRevocationEndpoint(String) - Method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings.Builder
- tokenSettings(TokenSettings) - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient.Builder
- TokenSettings - Class in com.codename1.backend.security.oauth2.server.authorization
-
How long what is issued to one client lasts, in seconds.
- TokenSettings.Builder - Class in com.codename1.backend.security.oauth2.server.authorization
-
Builds a
TokenSettings. - tokenUri(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- tokenValiditySeconds(int) - Method in class com.codename1.backend.security.RememberMeConfigurer
-
How long an unused cookie stays good; two weeks unless set.
- toList() - Static method in class java.util.stream.Collectors
- toLocalDate() - Method in class java.time.LocalDateTime
- toLocalDateTime() - Method in class java.time.OffsetDateTime
- toLocalDateTime() - Method in class java.time.ZonedDateTime
- toLocalTime() - Method in class java.time.LocalDateTime
- toLowerCase() - Method in class java.lang.String
-
Converts all of the characters in this String to lower case.
- toLowerCase(char) - Static method in class java.lang.Character
-
The given character is mapped to its lowercase equivalent; if the character has no lowercase equivalent, the character itself is returned.
- toMap() - Method in class com.codename1.backend.security.oauth2.client.OAuth2AuthorizationRequest
-
The request as a map of text, numbers and lists: what a session, or a cookie, can keep.
- toMap() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialCreationOptions
-
The options as the JSON a client takes; see the class.
- toMap() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialRequestOptions
-
The options as the JSON a client takes; see the class.
- toMap(Authentication) - Method in class com.codename1.backend.security.HttpSessionSecurityContextRepository
-
authenticationas the plain values a session store can keep. - toMicros(long) - Method in enum java.util.concurrent.TimeUnit
-
dof this unit in microseconds. - toMillis() - Method in class java.time.Duration
- toMillis(long) - Method in enum java.util.concurrent.TimeUnit
-
dof this unit in milliseconds. - toMinutes(long) - Method in enum java.util.concurrent.TimeUnit
-
dof this unit in minutes. - toNanoOfDay() - Method in class java.time.LocalTime
- toNanos(long) - Method in enum java.util.concurrent.TimeUnit
-
dof this unit in nanoseconds. - TOO_MANY_REQUESTS - Enum constant in enum com.codename1.backend.test.HttpStatus
- toOctalString(int) - Static method in class java.lang.Integer
-
Creates a string representation of the integer argument as an unsigned integer in base 8.
- toPattern() - Method in class java.text.SimpleDateFormat
-
Returns
- toPublicJson() - Method in class com.codename1.backend.security.crypto.Jwk
-
The key as the JSON a key set publishes: its type, id and public numbers, with
algandusewhen it has them. - toPublicJson() - Method in class com.codename1.backend.security.crypto.JwkSet
-
The set as a
jwks_uriserves it: the public half of every RSA and EC key. - toRadians(double) - Static method in class java.lang.Math
-
Converts an angle measured in degrees to the equivalent angle measured in radians.
- toSecondOfDay() - Method in class java.time.LocalTime
- toSeconds(long) - Method in enum java.util.concurrent.TimeUnit
-
dof this unit in seconds. - toStoredMap() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialRequestOptions
-
PublicKeyCredentialRequestOptions.toMap()and, beside it, what the server alone keeps: for where a ceremony's pending state is stored. - toString() - Method in class com.codename1.backend.Database
- toString() - Method in class com.codename1.backend.DataSource
- toString() - Method in class com.codename1.backend.orm.ColumnDefinition
- toString() - Method in class com.codename1.backend.orm.EntityDefinition
- toString() - Method in class com.codename1.backend.orm.Query
-
The conditions as SQL, for a message or for a statement built around them.
- toString() - Method in class com.codename1.backend.security.AbstractAuthenticationToken
- toString() - Method in class com.codename1.backend.security.AntPathRequestMatcher
- toString() - Method in class com.codename1.backend.security.AnyRequestMatcher
- toString() - Method in class com.codename1.backend.security.apikey.ApiKey
- toString() - Method in class com.codename1.backend.security.apikey.GeneratedApiKey
- toString() - Method in class com.codename1.backend.security.AuthorityAuthorizationDecision
- toString() - Method in class com.codename1.backend.security.AuthorityAuthorizationManager
- toString() - Method in class com.codename1.backend.security.AuthorizationDecision
- toString() - Method in class com.codename1.backend.security.core.userdetails.User
- toString() - Method in class com.codename1.backend.security.crypto.Jwk
- toString() - Method in class com.codename1.backend.security.crypto.JwkSet
- toString() - Method in class com.codename1.backend.security.DefaultSecurityFilterChain
- toString() - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration
- toString() - Method in class com.codename1.backend.security.oauth2.client.DefaultOAuth2User
- toString() - Method in class com.codename1.backend.security.oauth2.core.AuthorizationGrantType
- toString() - Method in class com.codename1.backend.security.oauth2.core.ClientAuthenticationMethod
- toString() - Method in class com.codename1.backend.security.oauth2.core.OAuth2Error
- toString() - Method in class com.codename1.backend.security.oauth2.jwt.Jwt
- toString() - Method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
- toString() - Method in class com.codename1.backend.security.oauth2.server.resource.BearerTokenAuthenticationToken
- toString() - Method in class com.codename1.backend.security.SecurityContextImpl
- toString() - Method in class com.codename1.backend.security.SimpleGrantedAuthority
- toString() - Method in class com.codename1.backend.security.webauthn.PublicKeyCredentialUserEntity
- toString() - Method in class com.codename1.backend.sql.Dialect
- toString() - Method in class com.codename1.backend.TaskExecutor
- toString() - Method in class com.codename1.backend.test.HttpHeaders
- toString() - Method in class com.codename1.backend.test.ResponseEntity
- toString() - Method in class com.codename1.migration.MigrationInfo
-
One line per migration, for a log.
- toString() - Method in class java.io.ByteArrayOutputStream
-
Converts the buffer's contents into a string, translating bytes into characters according to the platform's default character encoding.
- toString() - Method in class java.io.StringWriter
- toString() - Method in interface java.lang.annotation.Annotation
-
Returns a string representation of this annotation.
- toString() - Method in class java.lang.Boolean
-
Returns a String object representing this Boolean's value.
- toString() - Method in class java.lang.Byte
-
Returns a String object representing this Byte's value.
- toString() - Method in class java.lang.Character
-
Returns a String object representing this character's value.
- toString() - Method in interface java.lang.CharSequence
-
Returns a string with the same characters in the same order as in this sequence.
- toString() - Method in class java.lang.Class
-
Converts the object to a string.
- toString() - Method in class java.lang.Double
-
Returns a String representation of this Double object.
- toString() - Method in class java.lang.Enum
- toString() - Method in class java.lang.Float
-
Returns a String representation of this Float object.
- toString() - Method in class java.lang.Integer
-
Returns a String object representing this Integer's value.
- toString() - Method in class java.lang.Long
-
Returns a String object representing this Long's value.
- toString() - Method in class java.lang.Object
-
Returns a string representation of the object.
- toString() - Method in class java.lang.Record
- toString() - Method in class java.lang.Short
-
Returns a String object representing this Short's value.
- toString() - Method in class java.lang.String
-
This object (which is already a string!) is itself returned.
- toString() - Method in class java.lang.StringBuffer
-
Converts to a string representing the data in this string buffer.
- toString() - Method in class java.lang.StringBuilder
-
Converts to a string representing the data in this string builder.
- toString() - Method in class java.lang.Thread
-
Returns a string representation of this thread, including the thread's name and priority.
- toString() - Method in exception class java.lang.Throwable
-
Returns a short description of this Throwable object.
- toString() - Method in class java.net.URI
-
Returns
- toString() - Method in class java.time.Duration
- toString() - Method in class java.time.Instant
- toString() - Method in class java.time.LocalDate
- toString() - Method in class java.time.LocalDateTime
- toString() - Method in class java.time.LocalTime
- toString() - Method in class java.time.OffsetDateTime
- toString() - Method in class java.time.Period
- toString() - Method in class java.time.ZonedDateTime
- toString() - Method in class java.time.ZoneId
- toString() - Method in class java.util.AbstractCollection
-
Returns the string representation of this
Collection. - toString() - Method in class java.util.AbstractMap.SimpleEntry
-
Answers a String representation of this entry.
- toString() - Method in class java.util.AbstractMap.SimpleImmutableEntry
-
Answers a String representation of this entry.
- toString() - Method in class java.util.AbstractMap
-
Returns the string representation of this map.
- toString() - Method in class java.util.BitSet
-
Returns a string containing a concise, human-readable description of the receiver.
- toString() - Method in class java.util.Date
-
Converts this Date object to a String of the form: dow mon dd hh:mm:ss zzz yyyy where: dow is the day of the week (Sun, Mon, Tue, Wed, Thu, Fri, Sat).
- toString() - Method in class java.util.Hashtable
-
Returns the string representation of this
Hashtable. - toString() - Method in class java.util.Vector
-
Returns the string representation of this vector.
- toString(boolean[]) - Static method in class java.util.Arrays
-
Creates a
Stringrepresentation of theboolean[]passed. - toString(byte[]) - Static method in class java.util.Arrays
-
Creates a
Stringrepresentation of thebyte[]passed. - toString(char[]) - Static method in class java.util.Arrays
-
Creates a
Stringrepresentation of thechar[]passed. - toString(double) - Static method in class java.lang.Double
-
Creates a string representation of the double argument.
- toString(double[]) - Static method in class java.util.Arrays
-
Creates a
Stringrepresentation of thedouble[]passed. - toString(float) - Static method in class java.lang.Float
-
Returns a String representation for the specified float value.
- toString(float[]) - Static method in class java.util.Arrays
-
Creates a
Stringrepresentation of thefloat[]passed. - toString(int) - Static method in class java.lang.Integer
-
Returns a new String object representing the specified integer.
- toString(int[]) - Static method in class java.util.Arrays
-
Creates a
Stringrepresentation of theint[]passed. - toString(int, int) - Static method in class java.lang.Integer
-
Creates a string representation of the first argument in the radix specified by the second argument.
- toString(long) - Static method in class java.lang.Long
-
Returns a new String object representing the specified integer.
- toString(long[]) - Static method in class java.util.Arrays
-
Creates a
Stringrepresentation of thelong[]passed. - toString(long, int) - Static method in class java.lang.Long
-
Creates a string representation of the first argument in the radix specified by the second argument.
- toString(short[]) - Static method in class java.util.Arrays
-
Creates a
Stringrepresentation of theshort[]passed. - toString(Object) - Static method in class java.util.Objects
- toString(Object[]) - Static method in class java.util.Arrays
-
Creates a
Stringrepresentation of theObject[]passed. - toString(Object, String) - Static method in class java.util.Objects
- toString(String) - Method in class java.io.ByteArrayOutputStream
-
Converts the buffer's contents into a string, translating bytes into characters according to the named charset.
- totalIn - Variable in class com.codename1.io.gzip.ZStream
-
Deprecated.
- totalMemory() - Method in class java.lang.Runtime
-
Returns the total amount of memory in the Java Virtual Machine.
- totalOut - Variable in class com.codename1.io.gzip.ZStream
-
Deprecated.
- toTitleCase(char) - Static method in class java.lang.Character
- toTitleCase(int) - Static method in class java.lang.Character
- totp(byte[]) - Static method in class com.codename1.security.Otp
-
Generates a TOTP code (RFC 6238) for the current system time, using SHA-1, 6 digits and a 30-second step.
- totp(byte[], int, int) - Static method in class com.codename1.security.Otp
-
Generates a TOTP code for the current system time with a custom digit count and step size.
- totp(byte[], long, int, int, String) - Static method in class com.codename1.security.Otp
-
Generates a TOTP code with full control over all parameters.
- TotpCredential - Class in com.codename1.backend.security.mfa
-
What the server keeps of one user's authenticator app.
- TotpCredential(String, byte[], boolean, long) - Constructor for class com.codename1.backend.security.mfa.TotpCredential
- TotpEnrollment - Class in com.codename1.backend.security.mfa
-
What a user needs to add the server to their authenticator app: shown once, when enrolment begins.
- TotpRepository - Interface in com.codename1.backend.security.mfa
-
Where the secrets of users' authenticator apps are kept.
- totpService(TotpService) - Method in class com.codename1.backend.security.MfaConfigurer
-
What checks one-time codes, in place of the application's bean.
- TotpService - Class in com.codename1.backend.security.mfa
-
Time-based one-time codes (RFC 6238): enrolling a user's authenticator app, and checking the codes it shows.
- TotpService(TotpRepository, String) - Constructor for class com.codename1.backend.security.mfa.TotpService
- touchToken(String, String, long) - Method in class com.codename1.backend.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService
- touchToken(String, String, long) - Method in class com.codename1.backend.security.oauth2.server.authorization.JdbcOAuth2AuthorizationService
- touchToken(String, String, long) - Method in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
Records that a secret was presented at
now, without checking its previous timestamp. - toUpperCase() - Method in class java.lang.String
-
Converts all of the characters in this String to upper case.
- toUpperCase(char) - Static method in class java.lang.Character
-
Converts the character argument to uppercase; if the character has no uppercase equivalent, the character itself is returned.
- toUpperCase(Locale) - Method in class java.lang.String
- traceparent() - Method in class com.codename1.backend.Span
-
This span as a W3C
traceparentvalue, which is what an outbound request carries so the service it reaches joins the same trace. - Tracer - Interface in com.codename1.backend
-
Where spans come from and where they go.
- TRACES_ENDPOINT - Static variable in class com.codename1.backend.otel.OtlpTracer
- TRACES_HEADERS - Static variable in class com.codename1.backend.otel.OtlpTracer
- TRACES_PROTOCOL - Static variable in class com.codename1.backend.otel.OtlpTracer
- tracestate() - Method in class com.codename1.backend.Span
-
The W3C
tracestatethis trace carries, or null for none. - tracing(Tracer) - Method in class com.codename1.backend.Backend.Builder
-
Traces every request with this tracer, once
Tracer.open(Config)has read the configuration and agreed to. - Tracing - Class in com.codename1.backend
-
Distributed tracing for the server, and the hooks it is instrumented through.
- Tracing.Work - Interface in com.codename1.backend
-
What
Tracing.inSpan(String, Tracing.Work)runs. - transaction(Database.Work) - Method in class com.codename1.backend.Database
- transaction(Db.Work) - Method in class com.codename1.backend.Db
-
Synchronized because a TRANSACTION is not one call.
- transaction(EntityManager.Work) - Method in class com.codename1.backend.orm.EntityManager
-
Runs
bodyinside one transaction on one connection. - Transactional - Annotation Type in com.codename1.backend.annotations
-
Runs this method -- or every public method of this class -- in a database transaction.
- TransactionException - Exception Class in com.codename1.backend
-
A transaction could not begin, commit or roll back the way a
@Transactionalmethod asked. - TransactionException(String) - Constructor for exception class com.codename1.backend.TransactionException
- TransactionException(String, Throwable) - Constructor for exception class com.codename1.backend.TransactionException
- TransactionException.IllegalState - Exception Class in com.codename1.backend
-
A MANDATORY method was called with no transaction, or a NEVER one inside one.
- TransactionException.TimedOut - Exception Class in com.codename1.backend
-
The transaction ran past its
timeoutand was rolled back. - TransactionException.UnexpectedRollback - Exception Class in com.codename1.backend
-
A transaction was rolled back although its own method returned normally, because a method that joined it failed and marked it rollback-only.
- Transactions - Class in com.codename1.backend
-
The transaction a
@Transactionalmethod runs in, bound to the calling thread. - transports(List) - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
- TreeMap<K,
V> - Class in java.util -
TreeMap is an implementation of SortedMap.
- TreeMap() - Constructor for class java.util.TreeMap
-
Constructs a new empty
TreeMapinstance. - TreeMap(Comparator) - Constructor for class java.util.TreeMap
-
Constructs a new empty
TreeMapinstance with the specified comparator. - TreeMap(Map) - Constructor for class java.util.TreeMap
-
Constructs a new
TreeMapinstance containing the mappings from the specified map and using natural ordering. - TreeMap(SortedMap) - Constructor for class java.util.TreeMap
-
Constructs a new
TreeMapinstance containing the mappings from the specified SortedMap and using the same comparator. - TreeSet<E> - Class in java.util
-
TreeSet is an implementation of SortedSet.
- TreeSet() - Constructor for class java.util.TreeSet
-
Constructs a new empty instance of
TreeSetwhich uses natural ordering. - TreeSet(Collection) - Constructor for class java.util.TreeSet
-
Constructs a new instance of
TreeSetwhich uses natural ordering and containing the unique elements in the specified collection. - TreeSet(Comparator) - Constructor for class java.util.TreeSet
-
Constructs a new empty instance of
TreeSetwhich uses the specified comparator. - TreeSet(SortedSet) - Constructor for class java.util.TreeSet
-
Constructs a new instance of
TreeSetcontaining the elements of the specified SortedSet and using the same Comparator. - trigger(HttpServer.Response, String) - Static method in class com.codename1.backend.mvc.Htmx
- trim() - Method in class java.lang.String
-
Removes white space from both ends of this string.
- trimToSize() - Method in class java.lang.StringBuffer
- trimToSize() - Method in class java.lang.StringBuilder
- trimToSize() - Method in class java.util.ArrayList
-
Sets the capacity of this
ArrayListto be the same as the current size. - trimToSize() - Method in class java.util.Vector
-
Sets the capacity of this vector to be the same as the size.
- TRUE - Static variable in class java.lang.Boolean
-
The Boolean object corresponding to the primitive value true.
- truth(Object) - Static method in class com.codename1.backend.mvc.Html
- tryAcquire(String) - Method in class com.codename1.backend.security.ratelimit.InMemoryRateLimiter
- tryAcquire(String) - Method in class com.codename1.backend.security.ratelimit.JdbcRateLimiter
- tryAcquire(String) - Method in interface com.codename1.backend.security.ratelimit.RateLimiter
-
Counts one request under
key. - TUESDAY - Static variable in class java.util.Calendar
-
Value of the DAY_OF_WEEK field indicating Tuesday.
- tuneForConcurrency(int) - Method in class com.codename1.backend.Database
-
SQLite-only tuning, ignored elsewhere.
- TWO_WEEKS_S - Static variable in class com.codename1.backend.security.rememberme.PersistentTokenBasedRememberMeServices
-
Two weeks, as in Spring Security.
- type() - Element in annotation type com.codename1.annotations.Column
-
Optional explicit SQL type.
- type() - Method in class com.codename1.backend.orm.Dao
-
The entity class.
- type() - Method in class com.codename1.backend.orm.EntityDefinition
-
The entity class.
- type() - Method in class java.lang.invoke.CallSite
- type() - Method in class java.lang.invoke.MethodHandle
- type(String) - Method in class com.codename1.backend.security.oauth2.jwt.JwsHeader.Builder
-
typ:JWT, orat+jwtfor an access token. - Type - Interface in java.lang.reflect
- TYPE - Enum constant in enum java.lang.annotation.ElementType
- TYPE - Static variable in class java.lang.Byte
- TYPE - Static variable in class java.lang.Double
- TYPE - Static variable in class java.lang.Integer
- TYPE - Static variable in class java.lang.Long
- TYPE - Static variable in class java.lang.Void
U
- UnaryOperator<T> - Interface in java.util.function
- unauthenticated(Object, Object) - Static method in class com.codename1.backend.security.UsernamePasswordAuthenticationToken
-
A token still to be checked.
- UNAUTHORIZED - Enum constant in enum com.codename1.backend.test.HttpStatus
- UNAUTHORIZED_CLIENT - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The client may not use this grant.
- UnexpectedRollback(String) - Constructor for exception class com.codename1.backend.TransactionException.UnexpectedRollback
- unique() - Element in annotation type com.codename1.annotations.Column
-
Creates a unique index when the managed schema is created.
- unique() - Element in annotation type com.codename1.annotations.db.Index
-
Requires indexed value combinations to be unique.
- unit() - Element in annotation type com.codename1.backend.annotations.ManagedAttribute
-
The unit, in UCUM as OpenTelemetry expects --
ms,By,{request}. - UNKNOWN_CREDENTIAL - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
No credential with this id is registered.
- unlink(String, String) - Method in interface com.codename1.backend.security.oauth2.client.FederatedIdentityRepository
-
Unties the identity.
- unlink(String, String) - Method in class com.codename1.backend.security.oauth2.client.InMemoryFederatedIdentityRepository
- unlink(String, String) - Method in class com.codename1.backend.security.oauth2.client.JdbcFederatedIdentityRepository
- unmodifiableCollection(Collection) - Static method in class java.util.Collections
-
Returns a wrapper on the specified collection which throws an
UnsupportedOperationExceptionwhenever an attempt is made to modify the collection. - unmodifiableList(List) - Static method in class java.util.Collections
-
Returns a wrapper on the specified list which throws an
UnsupportedOperationExceptionwhenever an attempt is made to modify the list. - unmodifiableMap(Map) - Static method in class java.util.Collections
-
Returns a wrapper on the specified map which throws an
UnsupportedOperationExceptionwhenever an attempt is made to modify the map. - unmodifiableSet(Set) - Static method in class java.util.Collections
-
Returns a wrapper on the specified set which throws an
UnsupportedOperationExceptionwhenever an attempt is made to modify the set. - unmodifiableSortedMap(SortedMap) - Static method in class java.util.Collections
-
Returns a wrapper on the specified sorted map which throws an
UnsupportedOperationExceptionwhenever an attempt is made to modify the sorted map. - unmodifiableSortedSet(SortedSet) - Static method in class java.util.Collections
-
Returns a wrapper on the specified sorted set which throws an
UnsupportedOperationExceptionwhenever an attempt is made to modify the sorted set. - UNPROCESSABLE_ENTITY - Enum constant in enum com.codename1.backend.test.HttpStatus
- unreflect(Object) - Method in class java.lang.invoke.MethodHandles.Lookup
- unreflectConstructor(Object) - Method in class java.lang.invoke.MethodHandles.Lookup
- unreflectGetter(Object) - Method in class java.lang.invoke.MethodHandles.Lookup
- unreflectSetter(Object) - Method in class java.lang.invoke.MethodHandles.Lookup
- unreflectSpecial(Object, Class) - Method in class java.lang.invoke.MethodHandles.Lookup
- UNSIGNED_PAYLOAD - Static variable in class com.codename1.backend.aws.Aws
-
The unsigned-payload marker, for a body the caller does not want hashed.
- UNSUPPORTED_ALGORITHM - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The credential's key is of an algorithm this server does not verify.
- UNSUPPORTED_ATTESTATION - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The attestation is in a format this server does not verify.
- UNSUPPORTED_GRANT_TYPE - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The server does not issue tokens for this grant.
- UNSUPPORTED_MEDIA_TYPE - Enum constant in enum com.codename1.backend.test.HttpStatus
- UNSUPPORTED_RESPONSE_TYPE - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The server does not answer this response type.
- UNSUPPORTED_TOKEN_TYPE - Static variable in class com.codename1.backend.security.oauth2.core.OAuth2ErrorCodes
-
The token type is one the server does not revoke.
- UnsupportedEncodingException - Exception Class in java.io
-
The Character Encoding is not supported.
- UnsupportedEncodingException() - Constructor for exception class java.io.UnsupportedEncodingException
-
Constructs an UnsupportedEncodingException without a detail message.
- UnsupportedEncodingException(String) - Constructor for exception class java.io.UnsupportedEncodingException
-
Constructs an UnsupportedEncodingException with a detail message.
- UnsupportedOperationException - Exception Class in java.lang
- UnsupportedOperationException() - Constructor for exception class java.lang.UnsupportedOperationException
- UnsupportedOperationException(String) - Constructor for exception class java.lang.UnsupportedOperationException
- unwrap() - Method in class java.lang.invoke.MethodType
- UP_DOWN_COUNTER - Static variable in class com.codename1.backend.metrics.Instrument
- update(byte) - Method in class com.codename1.security.Hash
-
Feeds a single byte into the running hash.
- update(byte[]) - Method in class com.codename1.security.Hash
-
Feeds the entire array into the running hash.
- update(byte[]) - Method in class com.codename1.security.Hmac
-
Appends bytes to the message being authenticated.
- update(byte[], int, int) - Method in class com.codename1.io.gzip.Adler32
- update(byte[], int, int) - Method in class com.codename1.io.gzip.CRC32
- update(byte[], int, int) - Method in class com.codename1.security.Hash
-
Feeds a slice of the array into the running hash.
- update(byte[], int, int) - Method in class com.codename1.security.Hmac
-
Appends a slice of bytes to the message being authenticated.
- update(Observable, Object) - Method in interface java.util.Observer
-
This method is called if the specified
Observableobject'snotifyObserversmethod is called (because theObservableobject has been updated. - update(T) - Method in class com.codename1.backend.orm.Dao
-
Updates every non-key column of the row whose key
entitycarries. - updateName(String) - Method in class com.codename1.backend.Span
-
Renames the span.
- updatePassword(UserDetails, String) - Method in class com.codename1.backend.security.core.userdetails.InMemoryUserDetailsManager
- updatePassword(UserDetails, String) - Method in class com.codename1.backend.security.core.userdetails.JdbcUserDetailsManager
- updatePassword(UserDetails, String) - Method in interface com.codename1.backend.security.core.userdetails.UserDetailsPasswordService
-
Stores
newPassword, which is already encoded, asuser's password, and returns the user as it now is. - updatesOnConflict(String) - Method in class com.codename1.backend.sql.Dialect
-
Whether
sqlupdates an existing row when it conflicts. - updateToken(String, String, String, long) - Method in class com.codename1.backend.security.rememberme.InMemoryTokenRepositoryImpl
- updateToken(String, String, String, long) - Method in class com.codename1.backend.security.rememberme.JdbcTokenRepository
- updateToken(String, String, String, long) - Method in interface com.codename1.backend.security.rememberme.PersistentTokenRepository
-
Replaces the token of
series, if it is stillexpectedTokenHash. - updateUser(UserDetails) - Method in class com.codename1.backend.security.core.userdetails.InMemoryUserDetailsManager
- updateUser(UserDetails) - Method in class com.codename1.backend.security.core.userdetails.JdbcUserDetailsManager
- updateUser(UserDetails) - Method in interface com.codename1.backend.security.core.userdetails.UserDetailsManager
- upDownCounter(String, String, String) - Static method in class com.codename1.backend.metrics.Metrics
-
A counter that can go down too -- items in a queue, open sessions.
- upgradeEncoding(String) - Method in class com.codename1.backend.security.crypto.BCryptPasswordEncoder
-
True when the stored password was made with a lower cost than this encoder's.
- upgradeEncoding(String) - Method in class com.codename1.backend.security.crypto.DelegatingPasswordEncoder
- upgradeEncoding(String) - Method in interface com.codename1.backend.security.crypto.PasswordEncoder
-
Whether
encodedPasswordshould be encoded again for better protection: it was made by an older scheme, or with fewer rounds than this encoder uses now. - upgradeEncoding(String) - Method in class com.codename1.backend.security.crypto.Pbkdf2Sha256PasswordEncoder
-
True when the stored password was made with fewer rounds than passwords get now.
- URI - Class in java.net
-
An implementation of a Univeral Resource Identifier (URI).
- URI(String) - Constructor for class java.net.URI
-
Constructor that parses its values from a URI string.
- URI(String, String, String) - Constructor for class java.net.URI
-
Constructor for building URNs.
- URI(String, String, String, int, String, String, String) - Constructor for class java.net.URI
-
Constructor to create a new URI object.
- URI(String, String, String, String, String) - Constructor for class java.net.URI
-
Constructor to create a new URI object.
- URISyntaxException - Exception Class in java.net
- URISyntaxException(String, String) - Constructor for exception class java.net.URISyntaxException
-
Parameters
- URISyntaxException(String, String, int) - Constructor for exception class java.net.URISyntaxException
-
Parameters
- urlPart(Object) - Static method in class com.codename1.backend.mvc.Html
- US_ASCII - Static variable in class java.nio.charset.StandardCharsets
- usable(Jwk, String) - Static method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerKeys
-
keymarked as a signing key under the algorithm its kind signs with. - useDaylightTime() - Method in class java.util.TimeZone
-
Queries if this time zone uses Daylight Savings Time.
- useInvalidToken() - Method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors.CsrfRequestPostProcessor
-
Sends a token that is not the expected one, to see it refused.
- user(UserDetails) - Static method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors
-
The request is from this user.
- user(String) - Static method in class com.codename1.backend.test.SecurityMockMvcRequestPostProcessors
-
The request is from a user of this name, with the role
USERunless told otherwise. - User - Class in com.codename1.backend.security.core.userdetails
-
The
UserDetailsthe runtime provides. - User(String, String, boolean, boolean, boolean, boolean, Collection) - Constructor for class com.codename1.backend.security.core.userdetails.User
- User(String, String, Collection) - Constructor for class com.codename1.backend.security.core.userdetails.User
- USER_CODE - Static variable in interface com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationService
-
The kind of an RFC 8628 user code.
- USER_MISMATCH - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The credential belongs to another user than the one the ceremony is for, or the response names no user where it must.
- USER_NAME - Static variable in class com.codename1.backend.security.HttpSecurity
-
The name of the one user a server with no user store has, when
HttpSecurity.USER_PASSWORDis set;userunless set. - USER_NOT_PRESENT - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The authenticator did not see the user: the user-present flag is clear.
- USER_NOT_VERIFIED - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The ceremony required the user to be verified, and the flag is clear.
- USER_PASSWORD - Static variable in class com.codename1.backend.security.HttpSecurity
-
That user's password, as it would be stored; one written without an
{id}is taken as{noop}, which verifies on a development profile only. - USER_ROLES - Static variable in class com.codename1.backend.security.HttpSecurity
-
That user's roles, separated by commas.
- User.UserBuilder - Class in com.codename1.backend.security.core.userdetails
-
Builds a
User. - userCredentialRepository(UserCredentialRepository) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
Where credentials are kept, in place of the application's bean.
- UserCredentialRepository - Interface in com.codename1.backend.security.webauthn
-
Where the passkeys users have registered are kept.
- UserDetails - Interface in com.codename1.backend.security.core.userdetails
-
A user as the security layer needs to know one: a name, an encoded password, what it has been granted, and whether the account may be used.
- UserDetailsManager - Interface in com.codename1.backend.security.core.userdetails
-
A
UserDetailsServicethat can also create, change and delete its users. - UserDetailsPasswordService - Interface in com.codename1.backend.security.core.userdetails
-
Stores a password re-encoded on sign-in, for a user store that wants old hashes replaced as their owners come back.
- userDetailsService(UserDetailsService) - Method in class com.codename1.backend.security.HttpSecurity
-
The users of this chain, in place of the application's
UserDetailsServicebean. - userDetailsService(UserDetailsService) - Method in class com.codename1.backend.security.RememberMeConfigurer
-
Where a remembered user is looked up, in place of the chain's users.
- userDetailsService(UserDetailsService) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
The users a passkey signs in, in place of the application's bean.
- UserDetailsService - Interface in com.codename1.backend.security.core.userdetails
-
Finds a user by the name typed at sign-in.
- userEmailsUri(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- userEntityRepository(PublicKeyCredentialUserEntityRepository) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
Where users' handles are kept, in place of the application's bean.
- userEntityUserId(byte[]) - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
- userExists(String) - Method in class com.codename1.backend.security.core.userdetails.InMemoryUserDetailsManager
- userExists(String) - Method in class com.codename1.backend.security.core.userdetails.JdbcUserDetailsManager
- userExists(String) - Method in interface com.codename1.backend.security.core.userdetails.UserDetailsManager
- userInfoMapper(OidcUserInfoMapper) - Method in class com.codename1.backend.security.AuthorizationServerConfigurer
-
What the server says of a user; see
OidcUserInfoMapper. - userInfoUri(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- username() - Element in annotation type com.codename1.backend.test.WithMockUser
-
The user's name;
userunless set here or inWithMockUser.value(). - username(String) - Method in class com.codename1.backend.security.core.userdetails.User.UserBuilder
- userNameAttributeName(String) - Method in class com.codename1.backend.security.oauth2.client.ClientRegistration.Builder
- usernameFirst(boolean) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
Whether
POST /webauthn/authenticate/optionsmay be told ausername - usernameKey(String) - Static method in class com.codename1.backend.security.SecuritySchema
-
A user name as the tables are keyed by it:
AtoZfolded to lower case, and nothing else changed. - UsernameNotFoundException - Exception Class in com.codename1.backend.security.core.userdetails
-
A
UserDetailsServicehas no user of the name it was asked for. - UsernameNotFoundException(String) - Constructor for exception class com.codename1.backend.security.core.userdetails.UsernameNotFoundException
- UsernameNotFoundException(String, Throwable) - Constructor for exception class com.codename1.backend.security.core.userdetails.UsernameNotFoundException
- usernameParameter(String) - Method in class com.codename1.backend.security.FormLoginConfigurer
- UsernamePasswordAuthenticationFilter - Class in com.codename1.backend.security
-
Signs a user in from the login form: a POST to the login processing URL carrying
usernameandpassword. - UsernamePasswordAuthenticationToken - Class in com.codename1.backend.security
-
A username and password: as a client presented them, or -- with authorities -- as an
AuthenticationProvideraccepted them. - UsernamePasswordAuthenticationToken(Object, Object) - Constructor for class com.codename1.backend.security.UsernamePasswordAuthenticationToken
-
A token still to be checked.
- UsernamePasswordAuthenticationToken(Object, Object, Collection) - Constructor for class com.codename1.backend.security.UsernamePasswordAuthenticationToken
-
A token that has been checked.
- userService(OAuth2UserService) - Method in class com.codename1.backend.security.OAuth2LoginConfigurer
-
What makes the user of a provider without OpenID Connect.
- userVerification(String) - Method in class com.codename1.backend.security.WebAuthnConfigurer
-
Whether the authenticator must verify the user:
required,preferred-- the default -- ordiscouraged. - useSecureCookie(boolean) - Method in class com.codename1.backend.security.RememberMeConfigurer
-
Whether the cookie is
Secure; when the request was, unless set. - UTC - Static variable in class java.time.ZoneOffset
- UTF_8 - Static variable in class java.nio.charset.StandardCharsets
- utf8(String) - Static method in class com.codename1.backend.mvc.Html
- utf8(String) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
The bytes of
valuein UTF-8. - UTFDataFormatException - Exception Class in java.io
-
Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
- UTFDataFormatException() - Constructor for exception class java.io.UTFDataFormatException
-
Constructs a UTFDataFormatException with null as its error detail message.
- UTFDataFormatException(String) - Constructor for exception class java.io.UTFDataFormatException
-
Constructs a UTFDataFormatException with the specified detail message.
- UUID - Enum constant in enum com.codename1.annotations.db.GenerationType
-
Assigns a generated UUID string.
- uvInitialized(boolean) - Method in class com.codename1.backend.security.webauthn.CredentialRecord.Builder
V
- validate() - Method in class com.codename1.migration.Migrator
-
Throws unless the database is exactly at this build's migrations: nothing pending, nothing edited, nothing missing.
- validate(Jwt) - Method in class com.codename1.backend.security.oauth2.jwt.JwtAudienceValidator
- validate(Jwt) - Method in class com.codename1.backend.security.oauth2.jwt.JwtClaimValidator
- validate(Jwt) - Method in class com.codename1.backend.security.oauth2.jwt.JwtIssuerValidator
- validate(Jwt) - Method in class com.codename1.backend.security.oauth2.jwt.JwtTimestampValidator
- validate(Jwt) - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2AuthorizationValidator
- validate(T) - Method in class com.codename1.backend.security.oauth2.core.DelegatingOAuth2TokenValidator
- validate(T) - Method in interface com.codename1.backend.security.oauth2.core.OAuth2TokenValidator
-
Whether
tokenpasses, and why not. - VALIDATE_FAILED - Static variable in exception class com.codename1.migration.MigrationException
-
The applied history does not match the migrations this build carries.
- validateOnMigrate(boolean) - Method in class com.codename1.migration.Migrator
-
Whether
Migrator.migrate()first checks that every applied migration is still present and unchanged. - validateSchema() - Method in interface com.codename1.orm.session.Session
-
Checks mapped columns, type families, nullability, and primary keys.
- validIssuer(String) - Static method in class com.codename1.backend.security.oauth2.server.authorization.AuthorizationServerSettings
-
issuer, required to be anhttporhttpsaddress with no query, no fragment and no trailing slash, as RFC 8414 asks of one. - value() - Element in annotation type com.codename1.annotations.db.DiscriminatorValue
-
Names the unique discriminator stored for this concrete entity class.
- value() - Element in annotation type com.codename1.annotations.db.OrderBy
-
Orders loaded related entities by Java scalar attribute names.
- value() - Element in annotation type com.codename1.annotations.JsonProperty
-
The JSON key.
- value() - Element in annotation type com.codename1.backend.annotations.Async
-
The executor to run on, configured as
cn1.task.executor.<name>.*. - value() - Element in annotation type com.codename1.backend.annotations.Bean
-
The bean's name.
- value() - Element in annotation type com.codename1.backend.annotations.Component
-
The bean's name, for
Qualifier. - value() - Element in annotation type com.codename1.backend.annotations.ConditionalOnMissingBean
-
The types whose presence makes this bean step aside, when the default set is too wide or too narrow.
- value() - Element in annotation type com.codename1.backend.annotations.ConditionalOnProperty
-
The key, or several keys that must all match.
- value() - Element in annotation type com.codename1.backend.annotations.Configuration
-
The bean's name, for
Qualifier. - value() - Element in annotation type com.codename1.backend.annotations.ConfigurationProperties
-
The key prefix, without the trailing dot.
- value() - Element in annotation type com.codename1.backend.annotations.Counted
-
The metric's name.
- value() - Element in annotation type com.codename1.backend.annotations.DeleteMapping
-
The path, relative to any
RequestMappingon the class. - value() - Element in annotation type com.codename1.backend.annotations.GetMapping
-
The path, relative to any
RequestMappingon the class. - value() - Element in annotation type com.codename1.backend.annotations.Lazy
-
Whether the bean is lazy; false undoes a class-level annotation.
- value() - Element in annotation type com.codename1.backend.annotations.McpParam
-
The argument's name in the tool call.
- value() - Element in annotation type com.codename1.backend.annotations.ModelAttribute
- value() - Element in annotation type com.codename1.backend.annotations.Order
-
The position:
Order.HIGHEST_PRECEDENCEcomes first,Order.LOWEST_PRECEDENCElast. - value() - Element in annotation type com.codename1.backend.annotations.P
-
The name the expression uses.
- value() - Element in annotation type com.codename1.backend.annotations.PatchMapping
-
The path, relative to any
RequestMappingon the class. - value() - Element in annotation type com.codename1.backend.annotations.PathVariable
-
The name to bind from.
- value() - Element in annotation type com.codename1.backend.annotations.PostMapping
-
The path, relative to any
RequestMappingon the class. - value() - Element in annotation type com.codename1.backend.annotations.PreAuthorize
-
The expression.
- value() - Element in annotation type com.codename1.backend.annotations.Profile
-
The profiles, each optionally negated with
!. - value() - Element in annotation type com.codename1.backend.annotations.PutMapping
-
The path, relative to any
RequestMappingon the class. - value() - Element in annotation type com.codename1.backend.annotations.Qualifier
-
The bean's name.
- value() - Element in annotation type com.codename1.backend.annotations.RequestHeader
-
The name to bind from.
- value() - Element in annotation type com.codename1.backend.annotations.RequestMapping
-
The path, or paths, this mapping answers on.
- value() - Element in annotation type com.codename1.backend.annotations.RequestParam
-
The name to bind from.
- value() - Element in annotation type com.codename1.backend.annotations.RequestPart
-
The part's name, from its Content-Disposition.
- value() - Element in annotation type com.codename1.backend.annotations.ResponseStatus
-
The HTTP status code.
- value() - Element in annotation type com.codename1.backend.annotations.RolesAllowed
-
The roles, any one of which is enough.
- value() - Element in annotation type com.codename1.backend.annotations.Scope
-
One of
singleton,prototype,requestorsession. - value() - Element in annotation type com.codename1.backend.annotations.Secured
-
The authorities, any one of which is enough.
- value() - Element in annotation type com.codename1.backend.annotations.Timed
-
The metric's name.
- value() - Element in annotation type com.codename1.backend.annotations.Value
-
The expression, such as
${mail.host:localhost}. - value() - Element in annotation type com.codename1.backend.annotations.WebSocketMapping
-
The path this endpoint serves.
- value() - Method in enum com.codename1.backend.test.HttpStatus
- value() - Method in interface com.codename1.backend.test.HttpStatusCode
-
The numeric code.
- value() - Element in annotation type com.codename1.backend.test.WithMockUser
-
The user's name; the same as
WithMockUser.username(), which wins when both are set. - value() - Element in annotation type java.lang.annotation.Retention
- value() - Element in annotation type java.lang.annotation.Target
- value() - Element in annotation type java.lang.SuppressWarnings
- value(Object) - Method in class com.codename1.backend.test.JsonPathResultMatchers
-
The value there equals
expected. - value(String, String) - Method in class com.codename1.backend.test.CookieResultMatchers
- Value - Annotation Type in com.codename1.backend.annotations
-
Injects a configuration value.
- valueOf(boolean) - Static method in class java.lang.Boolean
-
Returns the object instance of i
- valueOf(boolean) - Static method in class java.lang.String
-
Returns the string representation of the boolean argument.
- valueOf(byte) - Static method in class java.lang.Byte
-
Returns the object instance of i
- valueOf(char) - Static method in class java.lang.Character
-
Returns the object instance of i
- valueOf(char) - Static method in class java.lang.String
-
Returns the string representation of the char argument.
- valueOf(char[], int, int) - Static method in class java.lang.String
-
Returns the string representation of a specific subarray of the char array argument.
- valueOf(double) - Static method in class java.lang.Double
-
Returns the object instance of i
- valueOf(double) - Static method in class java.lang.String
-
Returns the string representation of the double argument.
- valueOf(float) - Static method in class java.lang.Float
-
Returns the object instance of i
- valueOf(float) - Static method in class java.lang.String
-
Returns the string representation of the float argument.
- valueOf(int) - Static method in enum com.codename1.backend.test.HttpStatus
-
The constant for
code; IllegalArgumentException when there is none. - valueOf(int) - Static method in class java.lang.Integer
-
Returns the object instance of i
- valueOf(int) - Static method in class java.lang.String
-
Returns the string representation of the int argument.
- valueOf(long) - Static method in class java.lang.Long
-
Returns the object instance of i
- valueOf(long) - Static method in class java.lang.String
-
Returns the string representation of the long argument.
- valueOf(short) - Static method in class java.lang.Short
-
Returns the object instance of i
- valueOf(Class, String) - Static method in class java.lang.Enum
- valueOf(Object) - Static method in class java.lang.String
-
Returns the string representation of the Object argument.
- valueOf(String) - Static method in enum com.codename1.annotations.db.CascadeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.annotations.db.FetchType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.annotations.db.GenerationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.backend.annotations.Propagation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.backend.annotations.ThreadKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.backend.security.oauth2.client.CommonOAuth2Provider
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.backend.security.oauth2.jose.jws.MacAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.backend.security.oauth2.jose.jws.SignatureAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.backend.security.SessionCreationPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.backend.test.BackendTest.WebEnvironment
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.backend.test.HttpMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.backend.test.HttpStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.migration.MigrationState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.codename1.orm.session.LockMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum java.lang.annotation.ElementType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum java.lang.annotation.RetentionPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class java.lang.Boolean
- valueOf(String) - Static method in class java.lang.Double
-
Returns a new Double object initialized to the value represented by the specified string.
- valueOf(String) - Static method in class java.lang.Float
-
Returns the floating point value represented by the specified String.
- valueOf(String) - Static method in class java.lang.Integer
-
Returns a new Integer object initialized to the value of the specified String.
- valueOf(String) - Static method in enum java.util.concurrent.TimeUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String, int) - Static method in class java.lang.Integer
-
Returns a new Integer object initialized to the value of the specified String.
- values() - Static method in enum com.codename1.annotations.db.CascadeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.codename1.annotations.db.FetchType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.codename1.annotations.db.GenerationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.codename1.backend.annotations.Propagation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.codename1.backend.annotations.ThreadKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.codename1.backend.security.oauth2.client.CommonOAuth2Provider
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.codename1.backend.security.oauth2.jose.jws.MacAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.codename1.backend.security.oauth2.jose.jws.SignatureAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.codename1.backend.security.SessionCreationPolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.codename1.backend.test.BackendTest.WebEnvironment
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.codename1.backend.test.HttpMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.codename1.backend.test.HttpStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.codename1.migration.MigrationState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.codename1.orm.session.Identifier
-
Returns a copy of the normalized key component array.
- values() - Static method in enum com.codename1.orm.session.LockMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum java.lang.annotation.ElementType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum java.lang.annotation.RetentionPolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class java.util.AbstractMap
-
Returns a collection of the values contained in this map.
- values() - Static method in enum java.util.concurrent.TimeUnit
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class java.util.HashMap
-
Returns a collection of the values contained in this map.
- values() - Method in class java.util.Hashtable
-
Returns a collection of the values contained in this
Hashtable. - values() - Method in class java.util.IdentityHashMap
-
Returns a collection of the values contained in this map.
- values() - Method in class java.util.LinkedHashMap
-
Returns a collection of the values contained in this map.
- values() - Method in interface java.util.Map
-
Returns a
Collectionof the values contained in thisMap. - values() - Method in class java.util.TreeMap
-
Returns a collection of the values contained in this map.
- values(String, String) - Static method in class com.codename1.backend.security.oauth2.core.OAuth2Parameters
-
Every value the field
namehas in a form or a query, in order: for a parameter that may be sent more than once, asresourcemay. - Vector<E> - Class in java.util
-
Vector is a variable size contiguous indexable array of objects.
- Vector() - Constructor for class java.util.Vector
-
Constructs a new vector using the default capacity.
- Vector(int) - Constructor for class java.util.Vector
-
Constructs a new vector using the specified capacity.
- Vector(int, int) - Constructor for class java.util.Vector
-
Constructs a new vector using the specified capacity and capacity increment.
- Vector(Collection) - Constructor for class java.util.Vector
-
Constructs a new instance of
Vectorcontaining the elements incollection. - verify(byte[], byte[]) - Method in class com.codename1.backend.security.webauthn.CoseKey
-
Whether
signatureis this key's signature ofdata. - verify(String, byte[]) - Static method in class com.codename1.backend.Jwt
-
Returns the claims of a token that is well-formed, correctly signed and not expired.
- verify(String, byte[], byte[], byte[]) - Static method in class com.codename1.backend.Crypto
-
Checks a signature against a public key in SubjectPublicKeyInfo DER.
- verify(String, String) - Method in class com.codename1.backend.security.crypto.SignedTokens
-
The subject of
token, when it was made by this secret for this purpose and has not expired; null otherwise. - verify(String, String) - Method in class com.codename1.backend.security.mfa.TotpService
-
Checks a code at sign-in, and uses it up.
- verify(String, String, String) - Method in class com.codename1.backend.security.crypto.SignedTokens
-
The subject of
token, when it was made by this secret for this purpose while the fingerprint wasfingerprint, and has not expired; null otherwise. - verifyPassword(String, String) - Static method in class com.codename1.backend.Crypto
-
False for any malformed stored value rather than throwing.
- verifyTotp(byte[], String, int) - Static method in class com.codename1.security.Otp
-
Verifies a TOTP code, allowing
tolerancesteps of clock skew on either side ofnow(so a tolerance of 1 will accept the previous, current and next code). - verifyTotp(byte[], String, int, long, int, int, String) - Static method in class com.codename1.security.Otp
-
Verifies a TOTP code with full parameter control.
- version() - Element in annotation type com.codename1.annotations.db.Migration
-
The version, such as
4or2026.05.21.1. - version() - Static method in class com.codename1.io.gzip.JZlib
- Version - Annotation Type in com.codename1.annotations.db
-
An int or long counter maintained by a managed session for optimistic locking.
- VERSION_GATED - Static variable in class com.codename1.backend.sql.Dialect
-
countInsertRows: the row count depends on the server version.
- virtual(Runnable) - Static method in class com.codename1.backend.Tasks
-
Runs
taskonce on a virtual thread, or a platform one where there are none. - VIRTUAL - Enum constant in enum com.codename1.backend.annotations.ThreadKind
-
A virtual thread, falling back to a platform thread where there are none (the Java SE runtime, a TLS server, Windows).
- VirtualMachineError - Exception Class in java.lang
-
Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
- VirtualMachineError() - Constructor for exception class java.lang.VirtualMachineError
-
Constructs a VirtualMachineError with no detail message.
- VirtualMachineError(String) - Constructor for exception class java.lang.VirtualMachineError
-
Constructs a VirtualMachineError with the specified detail message.
- VirtualThread - Class in com.codename1.backend
-
A thread of control that is not an OS thread.
- Void - Class in java.lang
- Void() - Constructor for class java.lang.Void
W
- W_ANY - Static variable in class com.codename1.io.gzip.JZlib
- W_GZIP - Static variable in class com.codename1.io.gzip.JZlib
- W_NONE - Static variable in class com.codename1.io.gzip.JZlib
- W_ZLIB - Static variable in class com.codename1.io.gzip.JZlib
- wait() - Method in class java.lang.Object
-
Causes current thread to wait until another thread invokes the method or the method for this object.
- wait(long) - Method in class java.lang.Object
-
Causes current thread to wait until either another thread invokes the method or the method for this object, or a specified amount of time has elapsed.
- wait(long, int) - Method in class java.lang.Object
-
Causes current thread to wait until another thread invokes the method or the method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
- waitCount(long) - Static method in class com.codename1.backend.VirtualThread
-
How many descriptors a virtual thread that answered
VirtualThread.WAITINGwaits on; 0 for none, which is a wait on the timeout alone. - waitDescriptor(long, int) - Static method in class com.codename1.backend.VirtualThread
-
The
index-th descriptor aVirtualThread.WAITINGvirtual thread waits on. - waitEvents(long, int) - Static method in class com.codename1.backend.VirtualThread
-
What it waits for on that descriptor:
Reactor.READ,Reactor.WRITEor both. - WAITING - Static variable in class com.codename1.backend.VirtualThread
-
VirtualThread.resume(long): parked on an OUTBOUND descriptor -- a database socket, a TLS peer, an HTTP call -- rather than on its own. - waitTimeout(long) - Static method in class com.codename1.backend.VirtualThread
-
How long it is willing to wait, in milliseconds from now, or -1 for no bound.
- wake(int) - Static method in class com.codename1.backend.Reactor
-
Wakes whoever polls the pipe's read end.
- weakCompareAndSet(boolean, boolean) - Method in class java.util.concurrent.atomic.AtomicBoolean
- weakCompareAndSet(int, int) - Method in class java.util.concurrent.atomic.AtomicInteger
- weakCompareAndSet(long, long) - Method in class java.util.concurrent.atomic.AtomicLong
- weakCompareAndSet(V, V) - Method in class java.util.concurrent.atomic.AtomicReference
- WeakReference - Class in java.lang.ref
-
This class provides support for weak references.
- WeakReference(Object) - Constructor for class java.lang.ref.WeakReference
-
Creates a new weak reference that refers to the given object.
- Web - Class in com.codename1.backend
-
Outbound HTTP and HTTPS for server-side binaries.
- WEB - Static variable in class com.codename1.backend.security.oauth2.jwt.RemoteJwkSet
-
The runtime's HTTP client, asking for JSON.
- Web.Result - Class in com.codename1.backend
-
An outbound response: status, body, and libcurl's message when it failed.
- webAuthn(Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
Passkeys: registering one for a user who is signed in, and signing in with one; see
WebAuthnConfigurer. - WebAuthnAuthentication - Class in com.codename1.backend.security.webauthn
-
Who signed in with a passkey.
- WebAuthnAuthentication(PublicKeyCredentialUserEntity, Collection, byte[], boolean) - Constructor for class com.codename1.backend.security.webauthn.WebAuthnAuthentication
- WebAuthnAuthenticationFilter - Class in com.codename1.backend.security
-
Signs a user in with a passkey: hands out the options of a sign-in at
POST /webauthn/authenticate/options, and takes the authenticator's answer atPOST /login/webauthn. - WebAuthnConfigurer - Class in com.codename1.backend.security
-
Passkeys: a user who is signed in registers one, and from then on signs in with it.
- WebAuthnException - Exception Class in com.codename1.backend.security.webauthn
-
A passkey ceremony that was refused, with which check refused it.
- WebAuthnException(String, String) - Constructor for exception class com.codename1.backend.security.webauthn.WebAuthnException
- WebAuthnException(String, String, Throwable) - Constructor for exception class com.codename1.backend.security.webauthn.WebAuthnException
- WebAuthnRegistrationFilter - Class in com.codename1.backend.security
-
Lets a signed-in user register a passkey, and remove one of theirs:
- WebAuthnRelyingPartyOperations - Class in com.codename1.backend.security.webauthn
-
The two passkey ceremonies, as the relying party performs them: making the options a client starts from, and verifying what the authenticator answered.
- WebAuthnRelyingPartyOperations(PublicKeyCredentialRpEntity, Collection, PublicKeyCredentialUserEntityRepository, UserCredentialRepository) - Constructor for class com.codename1.backend.security.webauthn.WebAuthnRelyingPartyOperations
- WebAuthnRelyingPartyOperations.Assertion - Class in com.codename1.backend.security.webauthn
-
A verified sign-in.
- WebAuthnRelyingPartyOperations.SignatureCounterListener - Interface in com.codename1.backend.security.webauthn
-
Told when a signature counter did not advance.
- webEnvironment() - Element in annotation type com.codename1.backend.test.BackendTest
-
How the application is reached.
- WebSocket - Interface in com.codename1.backend
-
What an application implements to serve a websocket route.
- WebSocketMapping - Annotation Type in com.codename1.backend.annotations
-
Marks a
com.codename1.backend.WebSocketas the endpoint for a path. - webSockets(Backend.WebSocketEndpoints) - Method in class com.codename1.backend.Backend.Builder
-
Registers this server's websocket endpoints when it starts.
- WebSocketSession - Class in com.codename1.backend
-
One websocket connection: the decoder that turns bytes into messages, and the handle an application sends through.
- WEDNESDAY - Static variable in class java.util.Calendar
-
Value of the DAY_OF_WEEK field indicating Wednesday.
- WEEK_OF_MONTH - Static variable in class java.util.Calendar
-
Field number for
getandsetindicating the week number within the current month. - WEEK_OF_YEAR - Static variable in class java.util.Calendar
-
Field number for
getandsetindicating the week number within the current year. - with(JwsAlgorithm) - Static method in class com.codename1.backend.security.oauth2.jwt.JwsHeader
-
A header for a token signed with
algorithm. - with(RequestPostProcessor) - Method in class com.codename1.backend.test.MockRequestBuilder
-
Applies
postProcessorto the request when it is sent: who it is from, a CSRF token, credentials. - with(C, Customizer) - Method in class com.codename1.backend.security.HttpSecurity
-
Applies a configurer of the application's or a library's own, and lets
customizerset it up. - withAlgorithm(String) - Method in class com.codename1.backend.security.crypto.Jwk
-
This key for one algorithm alone:
RS256. - WithAnonymousUser - Annotation Type in com.codename1.backend.test
-
Runs a test as nobody: for one test of a class that is otherwise
WithMockUser. - withBasicAuth(String, String) - Method in class com.codename1.backend.test.TestRestTemplate
-
This client, sending HTTP Basic credentials with every request.
- withClientRegistration(ClientRegistration) - Static method in class com.codename1.backend.security.oauth2.client.ClientRegistration
-
A builder that starts as a copy of
registration. - withConnection(DataSource.Work) - Method in class com.codename1.backend.DataSource
-
Borrows a connection, runs body, and returns it however body ends.
- withConnection(Db.Work) - Method in class com.codename1.backend.DbPool
-
Borrows a connection, runs body, and returns it however body ends.
- withDefaults() - Static method in interface com.codename1.backend.security.Customizer
-
A customizer that changes nothing, for a part whose defaults are wanted:
http.httpBasic(Customizer.withDefaults()). - withExpiresAt(long) - Method in class com.codename1.backend.security.oauth2.server.authorization.OAuth2Authorization
-
This grant, good until
expiresAt. - withHttpOnlyFalse() - Static method in class com.codename1.backend.security.CookieCsrfTokenRepository
-
A repository whose cookie a script can read.
- withId(String) - Static method in class com.codename1.backend.security.oauth2.server.authorization.RegisteredClient
-
A client stored under
id, which is the server's own name for it and never changes; theclientIdis what the client calls itself. - withJwkSetUri(String) - Static method in class com.codename1.backend.security.oauth2.jwt.DefaultJwtDecoder
-
A decoder over the keys published at
jwkSetUri, fetched when first needed; seeRemoteJwkSet. - withJwkSource(JwkSource) - Static method in class com.codename1.backend.security.oauth2.jwt.DefaultJwtDecoder
-
A decoder over these keys; RS256 unless told otherwise.
- withKeyId(String) - Method in class com.codename1.backend.security.crypto.Jwk
-
This key under another id.
- WithMockUser - Annotation Type in com.codename1.backend.test
-
Runs a test, or every test of a class, as a signed-in user who exists nowhere but in the test: no user store is asked and no password checked.
- withPublicKey(byte[]) - Static method in class com.codename1.backend.security.oauth2.jwt.DefaultJwtDecoder
-
A decoder for tokens signed by the private half of one public key, given as SubjectPublicKeyInfo DER; see
KeyFiles.publicKey(String). - withRegistrationId(String) - Static method in class com.codename1.backend.security.oauth2.client.ClientRegistration
-
A registration under this id, which is the last part of the two paths a sign-in through it uses.
- withSecretKey(byte[]) - Static method in class com.codename1.backend.security.oauth2.jwt.DefaultJwtDecoder
-
A decoder for tokens this server signed itself with a shared secret; HS256 unless told otherwise.
- withUse(String) - Method in class com.codename1.backend.security.crypto.Jwk
-
This key with a declared use:
sig. - withUserDetails(UserDetails) - Static method in class com.codename1.backend.security.core.userdetails.User
-
A builder starting from an existing user.
- withUsername(String) - Static method in class com.codename1.backend.security.core.userdetails.User
-
A builder for a user of this name.
- workers(int) - Method in class com.codename1.backend.Backend.Builder
-
The size of the request thread pool.
- wrap() - Method in class java.lang.invoke.MethodType
- write(byte[]) - Method in class com.codename1.io.gzip.FilterOutputStream
- write(byte[]) - Method in interface java.io.DataOutput
-
Writes to the output stream all the bytes in array b.
- write(byte[]) - Method in class java.io.OutputStream
-
Writes b.length bytes from the specified byte array to this output stream.
- write(byte[], int, int) - Method in class com.codename1.backend.Tcp
- write(byte[], int, int) - Method in class com.codename1.io.gzip.DeflaterOutputStream
- write(byte[], int, int) - Method in class com.codename1.io.gzip.FilterOutputStream
- write(byte[], int, int) - Method in class java.io.ByteArrayOutputStream
-
Writes len bytes from the specified byte array starting at offset off to this byte array output stream.
- write(byte[], int, int) - Method in interface java.io.DataOutput
-
Writes len bytes from array b, in order, to the output stream.
- write(byte[], int, int) - Method in class java.io.DataOutputStream
-
Writes len bytes from the specified byte array starting at offset off to the underlying output stream.
- write(byte[], int, int) - Method in class java.io.OutputStream
-
Writes len bytes from the specified byte array starting at offset off to this output stream.
- write(byte[], int, int) - Method in class java.io.PrintStream
-
Write len bytes from the specified byte array starting at offset off to this stream.
- write(char[]) - Method in class java.io.StringWriter
- write(char[]) - Method in class java.io.Writer
-
Write an array of characters.
- write(char[], int, int) - Method in class java.io.OutputStreamWriter
-
Write a portion of an array of characters.
- write(char[], int, int) - Method in class java.io.StringWriter
- write(char[], int, int) - Method in class java.io.Writer
-
Write a portion of an array of characters.
- write(int) - Method in class com.codename1.io.gzip.DeflaterOutputStream
- write(int) - Method in class com.codename1.io.gzip.FilterOutputStream
- write(int) - Method in class java.io.ByteArrayOutputStream
-
Writes the specified byte to this byte array output stream.
- write(int) - Method in interface java.io.DataOutput
-
Writes to the output stream the eight low-order bits of the argument b.
- write(int) - Method in class java.io.DataOutputStream
-
Writes the specified byte (the low eight bits of the argument b) to the underlying output stream.
- write(int) - Method in class java.io.OutputStream
-
Writes the specified byte to this output stream.
- write(int) - Method in class java.io.OutputStreamWriter
-
Write a single character.
- write(int) - Method in class java.io.PrintStream
-
Write the specified byte to this stream.
- write(int) - Method in class java.io.StringWriter
- write(int) - Method in class java.io.Writer
-
Write a single character.
- write(int, byte[], int, int) - Static method in class com.codename1.backend.ServerSocket
- write(Object) - Static method in class com.codename1.backend.Json
- write(Object, ByteSink) - Static method in class com.codename1.backend.Json
-
Writes JSON as UTF-8 bytes straight into a reusable buffer.
- write(String) - Method in class java.io.StringWriter
- write(String) - Method in class java.io.Writer
-
Write a string.
- write(String, int, int) - Method in class java.io.OutputStreamWriter
-
Write a portion of a string.
- write(String, int, int) - Method in class java.io.StringWriter
- write(String, int, int) - Method in class java.io.Writer
-
Write a portion of a string.
- WRITE - Static variable in class com.codename1.backend.Reactor
- writeBoolean(boolean) - Method in interface java.io.DataOutput
-
Writes a boolean value to this output stream.
- writeBoolean(boolean) - Method in class java.io.DataOutputStream
-
Writes a boolean to the underlying output stream as a 1-byte value.
- writeByte(int) - Method in interface java.io.DataOutput
-
Writes to the output stream the eight low- order bits of the argument v.
- writeByte(int) - Method in class java.io.DataOutputStream
-
Writes out a byte to the underlying output stream as a 1-byte value.
- writeChar(int) - Method in interface java.io.DataOutput
-
Writes a char value, which is comprised of two bytes, to the output stream.
- writeChar(int) - Method in class java.io.DataOutputStream
-
Writes a char to the underlying output stream as a 2-byte value, high byte first.
- writeChars(String) - Method in interface java.io.DataOutput
-
Writes every character in the string s, to the output stream, in order, two bytes per character.
- writeChars(String) - Method in class java.io.DataOutputStream
-
Writes a string to the underlying output stream as a sequence of characters.
- writeDouble(double) - Method in interface java.io.DataOutput
-
Writes a double value, which is comprised of eight bytes, to the output stream.
- writeDouble(double) - Method in class java.io.DataOutputStream
-
Converts the double argument to a long using the doubleToLongBits method in class Double, and then writes that long value to the underlying output stream as an 8-byte quantity, high byte first.
- writeFloat(float) - Method in interface java.io.DataOutput
-
Writes a float value, which is comprised of four bytes, to the output stream.
- writeFloat(float) - Method in class java.io.DataOutputStream
-
Converts the float argument to an int using the floatToIntBits method in class Float, and then writes that int value to the underlying output stream as a 4-byte quantity, high byte first.
- writeHeaders(HttpServer.Request, HeaderWriter.Headers) - Method in interface com.codename1.backend.security.HeaderWriter
- writeInt(int) - Method in interface java.io.DataOutput
-
Writes an int value, which is comprised of four bytes, to the output stream.
- writeInt(int) - Method in class java.io.DataOutputStream
-
Writes an int to the underlying output stream as four bytes, high byte first.
- writeLong(long) - Method in interface java.io.DataOutput
-
Writes an long value, which is comprised of four bytes, to the output stream.
- writeLong(long) - Method in class java.io.DataOutputStream
-
Writes a long to the underlying output stream as eight bytes, high byte first.
- Writer - Class in java.io
-
Abstract class for writing to character streams.
- Writer() - Constructor for class java.io.Writer
-
Create a new character-stream writer whose critical sections will synchronize on the writer itself.
- Writer(Object) - Constructor for class java.io.Writer
-
Create a new character-stream writer whose critical sections will synchronize on the given object.
- writeShort(int) - Method in interface java.io.DataOutput
-
Writes two bytes to the output stream to represent the value of the argument.
- writeShort(int) - Method in class java.io.DataOutputStream
-
Writes a short to the underlying output stream as two bytes, high byte first.
- writeString(String, ByteSink) - Static method in class com.codename1.backend.Json
-
One JSON string, escaped, straight into
out. - writeTo(ByteSink) - Method in interface com.codename1.backend.Json.Writable
- writeUTF(String) - Method in interface java.io.DataOutput
-
Writes two bytes of length information to the output stream, followed by the Java modified UTF representation of every character in the string s.
- writeUTF(String) - Method in class java.io.DataOutputStream
-
Writes a string to the underlying output stream using UTF-8 encoding in a machine-independent manner.
- writeValue(Object, ByteSink) - Static method in class com.codename1.backend.Json
-
One JSON value of unknown type, for the cases a generated codec cannot resolve statically (an unmodelled java.* type, a heterogeneous collection).
- WRONG_TYPE - Static variable in exception class com.codename1.backend.security.webauthn.WebAuthnException
-
The client data is for the other ceremony: a registration where a sign-in was expected, or the reverse.
X
- xor(BitSet) - Method in class java.util.BitSet
-
Performs the logical XOR of this
BitSetwith anotherBitSet. - xssProtection(Customizer) - Method in class com.codename1.backend.security.HeadersConfigurer
-
X-XSS-Protection: 0, which tells an old browser to leave its faulty filter off.
Y
- YEAR - Static variable in class java.util.Calendar
-
Field number for get and set indicating the year.
- yield() - Static method in class java.lang.Thread
-
Causes the currently executing thread object to temporarily pause and allow other threads to execute.
- yieldNow() - Static method in class com.codename1.backend.VirtualThread
-
Step aside so the host thread can run another virtual thread, without waiting for anything.
Z
- Z_ASCII - Static variable in class com.codename1.io.gzip.JZlib
- Z_BEST_COMPRESSION - Static variable in class com.codename1.io.gzip.JZlib
- Z_BEST_SPEED - Static variable in class com.codename1.io.gzip.JZlib
- Z_BINARY - Static variable in class com.codename1.io.gzip.JZlib
- Z_BUF_ERROR - Static variable in class com.codename1.io.gzip.JZlib
- Z_DATA_ERROR - Static variable in class com.codename1.io.gzip.JZlib
- Z_DEFAULT_COMPRESSION - Static variable in class com.codename1.io.gzip.JZlib
- Z_DEFAULT_STRATEGY - Static variable in class com.codename1.io.gzip.JZlib
- Z_ERRNO - Static variable in class com.codename1.io.gzip.JZlib
- Z_FILTERED - Static variable in class com.codename1.io.gzip.JZlib
- Z_FINISH - Static variable in class com.codename1.io.gzip.JZlib
- Z_FULL_FLUSH - Static variable in class com.codename1.io.gzip.JZlib
- Z_HUFFMAN_ONLY - Static variable in class com.codename1.io.gzip.JZlib
- Z_MEM_ERROR - Static variable in class com.codename1.io.gzip.JZlib
- Z_NEED_DICT - Static variable in class com.codename1.io.gzip.JZlib
- Z_NO_COMPRESSION - Static variable in class com.codename1.io.gzip.JZlib
- Z_NO_FLUSH - Static variable in class com.codename1.io.gzip.JZlib
- Z_OK - Static variable in class com.codename1.io.gzip.JZlib
- Z_PARTIAL_FLUSH - Static variable in class com.codename1.io.gzip.JZlib
- Z_STREAM_END - Static variable in class com.codename1.io.gzip.JZlib
- Z_STREAM_ERROR - Static variable in class com.codename1.io.gzip.JZlib
- Z_SYNC_FLUSH - Static variable in class com.codename1.io.gzip.JZlib
- Z_UNKNOWN - Static variable in class com.codename1.io.gzip.JZlib
- Z_VERSION_ERROR - Static variable in class com.codename1.io.gzip.JZlib
- zone() - Element in annotation type com.codename1.backend.annotations.Scheduled
-
The time zone the cron expression is read in: a zone ID such as
Europe/Berlin, a fixed offset such as+02:00, orUTC. - ZonedDateTime - Class in java.time
- ZoneId - Class in java.time
- ZoneOffset - Class in java.time
- ZStream - Class in com.codename1.io.gzip
-
Deprecated.
- ZStream() - Constructor for class com.codename1.io.gzip.ZStream
-
Deprecated.
- ZStream(Checksum) - Constructor for class com.codename1.io.gzip.ZStream
-
Deprecated.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
IOExceptionthrown while writing -- useProperties.store(OutputStream, String)instead for better exception handling.