A C D G H I M N P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AuthenticatedContentVerifier - Class in io.mosip.kernel.websub.api.verifier
-
This is a helper class to authenticate content when payload is pushed by hub after update from publisher according to WebSub Specs Note that content only needed to be authenticated if we have passed secret in subscribe request.
- AuthenticatedContentVerifier() - Constructor for class io.mosip.kernel.websub.api.verifier.AuthenticatedContentVerifier
- AUTHENTTICATED_CONTENT_ANNOTATION_SECRET_ERROR - io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
- AUTHENTTICATED_CONTENT_ERROR - io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
- AUTHENTTICATED_CONTENT_VERIFICATION_HEADER_ERROR - io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
C
- callback() - Method in annotation type io.mosip.kernel.websub.api.annotation.PreAuthenticateContentAndVerifyIntent
D
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.mosip.kernel.websub.api.filter.MultipleReadRequestBodyFilter
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class io.mosip.kernel.websub.api.filter.IntentVerificationFilter
G
- getErrorCode() - Method in enum io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
-
Function to get error code
- getErrorMessage() - Method in enum io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
-
Function to get the error message
- gethubModeValue() - Method in enum io.mosip.kernel.websub.api.constants.HubMode
- getInputStream() - Method in class io.mosip.kernel.websub.api.model.MultipleReadHttpRequest
- getReader() - Method in class io.mosip.kernel.websub.api.model.MultipleReadHttpRequest
H
- HUB_AUTHENTICATED_CONTENT_HEADER - Static variable in class io.mosip.kernel.websub.api.constants.WebSubClientConstants
- HUB_CALLBACK - Static variable in class io.mosip.kernel.websub.api.constants.WebSubClientConstants
- HUB_CHALLENGE - Static variable in class io.mosip.kernel.websub.api.constants.WebSubClientConstants
- HUB_LEASE_SECONDS - Static variable in class io.mosip.kernel.websub.api.constants.WebSubClientConstants
- HUB_MODE - Static variable in class io.mosip.kernel.websub.api.constants.WebSubClientConstants
- HUB_SECRET - Static variable in class io.mosip.kernel.websub.api.constants.WebSubClientConstants
- HUB_TOPIC - Static variable in class io.mosip.kernel.websub.api.constants.WebSubClientConstants
- HubMode - Enum in io.mosip.kernel.websub.api.constants
-
This
Enumcomprises of Hub mods used in this api.
I
- INPUT_VERIFICATION_ERROR - io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
- INSTANCE_ERROR - io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
- IntentVerificationConfig - Class in io.mosip.kernel.websub.api.config
-
This class is resposible for loading all the metadata with help of
PreAuthenticateContentAndVerifyIntentannotation after application context is ready for handling get endpoint request sent by hub for intent verifications after subscribe and unsubscribe operation. - IntentVerificationConfig() - Constructor for class io.mosip.kernel.websub.api.config.IntentVerificationConfig
- IntentVerificationFilter - Class in io.mosip.kernel.websub.api.filter
-
This filter is used for handle intent verification request by hub after subscribe and unsubscribe operations with help of metadata collected by
PreAuthenticateContentAndVerifyIntentandIntentVerificationConfigclass. - IntentVerificationFilter(IntentVerifier) - Constructor for class io.mosip.kernel.websub.api.filter.IntentVerificationFilter
- IntentVerifier - Class in io.mosip.kernel.websub.api.verifier
-
This is a helper class to verify intent after subscribe and unsubscribe operation according to WebSub Specs.
- IntentVerifier() - Constructor for class io.mosip.kernel.websub.api.verifier.IntentVerifier
- IO_ERROR - io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
- io.mosip.kernel.websub.api.annotation - package io.mosip.kernel.websub.api.annotation
- io.mosip.kernel.websub.api.aspects - package io.mosip.kernel.websub.api.aspects
- io.mosip.kernel.websub.api.client - package io.mosip.kernel.websub.api.client
- io.mosip.kernel.websub.api.config - package io.mosip.kernel.websub.api.config
- io.mosip.kernel.websub.api.constants - package io.mosip.kernel.websub.api.constants
- io.mosip.kernel.websub.api.exception - package io.mosip.kernel.websub.api.exception
- io.mosip.kernel.websub.api.filter - package io.mosip.kernel.websub.api.filter
- io.mosip.kernel.websub.api.model - package io.mosip.kernel.websub.api.model
- io.mosip.kernel.websub.api.verifier - package io.mosip.kernel.websub.api.verifier
- isContentVerified(String, String, String) - Method in class io.mosip.kernel.websub.api.verifier.AuthenticatedContentVerifier
-
This method authenticates the content.
- isFinished() - Method in class io.mosip.kernel.websub.api.model.MultipleReadServletInputStream
- isIntentVerified(String, String, String, String) - Method in class io.mosip.kernel.websub.api.verifier.IntentVerifier
- isReady() - Method in class io.mosip.kernel.websub.api.model.MultipleReadServletInputStream
M
- MultipleReadHttpRequest - Class in io.mosip.kernel.websub.api.model
-
This class is extention to
HttpServletRequestWrapperto override default behavior of spring which is request body can be read only once. - MultipleReadHttpRequest(HttpServletRequest) - Constructor for class io.mosip.kernel.websub.api.model.MultipleReadHttpRequest
- MultipleReadRequestBodyFilter - Class in io.mosip.kernel.websub.api.filter
-
This filter is to convert
ServletRequesttoMultipleReadHttpRequestto override default behavior of spring which is request body can be read only once. - MultipleReadRequestBodyFilter() - Constructor for class io.mosip.kernel.websub.api.filter.MultipleReadRequestBodyFilter
- MultipleReadServletInputStream - Class in io.mosip.kernel.websub.api.model
-
This class is wrapper to modification to
ServletInputStreamto convertServletRequesttoMultipleReadHttpRequest. - MultipleReadServletInputStream(byte[]) - Constructor for class io.mosip.kernel.websub.api.model.MultipleReadServletInputStream
N
- NOTIFY_UPDATE_ERROR - io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
- notifyUpdate(String, HttpHeaders, String) - Method in class io.mosip.kernel.websub.api.client.PublisherClientImpl
P
- preAuthenticateContent(PreAuthenticateContentAndVerifyIntent) - Method in class io.mosip.kernel.websub.api.aspects.WebSubClientAspect
-
This aspect is for Preauthentication of content notified by hub.
- PreAuthenticateContentAndVerifyIntent - Annotation Type in io.mosip.kernel.websub.api.annotation
-
Annotation indicating for Pre authentication of content notified by hub and verifying intent after subscribe and unsubscribe operation.
- PUBLISH - io.mosip.kernel.websub.api.constants.HubMode
-
Publish mode
- PUBLISH_ERROR - io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
- PublisherClientImpl<P> - Class in io.mosip.kernel.websub.api.client
-
This class is responsible for all the specification stated in
PublisherClientinterface. - PublisherClientImpl() - Constructor for class io.mosip.kernel.websub.api.client.PublisherClientImpl
- publishUpdate(String, P, String, HttpHeaders, String) - Method in class io.mosip.kernel.websub.api.client.PublisherClientImpl
R
- read() - Method in class io.mosip.kernel.websub.api.model.MultipleReadServletInputStream
- REGISTER - io.mosip.kernel.websub.api.constants.HubMode
-
Register mode
- REGISTER_ERROR - io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
- registerCachingRequestBodyFilter() - Method in class io.mosip.kernel.websub.api.config.WebSubClientConfig
- registerCachingRequestBodyFilterBean() - Method in class io.mosip.kernel.websub.api.config.WebSubClientConfig
- registerIntentVerificationFilter() - Method in class io.mosip.kernel.websub.api.config.WebSubClientConfig
- registerIntentVerificationFilterFilterBean() - Method in class io.mosip.kernel.websub.api.config.WebSubClientConfig
- registerTopic(String, String) - Method in class io.mosip.kernel.websub.api.client.PublisherClientImpl
- restTemplate() - Method in class io.mosip.kernel.websub.api.config.WebSubClientConfig
S
- secret() - Method in annotation type io.mosip.kernel.websub.api.annotation.PreAuthenticateContentAndVerifyIntent
- setApplicationContext(ApplicationContext) - Method in class io.mosip.kernel.websub.api.config.IntentVerificationConfig
- setEmbeddedValueResolver(StringValueResolver) - Method in class io.mosip.kernel.websub.api.aspects.WebSubClientAspect
- setEmbeddedValueResolver(StringValueResolver) - Method in class io.mosip.kernel.websub.api.config.IntentVerificationConfig
- setReadListener(ReadListener) - Method in class io.mosip.kernel.websub.api.model.MultipleReadServletInputStream
- subscribe(SubscriptionChangeRequest) - Method in class io.mosip.kernel.websub.api.client.SubscriberClientImpl
- SUBSCRIBE - io.mosip.kernel.websub.api.constants.HubMode
-
Subscribe mode
- SUBSCRIBE_ERROR - io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
- SubscriberClientImpl - Class in io.mosip.kernel.websub.api.client
-
This class is responsible for all the specification stated in
SubscriptionClientinterface. - SubscriberClientImpl() - Constructor for class io.mosip.kernel.websub.api.client.SubscriberClientImpl
- SubscriptionChangeRequest - Class in io.mosip.kernel.websub.api.model
-
Basic metadata model used in request subscribe and unsubscribe operations.
- SubscriptionChangeRequest() - Constructor for class io.mosip.kernel.websub.api.model.SubscriptionChangeRequest
- SubscriptionChangeResponse - Class in io.mosip.kernel.websub.api.model
-
Basic response model for subscribe and unsubscribe operations.
- SubscriptionChangeResponse() - Constructor for class io.mosip.kernel.websub.api.model.SubscriptionChangeResponse
T
- topic() - Method in annotation type io.mosip.kernel.websub.api.annotation.PreAuthenticateContentAndVerifyIntent
U
- UNREGISTER - io.mosip.kernel.websub.api.constants.HubMode
-
Unregister mode
- UNREGISTER_ERROR - io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
- unregisterTopic(String, String) - Method in class io.mosip.kernel.websub.api.client.PublisherClientImpl
- unSubscribe(UnsubscriptionRequest) - Method in class io.mosip.kernel.websub.api.client.SubscriberClientImpl
- UNSUBSCRIBE - io.mosip.kernel.websub.api.constants.HubMode
-
Unsubscribe mode
- UnsubscriptionRequest - Class in io.mosip.kernel.websub.api.model
-
Basic metadata model used in request unsubscribe operations.
- UnsubscriptionRequest() - Constructor for class io.mosip.kernel.websub.api.model.UnsubscriptionRequest
V
- valueOf(String) - Static method in enum io.mosip.kernel.websub.api.constants.HubMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.mosip.kernel.websub.api.constants.HubMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.mosip.kernel.websub.api.constants.WebSubClientErrorCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifyAuthorizedContentVerified(HttpServletRequest, String) - Method in class io.mosip.kernel.websub.api.verifier.AuthenticatedContentVerifier
-
This method retrive body and signature header from request and used
AuthenticatedContentVerifier.isContentVerified(String, String, String)to authenticate the content.
W
- WebSubClientAspect - Class in io.mosip.kernel.websub.api.aspects
-
This class comprises of aspects used for this library.
- WebSubClientAspect() - Constructor for class io.mosip.kernel.websub.api.aspects.WebSubClientAspect
- WebSubClientConfig - Class in io.mosip.kernel.websub.api.config
-
This class consist all the general and common configurations for this api.
- WebSubClientConfig() - Constructor for class io.mosip.kernel.websub.api.config.WebSubClientConfig
- WebSubClientConstants - Class in io.mosip.kernel.websub.api.constants
-
This class consist constants for this api.
- WebSubClientErrorCode - Enum in io.mosip.kernel.websub.api.constants
-
This
Enumconsist error codes for this api. - WebSubClientException - Exception in io.mosip.kernel.websub.api.exception
-
This class act as a generic exception for this api.
- WebSubClientException(String, String) - Constructor for exception io.mosip.kernel.websub.api.exception.WebSubClientException
-
Constructor the initialize Handler exception
- WebSubClientException(String, String, Throwable) - Constructor for exception io.mosip.kernel.websub.api.exception.WebSubClientException
All Classes All Packages