Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceptAndRemove(UUID, UUID) - Method in class org.gaardeon.coppercook.server.service.SubscriptionStore
-
Accepts a pending subscription.
- ACCEPTED - Enum constant in enum class org.gaardeon.coppercook.server.model.SubscriptionStatus
- AcceptedSubscriberResponse(String, String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.SubscriptionService.AcceptedSubscriberResponse
-
Creates an instance of a
AcceptedSubscriberResponserecord class. - addMessage(UUID, UUID, String) - Method in class org.gaardeon.coppercook.server.service.InboxStore
-
Adds an encrypted message to the recipient's inbox.
- ADMIN_SECRET - Static variable in class org.gaardeon.coppercook.server.config.CopperCookConfig
- AdminService - Class in org.gaardeon.coppercook.server.rest
-
Admin REST endpoints for managing the whitelist and registered users.
- AdminService(UserStore, String) - Constructor for class org.gaardeon.coppercook.server.rest.AdminService
- AdminService.ErrorResponse - Record Class in org.gaardeon.coppercook.server.rest
- AdminService.MessageResponse - Record Class in org.gaardeon.coppercook.server.rest
- AdminService.OtpResponse - Record Class in org.gaardeon.coppercook.server.rest
- AdminService.UserResponse - Record Class in org.gaardeon.coppercook.server.rest
- AdminService.WhitelistResponse - Record Class in org.gaardeon.coppercook.server.rest
- as(byte[], Class) - Method in class org.gaardeon.coppercook.server.rest.EntityMapper
- asUsed() - Method in record class org.gaardeon.coppercook.server.model.WhitelistEntry
-
Returns a copy of this entry with used=true.
- AuthError(String) - Constructor for record class org.gaardeon.coppercook.server.auth.RsaAuthHandler.AuthError
-
Creates an instance of a
AuthErrorrecord class. - AuthError(String) - Constructor for record class org.gaardeon.coppercook.server.rest.RsaAuthorizer.AuthError
-
Creates an instance of a
AuthErrorrecord class. - AVRO_PERSISTENCE - Static variable in interface org.gaardeon.coppercook.server.config.Dependency
- AvroPersistence - Class in org.gaardeon.coppercook.server.persistence
-
Handles Avro serialization/deserialization of server data.
- AvroPersistence(File) - Constructor for class org.gaardeon.coppercook.server.persistence.AvroPersistence
- AvroPersistenceDep - Class in org.gaardeon.coppercook.server.config
- AvroPersistenceDep() - Constructor for class org.gaardeon.coppercook.server.config.AvroPersistenceDep
B
- bodyBytes() - Method in record class org.gaardeon.coppercook.server.BodyByteScope
-
Returns the value of the
bodyBytesrecord component. - BodyByteScope - Record Class in org.gaardeon.coppercook.server
- BodyByteScope(byte[]) - Constructor for record class org.gaardeon.coppercook.server.BodyByteScope
-
Creates an instance of a
BodyByteScoperecord class.
C
- consumeOtp(String) - Method in class org.gaardeon.coppercook.server.service.UserStore
- COPPERCOOK_CONFIG - Static variable in interface org.gaardeon.coppercook.server.config.Dependency
- CopperCookConfig - Class in org.gaardeon.coppercook.server.config
- CopperCookConfig() - Constructor for class org.gaardeon.coppercook.server.config.CopperCookConfig
- CopperCookServer - Class in org.gaardeon.coppercook.server
-
CopperCook sharing server.
- CopperCookServer() - Constructor for class org.gaardeon.coppercook.server.CopperCookServer
- create(UUID, UUID, String) - Static method in record class org.gaardeon.coppercook.server.model.InboxMessage
-
Creates a new inbox message with a server-generated messageId and timestamp.
- createdAt() - Method in record class org.gaardeon.coppercook.server.model.InboxMessage
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class org.gaardeon.coppercook.server.model.WhitelistEntry
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.OtpResponse
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.WhitelistResponse
-
Returns the value of the
createdAtrecord component. - createdAt() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxMessageResponse
-
Returns the value of the
createdAtrecord component. - createSubscription(UUID, UUID, String) - Method in class org.gaardeon.coppercook.server.service.SubscriptionStore
-
Creates a new PENDING subscription request, including the subscriber's public key for relay on acceptance.
- createWhitelistEntry(String) - Method in class org.gaardeon.coppercook.server.service.UserStore
D
- DATA_DIR - Static variable in class org.gaardeon.coppercook.server.config.CopperCookConfig
- deleteMessage(UUID) - Method in class org.gaardeon.coppercook.server.service.InboxStore
-
Deletes a single message by messageId.
- Dependency<T> - Interface in org.gaardeon.coppercook.server.config
- displayName() - Method in record class org.gaardeon.coppercook.server.model.RegisteredUser
-
Returns the value of the
displayNamerecord component. - displayName() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.UserResponse
-
Returns the value of the
displayNamerecord component. - displayName() - Method in record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationRequest
-
Returns the value of the
displayNamerecord component. - displayName() - Method in record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationResponse
-
Returns the value of the
displayNamerecord component. - displayName() - Method in record class org.gaardeon.coppercook.server.rest.UserLookupService.DisplayNameResponse
-
Returns the value of the
displayNamerecord component. - DisplayNameResponse(String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.UserLookupService.DisplayNameResponse
-
Creates an instance of a
DisplayNameResponserecord class.
E
- encryptedPayload() - Method in record class org.gaardeon.coppercook.server.model.InboxMessage
-
Returns the value of the
encryptedPayloadrecord component. - encryptedPayload() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxMessageResponse
-
Returns the value of the
encryptedPayloadrecord component. - encryptedPayload() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxPostRequest
-
Returns the value of the
encryptedPayloadrecord component. - EntityMapper - Class in org.gaardeon.coppercook.server.rest
- EntityMapper() - Constructor for class org.gaardeon.coppercook.server.rest.EntityMapper
- equals(Object) - Method in record class org.gaardeon.coppercook.server.auth.RsaAuthHandler.AuthError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.BodyByteScope
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.model.InboxMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.model.RegisteredUser
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.model.Subscription
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.model.WhitelistEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.AdminService.ErrorResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.AdminService.MessageResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.AdminService.OtpResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.AdminService.UserResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.AdminService.WhitelistResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxMessageResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxPostRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxPostResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.RsaAuthorizer.AuthError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.AcceptedSubscriberResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.MyPendingSubscriptionResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.PendingSubscriptionResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.UserLookupService.DisplayNameResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.coppercook.server.rest.UserLookupService.PublicKeyResponse
-
Indicates whether some other object is "equal to" this one.
- error() - Method in record class org.gaardeon.coppercook.server.auth.RsaAuthHandler.AuthError
-
Returns the value of the
errorrecord component. - error() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.ErrorResponse
-
Returns the value of the
errorrecord component. - error() - Method in record class org.gaardeon.coppercook.server.rest.RsaAuthorizer.AuthError
-
Returns the value of the
errorrecord component. - ErrorResponse(String) - Constructor for record class org.gaardeon.coppercook.server.rest.AdminService.ErrorResponse
-
Creates an instance of a
ErrorResponserecord class.
F
- fetch() - Method in class org.gaardeon.coppercook.server.config.AvroPersistenceDep
- fetch() - Method in class org.gaardeon.coppercook.server.config.CopperCookConfig
- fetch() - Method in interface org.gaardeon.coppercook.server.config.Dependency
- fetch() - Method in class org.gaardeon.coppercook.server.config.UserStoreDep
- findSubscription(UUID, UUID) - Method in class org.gaardeon.coppercook.server.service.SubscriptionStore
-
Finds a subscription by the (subscriberId, publisherId) pair.
- findUnusedOtp(String) - Method in class org.gaardeon.coppercook.server.service.UserStore
- findUserById(UUID) - Method in class org.gaardeon.coppercook.server.service.UserStore
G
- getAllUsers() - Method in class org.gaardeon.coppercook.server.service.UserStore
- getAllWhitelistEntries() - Method in class org.gaardeon.coppercook.server.service.UserStore
- getAvroPersistence() - Method in class org.gaardeon.coppercook.server.service.UserStore
-
Returns the AvroPersistence instance used by this store.
- getMessages(UUID) - Method in class org.gaardeon.coppercook.server.service.InboxStore
-
Returns all messages in a user's inbox.
- getPendingForPublisher(UUID) - Method in class org.gaardeon.coppercook.server.service.SubscriptionStore
-
Returns PENDING subscriptions where the given user is the publisher.
- getPendingForSubscriber(UUID) - Method in class org.gaardeon.coppercook.server.service.SubscriptionStore
-
Returns PENDING subscriptions where the given user is the subscriber.
- getUnusedWhitelistEntries() - Method in class org.gaardeon.coppercook.server.service.UserStore
H
- handle(ServerRequest, ServerResponse) - Method in class org.gaardeon.coppercook.server.auth.RsaAuthHandler
- hashCode() - Method in record class org.gaardeon.coppercook.server.auth.RsaAuthHandler.AuthError
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.BodyByteScope
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.model.InboxMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.model.RegisteredUser
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.model.Subscription
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.model.WhitelistEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.ErrorResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.MessageResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.OtpResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.UserResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.WhitelistResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxMessageResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxPostRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxPostResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.RsaAuthorizer.AuthError
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.AcceptedSubscriberResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.MyPendingSubscriptionResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.PendingSubscriptionResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.UserLookupService.DisplayNameResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.coppercook.server.rest.UserLookupService.PublicKeyResponse
-
Returns a hash code value for this object.
I
- InboxMessage - Record Class in org.gaardeon.coppercook.server.model
-
An encrypted recipe message waiting in a user's inbox.
- InboxMessage(UUID, UUID, UUID, String, Instant) - Constructor for record class org.gaardeon.coppercook.server.model.InboxMessage
-
Creates an instance of a
InboxMessagerecord class. - InboxMessageResponse(String, String, String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.InboxService.InboxMessageResponse
-
Creates an instance of a
InboxMessageResponserecord class. - InboxPostRequest(String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.InboxService.InboxPostRequest
-
Creates an instance of a
InboxPostRequestrecord class. - InboxPostResponse(String) - Constructor for record class org.gaardeon.coppercook.server.rest.InboxService.InboxPostResponse
-
Creates an instance of a
InboxPostResponserecord class. - InboxService - Class in org.gaardeon.coppercook.server.rest
-
REST endpoints for the inbox — the server-side mailbox where encrypted recipe blobs wait for pickup.
- InboxService(InboxStore, UserStore) - Constructor for class org.gaardeon.coppercook.server.rest.InboxService
- InboxService.InboxMessageResponse - Record Class in org.gaardeon.coppercook.server.rest
- InboxService.InboxPostRequest - Record Class in org.gaardeon.coppercook.server.rest
- InboxService.InboxPostResponse - Record Class in org.gaardeon.coppercook.server.rest
- inboxSize(UUID) - Method in class org.gaardeon.coppercook.server.service.InboxStore
-
Returns the total number of messages in a recipient's inbox.
- InboxStore - Class in org.gaardeon.coppercook.server.service
-
In-memory store for inbox messages.
- InboxStore() - Constructor for class org.gaardeon.coppercook.server.service.InboxStore
L
- loadSubscriptions() - Method in class org.gaardeon.coppercook.server.persistence.AvroPersistence
- loadUsers() - Method in class org.gaardeon.coppercook.server.persistence.AvroPersistence
- loadWhitelist() - Method in class org.gaardeon.coppercook.server.persistence.AvroPersistence
M
- main(String[]) - Static method in class org.gaardeon.coppercook.server.CopperCookServer
- message() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.MessageResponse
-
Returns the value of the
messagerecord component. - messageId() - Method in record class org.gaardeon.coppercook.server.model.InboxMessage
-
Returns the value of the
messageIdrecord component. - messageId() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxMessageResponse
-
Returns the value of the
messageIdrecord component. - messageId() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxPostResponse
-
Returns the value of the
messageIdrecord component. - MessageResponse(String) - Constructor for record class org.gaardeon.coppercook.server.rest.AdminService.MessageResponse
-
Creates an instance of a
MessageResponserecord class. - MyPendingSubscriptionResponse(String, String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.SubscriptionService.MyPendingSubscriptionResponse
-
Creates an instance of a
MyPendingSubscriptionResponserecord class.
O
- oneTimePassword() - Method in record class org.gaardeon.coppercook.server.model.WhitelistEntry
-
Returns the value of the
oneTimePasswordrecord component. - oneTimePassword() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.OtpResponse
-
Returns the value of the
oneTimePasswordrecord component. - oneTimePassword() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.WhitelistResponse
-
Returns the value of the
oneTimePasswordrecord component. - oneTimePassword() - Method in record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationRequest
-
Returns the value of the
oneTimePasswordrecord component. - org.gaardeon.coppercook.server - module org.gaardeon.coppercook.server
- org.gaardeon.coppercook.server - package org.gaardeon.coppercook.server
- org.gaardeon.coppercook.server.auth - package org.gaardeon.coppercook.server.auth
- org.gaardeon.coppercook.server.config - package org.gaardeon.coppercook.server.config
- org.gaardeon.coppercook.server.model - package org.gaardeon.coppercook.server.model
- org.gaardeon.coppercook.server.persistence - package org.gaardeon.coppercook.server.persistence
- org.gaardeon.coppercook.server.rest - package org.gaardeon.coppercook.server.rest
- org.gaardeon.coppercook.server.service - package org.gaardeon.coppercook.server.service
- OtpResponse(String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.AdminService.OtpResponse
-
Creates an instance of a
OtpResponserecord class.
P
- pending(UUID, UUID, String) - Static method in record class org.gaardeon.coppercook.server.model.Subscription
-
Creates a new PENDING subscription request carrying the subscriber's public key.
- PENDING - Enum constant in enum class org.gaardeon.coppercook.server.model.SubscriptionStatus
- PendingSubscriptionResponse(String, String, String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.SubscriptionService.PendingSubscriptionResponse
-
Creates an instance of a
PendingSubscriptionResponserecord class. - publicKeyPem() - Method in record class org.gaardeon.coppercook.server.model.RegisteredUser
-
Returns the value of the
publicKeyPemrecord component. - publicKeyPem() - Method in record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationRequest
-
Returns the value of the
publicKeyPemrecord component. - publicKeyPem() - Method in record class org.gaardeon.coppercook.server.rest.UserLookupService.PublicKeyResponse
-
Returns the value of the
publicKeyPemrecord component. - PublicKeyResponse(String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.UserLookupService.PublicKeyResponse
-
Creates an instance of a
PublicKeyResponserecord class. - publisherDisplayName() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.MyPendingSubscriptionResponse
-
Returns the value of the
publisherDisplayNamerecord component. - publisherDisplayName() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionResponse
-
Returns the value of the
publisherDisplayNamerecord component. - publisherId() - Method in record class org.gaardeon.coppercook.server.model.Subscription
-
Returns the value of the
publisherIdrecord component. - publisherId() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.MyPendingSubscriptionResponse
-
Returns the value of the
publisherIdrecord component. - publisherId() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.PendingSubscriptionResponse
-
Returns the value of the
publisherIdrecord component. - publisherId() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionRequest
-
Returns the value of the
publisherIdrecord component. - publisherId() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionResponse
-
Returns the value of the
publisherIdrecord component.
R
- recipientId() - Method in record class org.gaardeon.coppercook.server.model.InboxMessage
-
Returns the value of the
recipientIdrecord component. - registeredAt() - Method in record class org.gaardeon.coppercook.server.model.RegisteredUser
-
Returns the value of the
registeredAtrecord component. - registeredAt() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.UserResponse
-
Returns the value of the
registeredAtrecord component. - RegisteredUser - Record Class in org.gaardeon.coppercook.server.model
- RegisteredUser(UUID, String, String, Instant) - Constructor for record class org.gaardeon.coppercook.server.model.RegisteredUser
-
Creates an instance of a
RegisteredUserrecord class. - registerUser(RegisteredUser) - Method in class org.gaardeon.coppercook.server.service.UserStore
- RegistrationRequest(String, String, String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationRequest
-
Creates an instance of a
RegistrationRequestrecord class. - RegistrationResponse(String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationResponse
-
Creates an instance of a
RegistrationResponserecord class. - RegistrationService - Class in org.gaardeon.coppercook.server.rest
-
Registration endpoint.
- RegistrationService(UserStore) - Constructor for class org.gaardeon.coppercook.server.rest.RegistrationService
- RegistrationService.RegistrationRequest - Record Class in org.gaardeon.coppercook.server.rest
- RegistrationService.RegistrationResponse - Record Class in org.gaardeon.coppercook.server.rest
- rejectAndRemove(UUID, UUID) - Method in class org.gaardeon.coppercook.server.service.SubscriptionStore
-
Rejects a pending subscription by deleting the record.
- REJECTED - Enum constant in enum class org.gaardeon.coppercook.server.model.SubscriptionStatus
- removeUser(UUID) - Method in class org.gaardeon.coppercook.server.service.UserStore
- requestedAt() - Method in record class org.gaardeon.coppercook.server.model.Subscription
-
Returns the value of the
requestedAtrecord component. - requestedAt() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.MyPendingSubscriptionResponse
-
Returns the value of the
requestedAtrecord component. - requestedAt() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.PendingSubscriptionResponse
-
Returns the value of the
requestedAtrecord component. - resolvedAt() - Method in record class org.gaardeon.coppercook.server.model.Subscription
-
Returns the value of the
resolvedAtrecord component. - routing(HttpRules) - Method in class org.gaardeon.coppercook.server.rest.AdminService
- routing(HttpRules) - Method in class org.gaardeon.coppercook.server.rest.InboxService
- routing(HttpRules) - Method in class org.gaardeon.coppercook.server.rest.RegistrationService
- routing(HttpRules) - Method in class org.gaardeon.coppercook.server.rest.SubscriptionService
- routing(HttpRules) - Method in class org.gaardeon.coppercook.server.rest.UserLookupService
- RsaAuthHandler - Class in org.gaardeon.coppercook.server.auth
-
Helidon handler that verifies RSA signatures on every request.
- RsaAuthHandler(UserStore) - Constructor for class org.gaardeon.coppercook.server.auth.RsaAuthHandler
- RsaAuthHandler.AuthError - Record Class in org.gaardeon.coppercook.server.auth
- RsaAuthorizer - Class in org.gaardeon.coppercook.server.rest
- RsaAuthorizer(String, UserStore) - Constructor for class org.gaardeon.coppercook.server.rest.RsaAuthorizer
- RsaAuthorizer.AuthError - Record Class in org.gaardeon.coppercook.server.rest
S
- saveSubscriptions(Relatable) - Method in class org.gaardeon.coppercook.server.persistence.AvroPersistence
- saveUsers(Relatable) - Method in class org.gaardeon.coppercook.server.persistence.AvroPersistence
- saveWhitelist(Relatable) - Method in class org.gaardeon.coppercook.server.persistence.AvroPersistence
- senderId() - Method in record class org.gaardeon.coppercook.server.model.InboxMessage
-
Returns the value of the
senderIdrecord component. - senderId() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxMessageResponse
-
Returns the value of the
senderIdrecord component. - senderId() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxPostRequest
-
Returns the value of the
senderIdrecord component. - set(Properties) - Method in class org.gaardeon.coppercook.server.config.CopperCookConfig
- set(AvroPersistence) - Method in class org.gaardeon.coppercook.server.config.AvroPersistenceDep
- set(UserStore) - Method in class org.gaardeon.coppercook.server.config.UserStoreDep
- set(T) - Method in interface org.gaardeon.coppercook.server.config.Dependency
- status() - Method in record class org.gaardeon.coppercook.server.model.Subscription
-
Returns the value of the
statusrecord component. - status() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionResponse
-
Returns the value of the
statusrecord component. - subscriberDisplayName() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.AcceptedSubscriberResponse
-
Returns the value of the
subscriberDisplayNamerecord component. - subscriberDisplayName() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.PendingSubscriptionResponse
-
Returns the value of the
subscriberDisplayNamerecord component. - subscriberId() - Method in record class org.gaardeon.coppercook.server.model.Subscription
-
Returns the value of the
subscriberIdrecord component. - subscriberId() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.AcceptedSubscriberResponse
-
Returns the value of the
subscriberIdrecord component. - subscriberId() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.PendingSubscriptionResponse
-
Returns the value of the
subscriberIdrecord component. - subscriberId() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionRequest
-
Returns the value of the
subscriberIdrecord component. - subscriberId() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionResponse
-
Returns the value of the
subscriberIdrecord component. - subscriberPublicKeyPem() - Method in record class org.gaardeon.coppercook.server.model.Subscription
-
Returns the value of the
subscriberPublicKeyPemrecord component. - subscriberPublicKeyPem() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.AcceptedSubscriberResponse
-
Returns the value of the
subscriberPublicKeyPemrecord component. - subscriberPublicKeyPem() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionRequest
-
Returns the value of the
subscriberPublicKeyPemrecord component. - Subscription - Record Class in org.gaardeon.coppercook.server.model
-
A pending subscription request: subscriberId wants to receive recipes from publisherId.
- Subscription(UUID, UUID, String, SubscriptionStatus, Instant, Instant) - Constructor for record class org.gaardeon.coppercook.server.model.Subscription
-
Creates an instance of a
Subscriptionrecord class. - SubscriptionRequest(String, String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionRequest
-
Creates an instance of a
SubscriptionRequestrecord class. - SubscriptionResponse(String, String, String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionResponse
-
Creates an instance of a
SubscriptionResponserecord class. - SubscriptionService - Class in org.gaardeon.coppercook.server.rest
-
REST endpoints for subscription management.
- SubscriptionService(SubscriptionStore, UserStore) - Constructor for class org.gaardeon.coppercook.server.rest.SubscriptionService
- SubscriptionService.AcceptedSubscriberResponse - Record Class in org.gaardeon.coppercook.server.rest
-
Response for PUT /subscriptions/{subscriberId}/{publisherId}/accept — the subscriber's full identity for the publisher to store locally.
- SubscriptionService.MyPendingSubscriptionResponse - Record Class in org.gaardeon.coppercook.server.rest
-
Response element for GET /subscriptions/mine — a pending subscription request the user has made.
- SubscriptionService.PendingSubscriptionResponse - Record Class in org.gaardeon.coppercook.server.rest
-
Response element for GET /subscriptions/pending — a pending subscription request awaiting the publisher's decision.
- SubscriptionService.SubscriptionRequest - Record Class in org.gaardeon.coppercook.server.rest
-
Request body for POST /subscriptions/request.
- SubscriptionService.SubscriptionResponse - Record Class in org.gaardeon.coppercook.server.rest
-
Response for POST /subscriptions/request — confirms the pending request and returns the publisher's display name.
- SubscriptionStatus - Enum Class in org.gaardeon.coppercook.server.model
-
Status of a subscription relationship between a subscriber and a publisher.
- SubscriptionStore - Class in org.gaardeon.coppercook.server.service
-
Temporary store for pending subscription requests.
- SubscriptionStore(AvroPersistence) - Constructor for class org.gaardeon.coppercook.server.service.SubscriptionStore
T
- toString() - Method in record class org.gaardeon.coppercook.server.auth.RsaAuthHandler.AuthError
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.BodyByteScope
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.model.InboxMessage
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.model.RegisteredUser
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.model.Subscription
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.model.WhitelistEntry
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.ErrorResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.MessageResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.OtpResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.UserResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.WhitelistResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxMessageResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxPostRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.InboxService.InboxPostResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.RsaAuthorizer.AuthError
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.AcceptedSubscriberResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.MyPendingSubscriptionResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.PendingSubscriptionResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionRequest
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.SubscriptionService.SubscriptionResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.UserLookupService.DisplayNameResponse
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.coppercook.server.rest.UserLookupService.PublicKeyResponse
-
Returns a string representation of this record class.
U
- used() - Method in record class org.gaardeon.coppercook.server.model.WhitelistEntry
-
Returns the value of the
usedrecord component. - used() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.WhitelistResponse
-
Returns the value of the
usedrecord component. - USER_STORE - Static variable in interface org.gaardeon.coppercook.server.config.Dependency
- userId() - Method in record class org.gaardeon.coppercook.server.model.RegisteredUser
-
Returns the value of the
userIdrecord component. - userId() - Method in record class org.gaardeon.coppercook.server.rest.AdminService.UserResponse
-
Returns the value of the
userIdrecord component. - userId() - Method in record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationRequest
-
Returns the value of the
userIdrecord component. - userId() - Method in record class org.gaardeon.coppercook.server.rest.RegistrationService.RegistrationResponse
-
Returns the value of the
userIdrecord component. - userId() - Method in record class org.gaardeon.coppercook.server.rest.UserLookupService.DisplayNameResponse
-
Returns the value of the
userIdrecord component. - userId() - Method in record class org.gaardeon.coppercook.server.rest.UserLookupService.PublicKeyResponse
-
Returns the value of the
userIdrecord component. - UserLookupService - Class in org.gaardeon.coppercook.server.rest
-
REST endpoints for looking up user information.
- UserLookupService(UserStore) - Constructor for class org.gaardeon.coppercook.server.rest.UserLookupService
- UserLookupService.DisplayNameResponse - Record Class in org.gaardeon.coppercook.server.rest
- UserLookupService.PublicKeyResponse - Record Class in org.gaardeon.coppercook.server.rest
- UserResponse(String, String, String) - Constructor for record class org.gaardeon.coppercook.server.rest.AdminService.UserResponse
-
Creates an instance of a
UserResponserecord class. - UserStore - Class in org.gaardeon.coppercook.server.service
-
Central store for registered users and whitelist entries.
- UserStore(AvroPersistence) - Constructor for class org.gaardeon.coppercook.server.service.UserStore
- UserStoreDep - Class in org.gaardeon.coppercook.server.config
- UserStoreDep() - Constructor for class org.gaardeon.coppercook.server.config.UserStoreDep
V
- valueOf(String) - Static method in enum class org.gaardeon.coppercook.server.model.SubscriptionStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.gaardeon.coppercook.server.model.SubscriptionStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WhitelistEntry - Record Class in org.gaardeon.coppercook.server.model
- WhitelistEntry(String, boolean, Instant) - Constructor for record class org.gaardeon.coppercook.server.model.WhitelistEntry
-
Creates an instance of a
WhitelistEntryrecord class. - WhitelistResponse(String, boolean, String) - Constructor for record class org.gaardeon.coppercook.server.rest.AdminService.WhitelistResponse
-
Creates an instance of a
WhitelistResponserecord class.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form