Index

A B D F G H I N O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractHttpResponse<T> - Class in dev.resms.core.net
Represents an HTTP response containing the response code, body, and success status.
AbstractHttpResponse() - Constructor for class dev.resms.core.net.AbstractHttpResponse
 
ALPHA - Enum constant in enum class dev.resms.services.otp.model.OtpCode
 
apiKey - Variable in class dev.resms.core.service.BaseService
Apikey used for authenticating requests.

B

BASE_API - Static variable in class dev.resms.core.net.impl.HttpClient
The base URL for the API.
BaseService - Class in dev.resms.core.service
An abstract base class for service implementations, providing common functionality such as HTTP client, authentication provider, and mapper initialization.
BaseService(String) - Constructor for class dev.resms.core.service.BaseService
Constructs a BaseService instance with the specified authentication provider, default HTTP client, and mapper.

D

dev.resms - package dev.resms
 
dev.resms.core.exception - package dev.resms.core.exception
 
dev.resms.core.mapper - package dev.resms.core.mapper
 
dev.resms.core.model - package dev.resms.core.model
 
dev.resms.core.net - package dev.resms.core.net
 
dev.resms.core.net.impl - package dev.resms.core.net.impl
 
dev.resms.core.service - package dev.resms.core.service
 
dev.resms.services.otp - package dev.resms.services.otp
 
dev.resms.services.otp.model - package dev.resms.services.otp.model
 
dev.resms.services.sms - package dev.resms.services.sms
 
dev.resms.services.sms.model - package dev.resms.services.sms.model
 
dev.resms.services.sms.validator - package dev.resms.services.sms.validator
 

F

fromJson(String, Class<T>) - Method in interface dev.resms.core.mapper.IMapper
Converts the provided JSON value into an instance of the specified class.
fromJson(String, Class<T>) - Method in class dev.resms.core.mapper.ReSMSMapper
Converts the provided JSON value into an instance of the specified class.

G

GET - Enum constant in enum class dev.resms.core.net.HttpMethod
 

H

httpClient - Variable in class dev.resms.core.service.BaseService
HTTP client for making HTTP requests.
HttpClient - Class in dev.resms.core.net.impl
An implementation of the IHttpClient interface for performing HTTP requests.
HttpClient() - Constructor for class dev.resms.core.net.impl.HttpClient
Constructs an instance of the HttpClient.
HttpMethod - Enum Class in dev.resms.core.net
An enumeration representing common HTTP methods.

I

IHttpClient<T> - Interface in dev.resms.core.net
An interface representing an HTTP client for performing HTTP requests and receiving responses.
IMapper - Interface in dev.resms.core.mapper
An interface for mapping between JSON representation and Java objects using Moshi.

N

NUMERIC - Enum constant in enum class dev.resms.services.otp.model.OtpCode
 

O

otp() - Method in class dev.resms.ReSMS
Returns an Otp object that can be used to interact with the Otp service.
Otp - Class in dev.resms.services.otp
 
Otp(String) - Constructor for class dev.resms.services.otp.Otp
Constructs an instance of the Otp class.
OtpCode - Enum Class in dev.resms.services.otp.model
 

P

perform(String, String, HttpMethod, String) - Method in interface dev.resms.core.net.IHttpClient
Perform an HTTP request with the specified path, method, and payload.
perform(String, String, HttpMethod, String) - Method in class dev.resms.core.net.impl.HttpClient
Performs an HTTP request with the specified path, HTTP method, and payload.
POST - Enum constant in enum class dev.resms.core.net.HttpMethod
 

R

ReSMS - Class in dev.resms
ReSMS Java SDK - Client principal
ReSMS() - Constructor for class dev.resms.ReSMS
 
ReSMSException - Exception in dev.resms.core.exception
 
ReSMSException(String) - Constructor for exception dev.resms.core.exception.ReSMSException
 
ReSMSException(String, Throwable) - Constructor for exception dev.resms.core.exception.ReSMSException
 
reSMSMapper - Variable in class dev.resms.core.service.BaseService
Mapper responsible for mapping data between different representations.
ReSMSMapper - Class in dev.resms.core.mapper
Implementation of the IMapper interface for mapping between JSON representation and Java objects using Moshi.
ReSMSMapper() - Constructor for class dev.resms.core.mapper.ReSMSMapper
 
Response - Class in dev.resms.core.model
 
Response() - Constructor for class dev.resms.core.model.Response
 

S

send(SendOtpOptions) - Method in class dev.resms.services.otp.Otp
Send an OTP based on the provided OTP request
send(SendSmsOptions) - Method in class dev.resms.services.sms.Sms
Sends an SMS based on the provided SMS request.
SendOtpOptions - Class in dev.resms.services.otp.model
 
SendOtpOptions() - Constructor for class dev.resms.services.otp.model.SendOtpOptions
 
SendOtpResponse - Class in dev.resms.services.otp.model
 
SendOtpResponse() - Constructor for class dev.resms.services.otp.model.SendOtpResponse
 
SendOtpResponse.SendOtpResponseData - Class in dev.resms.services.otp.model
 
SendOtpResponseData() - Constructor for class dev.resms.services.otp.model.SendOtpResponse.SendOtpResponseData
 
SendSmsOptions - Class in dev.resms.services.sms.model
 
SendSmsOptions() - Constructor for class dev.resms.services.sms.model.SendSmsOptions
 
SendSmsOptionsValidator - Class in dev.resms.services.sms.validator
 
SendSmsOptionsValidator() - Constructor for class dev.resms.services.sms.validator.SendSmsOptionsValidator
 
SendSmsResponse - Class in dev.resms.services.sms.model
Represents a response after sending an SMS.
SendSmsResponse() - Constructor for class dev.resms.services.sms.model.SendSmsResponse
 
SendSmsResponse.SendSmsResponseData - Class in dev.resms.services.sms.model
 
SendSmsResponseData() - Constructor for class dev.resms.services.sms.model.SendSmsResponse.SendSmsResponseData
 
sms() - Method in class dev.resms.ReSMS
Returns an Sms object that can be used to interact with the SMS service.
Sms - Class in dev.resms.services.sms
 
Sms(String) - Constructor for class dev.resms.services.sms.Sms
Constructs an instance of the Sms class.

T

toJson(Object) - Method in interface dev.resms.core.mapper.IMapper
Converts the provided object into its JSON representation.
toJson(Object) - Method in class dev.resms.core.mapper.ReSMSMapper
Converts the provided object into its JSON representation.

V

validate(SendSmsOptions) - Static method in class dev.resms.services.sms.validator.SendSmsOptionsValidator
 
valueOf(String) - Static method in enum class dev.resms.core.net.HttpMethod
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.resms.services.otp.model.OtpCode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class dev.resms.core.net.HttpMethod
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.resms.services.otp.model.OtpCode
Returns an array containing the constants of this enum class, in the order they are declared.
verify(VerifyOtpOptions) - Method in class dev.resms.services.otp.Otp
Verify an OTP based on the provided OTP verify request
VerifyOtpOptions - Class in dev.resms.services.otp.model
 
VerifyOtpOptions() - Constructor for class dev.resms.services.otp.model.VerifyOtpOptions
 
VerifyOtpResponse - Class in dev.resms.services.otp.model
 
VerifyOtpResponse() - Constructor for class dev.resms.services.otp.model.VerifyOtpResponse
 
VerifyOtpResponse.VerifyOtpResponseData - Class in dev.resms.services.otp.model
 
VerifyOtpResponseData() - Constructor for class dev.resms.services.otp.model.VerifyOtpResponse.VerifyOtpResponseData
 
A B D F G H I N O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form