Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

accept(T, U, V) - Method in interface io.baratine.function.TriConsumer
 
add(String, String) - Method in interface io.baratine.config.Config.ConfigBuilder
 
add(String, Object) - Method in interface io.baratine.config.Config.ConfigBuilder
 
add(Config) - Method in interface io.baratine.config.Config.ConfigBuilder
 
add(Convert<S, T>) - Method in interface io.baratine.convert.ConvertFrom.ConvertFromBuilder
Adds Convert from type <S> to <T>
add(int) - Method in interface io.baratine.pipe.Credits
Adds credits.
add(String, Object) - Method in interface io.baratine.web.View.ViewBuilder
Adds value to the View
add(X) - Method in interface io.baratine.web.View.ViewBuilder
Adds value using key calculated as value.getClass().getSimpleName()
addDefault(String, String) - Method in interface io.baratine.config.Config.ConfigBuilder
 
addDefault(String, Object) - Method in interface io.baratine.config.Config.ConfigBuilder
 
address() - Method in interface io.baratine.service.ServiceRef
Get the address for this ServiceRef
address(String) - Method in interface io.baratine.service.ServiceRef.ServiceBuilder
Address to lookup the service in the ServiceManager.
after(Class<? extends ServiceWeb>) - Method in interface io.baratine.web.WebBuilder.RouteBuilder
 
after(X, InjectionPoint<?>) - Method in interface io.baratine.web.WebBuilder.RouteBuilder
 
AfterBatch - Annotation Type in io.baratine.service
@AfterBatch marks a method as a post-process method, called after messages are processed from the queue, when the queue is empty.
annotation(Class<A>) - Method in interface io.baratine.inject.InjectionPoint
 
annotations() - Method in interface io.baratine.inject.InjectionPoint
 
annotations() - Method in class io.baratine.inject.Key
Returns Key's annotations.
annotationTypes() - Method in class io.baratine.inject.Key
Returns annotation types
Api - Annotation Type in io.baratine.service
@Api specifies API for Service or Asset.
api(Class<?>) - Method in interface io.baratine.service.ServiceRef.ServiceBuilder
Binds Service to an class representing its api.
apply(Connection, Object[]) - Method in interface io.baratine.jdbc.SqlBiFunction
 
apply(Connection) - Method in interface io.baratine.jdbc.SqlFunction
 
applyWithException(Connection, Object...) - Method in interface io.baratine.jdbc.SqlBiFunction
Function method to implement.
applyWithException(Connection) - Method in interface io.baratine.jdbc.SqlFunction
Function method to implement.
args(String[]) - Method in interface io.baratine.web.WebServerBuilder
 
as(Class<T>) - Method in interface io.baratine.service.ServiceRef
Create a proxy for the service with a given api.
as(Class<T>) - Method in interface io.baratine.service.ServiceRef.ServiceBuilder
Creates a proxy to the underlying Service where proxy implements supplied api, which can be interface for cleaner code or a service class.
Asset - Annotation Type in io.baratine.vault
Annotation Asset marks Baratine service as an Asset.
attribute(Class<X>) - Method in interface io.baratine.web.RequestWeb
Retrieves attribute from the request.
attribute(X) - Method in interface io.baratine.web.RequestWeb
Sets a request attribute.
auto() - Method in interface io.baratine.service.ServiceRef.ServiceBuilder
Introspects service class to build its address and workers executors if @Workers annotation is present
autoBind(Injector.InjectAutoBind) - Method in interface io.baratine.inject.Injector.InjectorBuilder
 
autoBind(Injector.InjectAutoBind) - Method in interface io.baratine.web.WebBuilder
 
AutoCreate - Annotation Type in io.baratine.vault
Annotation AutoCreate marks asset for auto-creating.
autoServices(boolean) - Method in interface io.baratine.service.Services.ServicesBuilder
Scans META-INF/services for built-in services.
available() - Method in interface io.baratine.pipe.Credits
Returns a number of messages client can accept.
available() - Method in interface io.baratine.pipe.Credits.OnAvailable
Method called when more credits are available

B

Bean - Annotation Type in io.baratine.inject
Annotation @Bean is a default injection qualifier which can be used to do the following:
bean(Class<T>) - Method in interface io.baratine.inject.Injector.InjectorBuilder
 
bean(T) - Method in interface io.baratine.inject.Injector.InjectorBuilder
 
bean(Class<T>) - Static method in interface io.baratine.web.Web
Registers a bean for injection.
bean(T) - Static method in interface io.baratine.web.Web
Registers a bean instance for injection.
bean(Class<T>) - Method in interface io.baratine.web.WebBuilder
Configures a generic Bean provider for a specified class
bean(T) - Method in interface io.baratine.web.WebBuilder
Configures a generic bean provider for a specified instance
beanProvider(Provider<T>) - Method in interface io.baratine.web.WebBuilder
Adds a bean provider for type <T>
before(Class<? extends ServiceWeb>) - Method in interface io.baratine.web.WebBuilder.RouteBuilder
 
before(X, InjectionPoint<?>) - Method in interface io.baratine.web.WebBuilder.RouteBuilder
 
BeforeBatch - Annotation Type in io.baratine.service
@BeforeBatch marks a method as a pre-process method, called before a batch of messages are processed from the queue.
Binding<T> - Interface in io.baratine.inject
Returns an injection value for the given type an qualifiers.
bindings(Key<T>) - Method in interface io.baratine.inject.Injector
Returns the bindings associated with a key.
Body - Annotation Type in io.baratine.web
Annotation @Body is used to assign a value from POST body to a service method parameter
body(Class<X>, Result<X>) - Method in interface io.baratine.web.RequestWeb
Converts request body to requested in 'type' parameter object.
bodyThen(Class<X>, BiConsumer<X, RequestWeb>) - Method in interface io.baratine.web.RequestWeb
Wraps BiConsumer specified in the 'after' parameter into a Result and calls body(type, result).
branch() - Method in interface io.baratine.service.Result.Fork
 
branch() - Method in interface io.baratine.service.ResultChain.ForkChain
 
Buffer - Interface in io.baratine.io
Data buffer
Buffer.InputStreamConsumer - Interface in io.baratine.io
 
Buffers - Interface in io.baratine.io
Binary buffer factory
buffers() - Method in interface io.baratine.web.RequestWeb
Returns Buffers factory
build(B) - Method in interface io.baratine.config.IncludeGenerator
 
build() - Method in class io.baratine.web.IncludeWebBase
Method build should contain the actual configuration code for the WebBuilder.
build(WebBuilder) - Method in class io.baratine.web.IncludeWebBase
Method build(WebBuilder) initialized the fields of IncludeWebBase and calls method build().
builder() - Method in class io.baratine.web.IncludeWebBase
Returns associated WebBuilder
builder() - Static method in interface io.baratine.web.Web
Returns an instance of WebServerBuilder
bytesFactory() - Method in class io.baratine.spi.ServiceManagerProvider
 

C

cancel() - Method in interface io.baratine.pipe.Credits
This method cancels available credits.
cancel() - Method in interface io.baratine.pipe.Credits.OnAvailable
Method called
Cancel - Interface in io.baratine.service
Handle used to cancel registered callbacks like timers and credits.
cancel() - Method in interface io.baratine.service.Cancel
Cancel the timer or credit
capacity(int) - Method in interface io.baratine.pipe.PipePub
Sets queue capacity
capacity() - Method in interface io.baratine.pipe.PipeSub
Returns subscriber requested capacity for the queue
capacity(int) - Method in interface io.baratine.pipe.PipeSub.PipeSubBuilder
Specifies capacity for the queue
chain(Credits) - Method in interface io.baratine.pipe.PipeSub.PipeSubBuilder
 
cipherSuite() - Method in interface io.baratine.web.RequestWeb.SecureWeb
Cipher suite used for the secure connection
close() - Method in interface io.baratine.jdbc.SqlBiFunction
 
close() - Method in interface io.baratine.jdbc.SqlFunction
 
close() - Method in interface io.baratine.pipe.Pipe
Completes sending the values to the client and signals to the client that no more values are expected.
close(Runnable) - Method in interface io.baratine.pipe.PipeSub.PipeSubBuilder
Method close configures consumer for close event on a pipe.
close(Result<Void>) - Method in interface io.baratine.service.ServiceRef
Closes the service
close() - Method in class io.baratine.spi.ServiceManagerProvider
 
close() - Method in class io.baratine.spi.WebServerProvider
 
close(WebSocketClose, String, WebSocket<S>) - Method in interface io.baratine.web.ServiceWebSocket
Called when WebSocket closes
close(WebSocket<S>) - Method in interface io.baratine.web.ServiceWebSocket
 
close() - Method in interface io.baratine.web.WebServer
 
close(WebSocketClose, String) - Method in interface io.baratine.web.WebSocket
 
close() - Method in interface io.baratine.web.WebSocket
 
closeImmediate() - Method in interface io.baratine.service.ServiceRef
 
code() - Method in enum io.baratine.web.HttpStatus
 
code() - Method in interface io.baratine.web.WebSocketClose
 
completeFuture(T) - Method in interface io.baratine.service.ResultChain
 
completeFuture(ResultChain<R>, R) - Method in interface io.baratine.service.ResultChain
 
completeFuture(ResultChain<V>, V) - Method in class io.baratine.service.ResultChain.WrapperChain
 
completeFuture(T) - Method in class io.baratine.service.ResultChain.WrapperChain
 
completeFuture(ResultChain<U>, U) - Method in class io.baratine.service.ResultFuture
 
completeFuture(T) - Method in class io.baratine.service.ResultFuture
 
Config - Interface in io.baratine.config
Config is the configuration environment, which contains a read-only properties map.
config() - Method in interface io.baratine.inject.Injector
Returns the configuration.
config() - Method in interface io.baratine.web.RequestWeb
Returns configuration object for web app serving this request
Config.ConfigBuilder - Interface in io.baratine.config
Provides methods to build a Config object.
consume(PipeSub<T>) - Method in interface io.baratine.pipe.PipeBroker
Registers a message consumer.
consumer(String, T, Result<? super Cancel>) - Method in interface io.baratine.event.Events
Registers consumer at a given path.
consumer(Class<T>, T, Result<? super Cancel>) - Method in interface io.baratine.event.Events
Registers consumer using a given api class.
consumer(String, T) - Method in interface io.baratine.event.EventsSync
Registers consumer for a given path.
consumer(Class<T>, T) - Method in interface io.baratine.event.EventsSync
Registers consumer using a given api See Events#consumer(Class, Object, Result) for documentation
contentType() - Method in interface io.baratine.web.Part
Content-Type header of the part
Convert<S,T> - Interface in io.baratine.convert
Convert from source to target.
convert(S) - Method in interface io.baratine.convert.Convert
Converts from <S> to <T>
convert(S, Result<T>) - Method in interface io.baratine.convert.Convert
Converts from <S> to <T> asynchronously.
convert(Class<T>, S) - Method in interface io.baratine.convert.ConvertFrom
Synchronously converts source object to an instance of a target type
convert(Class<T>, S, Result<T>) - Method in interface io.baratine.convert.ConvertFrom
Asynchronously converts source object to an instance of a target type.
convert(Class<T>, S) - Method in interface io.baratine.convert.ConvertManager
Convert using only sync converters
convert(Class<T>, S, Result<T>) - Method in interface io.baratine.convert.ConvertManager
Convert using sync or async converters.
convert(Class<S>, S) - Method in interface io.baratine.convert.ConvertTo
Synchronously convert source object to an instance of type <T>
convert(Class<S>, S, Result<T>) - Method in interface io.baratine.convert.ConvertTo
Synchronously convert source object to an instance of type <T>
converter(ConvertFrom<String>) - Method in interface io.baratine.config.Config.ConfigBuilder
 
converter(Class<T>) - Method in interface io.baratine.convert.ConvertFrom
Returns converter supporting conversion to type <T>
converter(Class<S>, Class<T>) - Method in interface io.baratine.convert.ConvertManager
 
converter(Class<S>) - Method in interface io.baratine.convert.ConvertTo
Obtains convert capable of converting to <S>
converter() - Method in interface io.baratine.inject.Injector
Returns the type converter from a source class to a target class.
converter(Class<S>, Class<T>) - Method in interface io.baratine.web.WebBuilder
Obtains a converter for converting objects from a source to target.
ConvertFrom<S> - Interface in io.baratine.convert
Convert from source to target.
ConvertFrom.ConvertFromBuilder<S> - Interface in io.baratine.convert
Interface ConvertFromBuilder adds support for converting from type specified as <S> to <T> type
ConvertManager - Interface in io.baratine.convert
Convert from source to target.
ConvertTo<T> - Interface in io.baratine.convert
Convert from source to target.
Cookie - Annotation Type in io.baratine.web
Annotation Cookie is used to assign a value from a Cookie header to a service method parameter.
cookie(String) - Method in interface io.baratine.web.RequestWeb
Returns cookie value of a matching cookie
cookie(String, String) - Method in interface io.baratine.web.RequestWeb
Adds a cookie to response
cookieMap() - Method in interface io.baratine.web.RequestWeb
Returns map of cookie name to cookie values
create(byte[]) - Method in interface io.baratine.io.Buffers
 
create(int) - Method in interface io.baratine.io.Buffers
 
create() - Method in interface io.baratine.io.Buffers
 
create(ResultSet, int) - Static method in class io.baratine.jdbc.JdbcRowSet
 
createAndRethrow(Throwable) - Static method in exception io.baratine.service.ServiceException
 
createAndRethrow(String, Throwable) - Static method in exception io.baratine.service.ServiceException
 
createAndRethrow(String, Throwable) - Static method in exception io.baratine.service.ServiceExceptionCancelled
 
createAndRethrow(String, Throwable) - Static method in exception io.baratine.service.ServiceExceptionClosed
 
createAndRethrow(String, Throwable) - Static method in exception io.baratine.service.ServiceExceptionConnect
 
createAndRethrow(String, Throwable) - Static method in exception io.baratine.service.ServiceExceptionProtocol
 
CREDIT_DISABLE - Static variable in interface io.baratine.pipe.Pipe
 
Credits - Interface in io.baratine.pipe
Credits controls message flow.
credits() - Method in interface io.baratine.pipe.Pipe
Returns the credit sequence for the queue.
credits(Credits) - Method in interface io.baratine.pipe.Pipe
Subscriber callback to get the Credits for the pipe.
credits(long) - Method in interface io.baratine.pipe.PipePub
The initial number of credits.
credits(Consumer<Credits>) - Method in interface io.baratine.pipe.PipeSub.PipeSubBuilder
Method configures consumer for Credits object representing flow control mechanism.
credits(long) - Method in interface io.baratine.pipe.PipeSub.PipeSubBuilder
Method configures initial credits value
credits() - Method in interface io.baratine.web.RequestWeb
Obtains credits used for finer flow control of data from server to client.
credits(RequestWeb) - Method in interface io.baratine.web.RequestWeb.OutFilterWeb
Delegates to RequestWeb.credits() method returning instance of Credits.
credits() - Method in interface io.baratine.web.WebSocket
 
Credits.OnAvailable - Interface in io.baratine.pipe
Publisher callback when more credits may be available.
creditsInitial() - Method in interface io.baratine.pipe.PipeSub
The initial number of credits.
CrossOrigin - Annotation Type in io.baratine.web.cors
Cross Origin annotation configures Cross Origin Resource Sharing(CORS) behaviour which allows browser to access resources from a different domain.
current() - Static method in interface io.baratine.service.ServiceRef
Returns the current ServiceRef
current() - Static method in interface io.baratine.service.Services
Returns the current Services manager
current() - Static method in class io.baratine.spi.ServiceManagerProvider
Gets the current ServiceManagerProvider for the system.
current() - Static method in class io.baratine.spi.WebServerProvider
Gets the current ServiceManagerProvider for the system.
currentManager() - Method in class io.baratine.spi.ServiceManagerProvider
 
currentServiceRef() - Method in class io.baratine.spi.ServiceManagerProvider
 

D

data() - Method in interface io.baratine.web.Part
InputStream with part's data
dateTime() - Method in class io.baratine.vault.IdAsset
 
declaringClass() - Method in interface io.baratine.inject.InjectionPoint
 
decode(String) - Static method in class io.baratine.vault.IdAsset
 
delegate() - Method in class io.baratine.service.ResultChain.WrapperChain
 
Delete - Annotation Type in io.baratine.web
Annotation Delete makes service method accessible via HTTP for DELETE requests.
delete(String) - Static method in interface io.baratine.web.Web
Configures a route corresponding to HTTP DELETE method
delete(String) - Method in interface io.baratine.web.WebBuilder
Configures route builder for a HTTP DELETE method at a specified path
direct() - Method in interface io.baratine.io.Buffer
 
domain(String) - Method in interface io.baratine.web.RequestWeb.CookieBuilder
Sets cookie's domain

E

encode(long) - Static method in class io.baratine.vault.IdAsset
 
encoding(String) - Method in interface io.baratine.web.RequestWeb
Sets response encoding e.g.
endTimeMs() - Method in class io.baratine.jdbc.QueryStat
Returns the time this query finished or failed executing.
endTimeMs(long) - Method in class io.baratine.jdbc.QueryStat
 
enqueueEndTimeMs() - Method in class io.baratine.jdbc.QueryStat
Returns the time this query finished waiting in line to be executed and is ready to be executed immediately.
enqueueEndTimeMs(long) - Method in class io.baratine.jdbc.QueryStat
 
enqueueStartTimeMs() - Method in class io.baratine.jdbc.QueryStat
Returns the time this query started waiting in line to be executed.
enqueueStartTimeMs(long) - Method in class io.baratine.jdbc.QueryStat
 
Ensure - Annotation Type in io.baratine.service
@Ensure marks a service method for reliable calls.
equals(Object) - Method in class io.baratine.inject.Key
 
Events - Interface in io.baratine.event
Baratine Event Service allows sending and receiving events using convenient application domain API.
EventsSync - Interface in io.baratine.event
Synchronous interface to the Baratine Event Service.
exception() - Method in class io.baratine.jdbc.QueryStat
Returns the Exception throw by this query, if any.
exception(Throwable) - Method in class io.baratine.jdbc.QueryStat
 
execute(Result<Integer>, String, Object...) - Method in interface io.baratine.jdbc.JdbcService
Executes the SQL with the given params and returns the update count.
execute(String, Object...) - Method in interface io.baratine.jdbc.JdbcServiceSync
 

F

factory() - Static method in interface io.baratine.io.Buffers
 
fail(Throwable) - Method in interface io.baratine.pipe.Credits.OnAvailable
Method called when method fail is called on a publisher pipe
fail(Throwable) - Method in interface io.baratine.pipe.Pipe
Signals a failure.
fail(Throwable) - Method in interface io.baratine.pipe.PipePub
Calls method handle upon failure to establish a pipe passing null and exception as arguments to the handle method call.
fail(Consumer<Throwable>) - Method in interface io.baratine.pipe.PipePub.PipePubBuilder
Configures an instance of PipePubBuilder supplying it with an instance of a exception handler specified as a Consumer for exceptions
fail(Throwable) - Method in interface io.baratine.pipe.PipeSub
Makes a call to method handle with the following values:
null – for message (next)
fail(Consumer<Throwable>) - Method in interface io.baratine.pipe.PipeSub.PipeSubBuilder
Method fail configures a consumer for exceptions that may arise
fail(Throwable) - Method in interface io.baratine.service.Result
Fails the Result with an exception.
fail(TriConsumer<List<U>, List<Throwable>, Result<T>>) - Method in interface io.baratine.service.Result.Fork
 
fail(Throwable) - Method in interface io.baratine.service.ResultChain
 
fail(TriConsumer<List<R>, List<Throwable>, C>) - Method in interface io.baratine.service.ResultChain.ForkChain
 
fail(Throwable) - Method in class io.baratine.service.ResultChain.WrapperChain
 
fail(Throwable) - Method in class io.baratine.service.ResultFuture
 
fail(Throwable) - Method in interface io.baratine.web.RequestWeb
Completes processing with a fail status and exception
fail(Throwable) - Method in interface io.baratine.web.WebSocket
 
FilterAfter - Annotation Type in io.baratine.web
Annotation FilterAfter used to declare a RequestWeb filter.
FilterBefore - Annotation Type in io.baratine.web
Annotation FilterBefore used to declare a RequestWeb filter.
FiltersAfter - Annotation Type in io.baratine.web
Annotation FiltersAfter allows defining multiple 'after' filters for a resource.
FiltersBefore - Annotation Type in io.baratine.web
Annotation FiltersBefore allows defining multiple 'before' filters for a resource.
first(String) - Method in interface io.baratine.web.MultiMap
Returns first value out of a list for the key or null when list contains no values or when list is null
flow(Credits.OnAvailable) - Method in interface io.baratine.pipe.PipePub.PipePubBuilder
Configures an instance of PipePubBuilder supplying it with an instance of OnAvailable implementation
flush() - Method in interface io.baratine.web.RequestWeb
Flushes response to the client
flush() - Method in interface io.baratine.web.WebSocket
 
flushOutbox() - Static method in interface io.baratine.service.ServiceRef
Flushes the current outbox, delivering any pending messages to their target inboxes.
flushOutbox() - Method in class io.baratine.spi.ServiceManagerProvider
 
flushOutboxAndExecuteLast() - Static method in interface io.baratine.service.ServiceRef
 
flushOutboxAndExecuteLast() - Method in class io.baratine.spi.ServiceManagerProvider
 
fork() - Method in interface io.baratine.service.Result
Result.Fork<String,String> fork = result.fork(); service1.hello(fork.branch()); service2.hello(fork.branch()); fork.join(x->System.out.println("Fork: " + x));
Form - Interface in io.baratine.web
Class Form is used to present data for processing form submission.
free() - Method in interface io.baratine.io.Buffer
 
from(Class<S>) - Method in interface io.baratine.convert.ConvertManager
 
from(Config, String) - Static method in class io.baratine.jdbc.JdbcConfig
 

G

get() - Method in interface io.baratine.config.Config.ConfigBuilder
 
get(String, String) - Method in interface io.baratine.config.Config
Returns property value for a key or default if property is not set
get(String, Class<T>, T) - Method in interface io.baratine.config.Config
Returns converted to specified type property value for a given key or default value if property is not set.
get(String, Class<T>, String) - Method in interface io.baratine.config.Config
Returns converted to specified type property value for a given key or converted from default value.
get() - Method in interface io.baratine.convert.ConvertFrom.ConvertFromBuilder
Obtains instance of ConvertFrom of type <S>.
get() - Method in interface io.baratine.inject.Injector.InjectorBuilder
 
get(int, byte[], int, int) - Method in interface io.baratine.io.Buffer
gets bytes from the buffer
get() - Method in interface io.baratine.pipe.Credits
Returns a long representing current sequence value
get() - Method in class io.baratine.service.ResultFuture
 
get(long, TimeUnit) - Method in class io.baratine.service.ResultFuture
 
get() - Method in interface io.baratine.service.Services.ServicesBuilder
Obtains instance of Services (service manager)
Get - Annotation Type in io.baratine.web
Annotation Get makes service method accessible via HTTP for GET requests.
get(String) - Method in class io.baratine.web.IncludeWebBase
Returns RouteBuilder for specified path and 'GET' HTTP method.
get(String) - Method in interface io.baratine.web.View
Data Object from a map
get(Class<X>) - Method in interface io.baratine.web.View
Data Object form a map with key calculated as type.getSimpleName()
get() - Method in interface io.baratine.web.View
Returns a single value set with a ViewBuilder.set(Object) method.
get(String) - Static method in interface io.baratine.web.Web
Configures a route corresponding ot HTTP GET method
get(String) - Method in interface io.baratine.web.WebBuilder
Configures route builder for HTTP GET method at specified path
get() - Method in interface javax.inject.Provider
Returns an instance of the selected bean
getBoolean(int) - Method in class io.baratine.jdbc.JdbcRow
Returns the column as a boolean.
getClass(int) - Method in class io.baratine.jdbc.JdbcRow
Returns the class of the column.
getCode() - Method in exception io.baratine.service.ServiceException
 
getCode() - Method in exception io.baratine.service.ServiceExceptionNotFound
 
getColumnCount() - Method in class io.baratine.jdbc.JdbcRow
Returns number of columns in a row
getColumnCount() - Method in class io.baratine.jdbc.JdbcRowSet
Returns number of columns
getColumnNames() - Method in class io.baratine.jdbc.JdbcRowSet
Returns column names for the row set
getDouble(int) - Method in class io.baratine.jdbc.JdbcRow
Returns the column as a double.
getFileName() - Method in interface io.baratine.web.Part
Client submitted file name of the part
getFirstRow() - Method in class io.baratine.jdbc.JdbcRowSet
Provides access to first row
getLong(int) - Method in class io.baratine.jdbc.JdbcRow
Returns the column as a long.
getObject(int) - Method in class io.baratine.jdbc.JdbcRow
Returns the column as an object without any marshaling.
getRowCount() - Method in class io.baratine.jdbc.JdbcRowSet
Returns number of rows in a row set
getString(int) - Method in class io.baratine.jdbc.JdbcRow
Returns the column as a String.
getUpdateCount() - Method in class io.baratine.jdbc.JdbcRowSet
Returns update count value from executing original statement
go(String...) - Static method in interface io.baratine.web.Web
 
go(String...) - Method in interface io.baratine.web.WebServerBuilder
 

H

halt() - Method in interface io.baratine.web.RequestWeb
Halts response
halt(HttpStatus) - Method in interface io.baratine.web.RequestWeb
Halts response with specified status
handle(T, Throwable, boolean) - Method in interface io.baratine.pipe.Pipe.PipeHandler
Method handle is called when associated pipe receives new messages, exceptions or close events.
handle(Pipe<T>, Throwable) - Method in interface io.baratine.pipe.PipePub
The method is called on successful establishing of the pipe.
handle(T, Throwable, boolean) - Method in interface io.baratine.pipe.PipeSub
Method handle should be implemented by the subscribers.
handle(T, Throwable) - Method in interface io.baratine.service.Result
Client handler for result values.
handle(T, Throwable) - Method in class io.baratine.service.ResultChain.WrapperChain
 
handle(T, Throwable) - Method in class io.baratine.service.ResultFuture
 
hashCode() - Method in class io.baratine.inject.Key
 
header(String) - Method in interface io.baratine.pipe.Message
Method header returns value of a header matching a key
header(String, Object) - Method in interface io.baratine.pipe.Message.MessageBuilder
 
Header - Annotation Type in io.baratine.web
Annotation Header maps service method parameter to a header value.
header(String) - Method in interface io.baratine.web.Part
Returns header value for specified header name
header(String) - Method in interface io.baratine.web.RequestWeb
Returns value of a specified header
header(String, String) - Method in interface io.baratine.web.RequestWeb
Sets response header
header(RequestWeb, String, String) - Method in interface io.baratine.web.RequestWeb.OutFilterWeb
Calls header method on the supplied in 'request' parameter instance of RequestWeb.
headerMap() - Method in interface io.baratine.web.RequestWeb
Returns map of header name to header values
headerNames() - Method in interface io.baratine.web.Part
All header names
headers() - Method in interface io.baratine.pipe.Message
Method headers returns optional header passed with the message
headers(String) - Method in interface io.baratine.web.Part
All header values matching header name
host() - Method in interface io.baratine.web.RequestWeb
Returns value of a 'Host' header
HttpMethod - Enum in io.baratine.web
Enum for HTTP methods.
httpOnly(boolean) - Method in interface io.baratine.web.RequestWeb.CookieBuilder
Makes cookie HttpOnly
HttpStatus - Enum in io.baratine.web
Enum for HTTP status codes

I

Id - Annotation Type in io.baratine.vault
Annotation Id marks asset field as a primary key.
id() - Method in class io.baratine.vault.IdAsset
 
IdAsset - Class in io.baratine.vault
Class IdAsset represents an asset id.
IdAsset(long) - Constructor for class io.baratine.vault.IdAsset
 
IdAsset(String) - Constructor for class io.baratine.vault.IdAsset
 
ifAnnotation(Method) - Method in interface io.baratine.web.WebBuilder.RouteBuilder
 
IfContentType - Annotation Type in io.baratine.web
Annotation IfContentType allows resolving method based on the content-type.
ignore() - Static method in interface io.baratine.service.Result
Create an empty Result that ignores the ok.
Include - Annotation Type in io.baratine.config
Annotation Include marks a class for configuration inclusion during scanning.
include(Class<?>) - Method in interface io.baratine.inject.Injector.InjectorBuilder
 
include(Class<?>) - Static method in interface io.baratine.web.Web
Enlists class for automatic service discovery.
include(Class<?>) - Method in interface io.baratine.web.WebBuilder
Adds a class for binding as a service.
include(Class<?>) - Method in interface io.baratine.web.WebServerBuilder
 
IncludeConfig - Interface in io.baratine.config
Builds configuration at configure time.
IncludeGenerator<B> - Interface in io.baratine.config
Include classes configure builders
IncludeWeb - Interface in io.baratine.web
IncludeWeb allows its implementations configure WebBuilder.
IncludeWebBase - Class in io.baratine.web
Class IncludeWebBase provides a convenient base for extending by concrete implementations.
IncludeWebBase() - Constructor for class io.baratine.web.IncludeWebBase
 
init(Services.ServicesBuilder) - Method in interface io.baratine.service.ServiceInitializer
 
inject(T) - Method in interface io.baratine.config.Config
Injects fields of a given bean with values from configuration: conf.yml:
inject(T, String) - Method in interface io.baratine.config.Config
Injects fields of a given bean with values from configuration using prefix and field name as a a key.
Inject - Annotation Type in javax.inject
Designates fields, methods and constructors as injectable.
InjectionPoint<T> - Interface in io.baratine.inject
Corresponds to an injection point, like a field.
injectManager(ClassLoader) - Method in class io.baratine.spi.ServiceManagerProvider
 
Injector - Interface in io.baratine.inject
The injection manager interface
injector(Class<T>) - Method in interface io.baratine.inject.Injector
Consumer for injecting dependencies.
injector() - Method in interface io.baratine.service.Services
 
injector() - Method in interface io.baratine.service.Services.ServicesBuilder
Context InjectorBuilder for configuring new Beans for injection
injector() - Method in interface io.baratine.web.RequestWeb
Returns an injector instance for web app serving this request
injector() - Method in interface io.baratine.web.WebBuilder
Returns an instance of Injector used with this instance of WebBuilder.
Injector.BindingBuilder<T> - Interface in io.baratine.inject
 
Injector.IncludeInject - Interface in io.baratine.inject
 
Injector.InjectAutoBind - Interface in io.baratine.inject
 
Injector.InjectorBuilder - Interface in io.baratine.inject
 
instance(Class<T>) - Method in interface io.baratine.inject.Injector
Returns an injected instance for the given type.
instance(Key<T>) - Method in interface io.baratine.inject.Injector
Returns an injected instance for the given Key, which combines a type with annotations.
instance(InjectionPoint<T>) - Method in interface io.baratine.inject.Injector
Returns an injected instance for the given InjectionPoint.
io.baratine.config - package io.baratine.config
Provides classes and interfaces for configuring Baratine services.
io.baratine.convert - package io.baratine.convert
Provides classes necessary for converting objects from one type to another.
io.baratine.event - package io.baratine.event
Provides classes necessary for sending and receiving Events with Baratine services.
io.baratine.function - package io.baratine.function
Provides classes for common functions used by Baratine
io.baratine.inject - package io.baratine.inject
Provides classes for defining beans, bindings and injection points for Baratine Beans and Services
io.baratine.io - package io.baratine.io
Provides classes input output operations used with Baratine
io.baratine.jdbc - package io.baratine.jdbc
Provides JdbcService for JDBC queries.
io.baratine.pipe - package io.baratine.pipe
Package io.baratine.pipe provides high speed typed messaging for Baratine.
io.baratine.service - package io.baratine.service
Provides API for Baratine core functionality
io.baratine.spi - package io.baratine.spi
Provides SPI for extensions
io.baratine.timer - package io.baratine.timer
Provides API for Timer functionality
io.baratine.vault - package io.baratine.vault
Provides classes for defining and managing persistent objects (Assets) in Baratine
io.baratine.web - package io.baratine.web
Provides classes for exposing Baratine services to the web.
io.baratine.web.cors - package io.baratine.web.cors
Provides annotation for Baratine services CORS (Cross Origin Resource Sharing) support
io.baratine.web.oath - package io.baratine.web.oath
Provides annotation for OAuth support
ip() - Method in interface io.baratine.web.RequestWeb
Returns remote address as a string
ipLocal() - Method in interface io.baratine.web.RequestWeb
Returns local address (server ip)
ipRemote() - Method in interface io.baratine.web.RequestWeb
Returns remote address (client ip)
isAnnotationPresent(Class<? extends Annotation>) - Method in class io.baratine.inject.Key
Tests if annotation type is present in Key's annotations
isAssignableFrom(Key<? super T>) - Method in class io.baratine.inject.Key
Tests if key is assignable.
isAsync() - Method in interface io.baratine.convert.Convert
Tests if converter should be invoked by the framework asynchronously
isClosed() - Method in interface io.baratine.pipe.Pipe
True if the pipe has been closed or cancelled.
isClosed() - Method in interface io.baratine.service.ServiceRef
Tests if the service has been closed.
isClosed() - Method in interface io.baratine.web.WebSocket
 
isDirect() - Method in interface io.baratine.io.Buffer
 
isDone() - Method in class io.baratine.service.ResultFuture
 
isFuture() - Method in interface io.baratine.service.ResultChain
 
isFuture() - Method in class io.baratine.service.ResultChain.WrapperChain
 
isFuture() - Method in class io.baratine.service.ResultFuture
 
iterator() - Method in class io.baratine.jdbc.JdbcRowSet
Provides iterator over rows

J

javax.inject - package javax.inject
 
JdbcConfig - Class in io.baratine.jdbc
Config for JdbcService.
JdbcConfig() - Constructor for class io.baratine.jdbc.JdbcConfig
 
JdbcRow - Class in io.baratine.jdbc
JdbcRow class represents row filled from a query and provides getter methods to retrieve values for columns.
JdbcRow(Object[]) - Constructor for class io.baratine.jdbc.JdbcRow
Constructs a row from column values
JdbcRowSet - Class in io.baratine.jdbc
Class JdbcRowSet represents a set of rows filled from a query.
JdbcRowSet() - Constructor for class io.baratine.jdbc.JdbcRowSet
 
JdbcService - Interface in io.baratine.jdbc
A service to execute SQL queries on a JDBC database.
JdbcServiceSync - Interface in io.baratine.jdbc
Synchronous interface for JdbcService, primarily for testing.
JdbcStat - Class in io.baratine.jdbc
Class represents real time statistics for underlying jdbc connection.
JdbcStat() - Constructor for class io.baratine.jdbc.JdbcStat
 
join(Function<List<U>, T>) - Method in interface io.baratine.service.Result.Fork
 
join(BiConsumer<List<U>, Result<T>>) - Method in interface io.baratine.service.Result.Fork
 
join(Function<List<R>, T>) - Method in interface io.baratine.service.ResultChain.ForkChain
 
join(BiConsumer<List<R>, C>) - Method in interface io.baratine.service.ResultChain.ForkChain
 
join() - Method in interface io.baratine.web.WebServer
 
Journal - Annotation Type in io.baratine.service
The @Journal marks a service as needing journaling by the Baratine system.

K

key() - Method in interface io.baratine.inject.Binding
 
key() - Method in interface io.baratine.inject.InjectionPoint
 
Key<T> - Class in io.baratine.inject
Key is used for binding beans and services to injection points.
Key() - Constructor for class io.baratine.inject.Key
 
Key(Type, Annotation[]) - Constructor for class io.baratine.inject.Key
Constructs key with a given type and annotations

L

length() - Method in interface io.baratine.io.Buffer
Returns the current size of the buffer.
length(long) - Method in interface io.baratine.web.RequestWeb
Sets response length
length(RequestWeb, long) - Method in interface io.baratine.web.RequestWeb.OutFilterWeb
Delegates to RequestWeb.length(long) method of the supplied in 'request' parameter instance of RequestWeb.

M

map() - Method in interface io.baratine.web.View
Map of Objects for rendering
maxAge(long, TimeUnit) - Method in interface io.baratine.web.RequestWeb.CookieBuilder
Sets cookie expiry
Message<T> - Interface in io.baratine.pipe
General message type for pipes.
message() - Method in enum io.baratine.web.HttpStatus
 
Message.MessageBuilder<T> - Interface in io.baratine.pipe
MessageBuilder interface allows setting properties for a Message, such as headers.
method() - Method in interface io.baratine.web.RequestWeb
Return HTTP method e.g.
millis() - Method in class io.baratine.vault.IdAsset
 
Modify - Annotation Type in io.baratine.service
@Modify should be used to mark any service method that updates state of the service.
MultiMap<K,V> - Interface in io.baratine.web
Class MultipMap maps a key to a list of values.

N

name() - Method in interface io.baratine.inject.InjectionPoint
 
name() - Method in interface io.baratine.web.Part
Name of the part
name() - Method in interface io.baratine.web.View
View name
Named - Annotation Type in javax.inject
The @Named annotation for web beans
New - Annotation Type in io.baratine.inject
Factory scope creates a new object for each getter.
newChild() - Method in interface io.baratine.config.Config
 
newManager(ClassLoader) - Static method in interface io.baratine.inject.Injector
Creates a new manager.
newManager() - Static method in interface io.baratine.inject.Injector
 
newManager() - Static method in interface io.baratine.service.Services
Creates a new Services manager for using Baratine embedded in another application.
newManager() - Method in class io.baratine.spi.ServiceManagerProvider
 
newMessage(X) - Static method in interface io.baratine.pipe.Message
Create an instance of a MessageBuilder using passed value as an encapsulated Message value.
newService(T) - Method in interface io.baratine.service.Services
Creates a new service programmatically.
newService(Class<T>) - Method in interface io.baratine.service.Services
 
newService(Class<T>, Supplier<? extends T>) - Method in interface io.baratine.service.Services
 
newView(String) - Static method in interface io.baratine.web.View
Creates a named instance of a ViewBuilder
next(T) - Method in interface io.baratine.pipe.Pipe
Supplies the next value.
next(T, WebSocket<S>) - Method in interface io.baratine.web.ServiceWebSocket
Called when new message arrives via WebSocket
next(T) - Method in interface io.baratine.web.WebSocket
 

O

Oauth - Annotation Type in io.baratine.web.oath
 
of(Class<T>) - Static method in interface io.baratine.inject.InjectionPoint
 
of(Key<T>) - Static method in interface io.baratine.inject.InjectionPoint
 
of(Method) - Static method in interface io.baratine.inject.InjectionPoint
 
of(Constructor<?>) - Static method in interface io.baratine.inject.InjectionPoint
 
of(Field) - Static method in interface io.baratine.inject.InjectionPoint
 
of(Parameter) - Static method in interface io.baratine.inject.InjectionPoint
 
of(Class<?>, Class<T>, Annotation[]) - Static method in interface io.baratine.inject.InjectionPoint
 
of(Key<T>, Type, String, Annotation[], Class<?>) - Static method in interface io.baratine.inject.InjectionPoint
 
of(Class<T>) - Static method in class io.baratine.inject.Key
Builds key from a Class
of(Type) - Static method in class io.baratine.inject.Key
Builds key from a Type
of(Type, Class<? extends Annotation>[]) - Static method in class io.baratine.inject.Key
Builds Key from Type and annotation types
of(Class<T>, Class<? extends Annotation>) - Static method in class io.baratine.inject.Key
Builds Key from Class and annotation type
of(Class<T>, Annotation) - Static method in class io.baratine.inject.Key
Builds Key from a Class and annotation
of(Method) - Static method in class io.baratine.inject.Key
Builds Key from method's generic return type and method's qualifying annotations.
of(Constructor) - Static method in class io.baratine.inject.Key
Builds Key from constructor's declaring class and constructor's qualifying annotations.
of(Field) - Static method in class io.baratine.inject.Key
Builds Key from field's generic type and field's qualifying annotations.
of(Parameter) - Static method in class io.baratine.inject.Key
Builds Key from parameter's parameterized type and and qualifying annotations found on the parameter and its declaring executable (e.g.
of(Pipe.PipeHandler<T>) - Static method in interface io.baratine.pipe.Pipe
Creates instance of a Pipe backed by a PipeHandler.
of(Result<Pipe<T>>) - Static method in interface io.baratine.pipe.PipePub
Creates an instance of PipePubBuilder with an instance of Result which will asynchronously receive initialized instance of a Pipe
of(Function<Pipe<T>, Credits.OnAvailable>) - Static method in interface io.baratine.pipe.PipePub
 
of(Pipe<T>) - Static method in interface io.baratine.pipe.PipeSub
Creates new instance of PipeSubBuilder which uses supplied pipe as a message consumer.
of(Consumer<T>) - Static method in interface io.baratine.pipe.PipeSub
Creates a new instance of PipeSubBuilder that will use a given consumer to consume messages
of(Pipe.PipeHandler<T>) - Static method in interface io.baratine.pipe.PipeSub
Builds a pipe using supplied PipeHandler implementation.
of(Consumer<T>, Consumer<Throwable>) - Static method in interface io.baratine.service.Result
Creates a Result as a pair of lambda consumers, one to process normal results, and one to handle exceptions.
of(Consumer<T>) - Static method in interface io.baratine.service.Result
 
of(int) - Static method in enum io.baratine.web.WebSocketClose.WebSocketCloses
 
offerTimeout(long, TimeUnit) - Method in interface io.baratine.pipe.Credits
Method offerTimeout configures how long the Pipe.next() will wait for queue to accept next message before throwing an IllegalStateException with no credits available message.
ok(Pipe<T>) - Method in interface io.baratine.pipe.PipePub
Calls method handle upon successful establishing of the pipe passing the pipe and null for exception as arguments to the handle method call.
ok(Void) - Method in interface io.baratine.pipe.PipeSub
Implementation for this method is empty and is only provided for fulfilling functional interface requirement of having only one abstract method.
ok(Consumer<Void>) - Method in interface io.baratine.pipe.PipeSub.PipeSubBuilder
Method ok configures a consumer for event signifying that pipe subscription had successfully completed.
ok(T) - Method in interface io.baratine.service.Result
Completes the Result with its value.
ok(T) - Method in interface io.baratine.service.ResultChain
 
ok(T) - Method in class io.baratine.service.ResultChain.WrapperChain
 
ok(T) - Method in class io.baratine.service.ResultFuture
 
ok() - Method in interface io.baratine.web.RequestWeb
Completes processing with empty result
ok(Object) - Method in interface io.baratine.web.RequestWeb
Completes processing with result specified in a value
ok(RequestWeb) - Method in interface io.baratine.web.RequestWeb.OutFilterWeb
Intercepts ok call to RequestWeb.
okShim(Object) - Method in interface io.baratine.service.Result
Returns a copied transfer object based on the value.
OnActive - Annotation Type in io.baratine.service
OnActive is a method annotation called as the last startup lifecycle method, after all replay methods have been called.
onAvailable(Credits.OnAvailable) - Method in interface io.baratine.pipe.Credits
Publisher callback when more credits may be available.
OnDelete - Annotation Type in io.baratine.service
@OnDelete marks a method as a delete callback for a checkpoint.
OnDestroy - Annotation Type in io.baratine.service
@OnDestroy annotated methods are used for the Baratine system to indicate that this service is getting shut down.
OnInit - Annotation Type in io.baratine.service
@OnInit marks a method used to inform the service implementer that the service is being initialized.
OnLoad - Annotation Type in io.baratine.service
Annotation @OnLoad is used to mark a method of the service responsible for loading its state from permanent storage.
OnLookup - Annotation Type in io.baratine.service
OnLookup is used to facilitate looking up child services.
onOk(Consumer<U>) - Method in interface io.baratine.service.Result.Builder
 
OnSave - Annotation Type in io.baratine.service
Annotation @OnSave is used to mark a method of the service responsible for saving service's state to a permanent storage.
open(WebSocket<S>) - Method in interface io.baratine.web.ServiceWebSocket
Called when WebSocket is established
Options - Annotation Type in io.baratine.web
Annotation Options makes service method accessible via HTTP for OPTIONS requests.
options(String) - Static method in interface io.baratine.web.Web
Configures a route corresponding to HTTP OPTIONS method
options(String) - Method in interface io.baratine.web.WebBuilder
Configures route builder for HTTP OPTIONS method at specified path
out(Credits.OnAvailable) - Static method in interface io.baratine.pipe.PipePub
 
output() - Method in interface io.baratine.web.RequestWeb
Obtains response output
outputStream() - Method in interface io.baratine.web.WebSocket
 
outstandingQueries() - Method in class io.baratine.jdbc.JdbcStat
Returns queries that are still executing.
outstandingQuery(QueryStat) - Method in class io.baratine.jdbc.JdbcStat
 

P

ParamInject - Annotation Type in io.baratine.inject
Parameter marker for functional bindings.
Part - Interface in io.baratine.web
Interface Part represents part in multipart/form-data request.
pass(String) - Method in class io.baratine.jdbc.JdbcConfig
 
pass() - Method in class io.baratine.jdbc.JdbcConfig
 
Patch - Annotation Type in io.baratine.web
Annotation Patch makes service method accessible via HTTP for PATCH requests.
patch(String) - Static method in interface io.baratine.web.Web
Configures a route corresponding to HTTP PATCH method
patch(String) - Method in interface io.baratine.web.WebBuilder
Configures route buidler for HTTP PATCH method at specified path
Path - Annotation Type in io.baratine.web
Depending on the use context annotation Path is used to bind URI to Service or bind service method parameter to a named URI part.
path(String) - Method in interface io.baratine.web.RequestWeb.CookieBuilder
Sets cookie's path attribute
path() - Method in interface io.baratine.web.RequestWeb
Returns the matching part of the URI.
path(String) - Method in interface io.baratine.web.RequestWeb
Returns value of parametrized URI path e.g.
path(String) - Static method in interface io.baratine.web.Web
Configures a 'catch all' route
path(String) - Method in interface io.baratine.web.WebBuilder
Configures generic RouteBuilder for a specified path
pathInfo() - Method in interface io.baratine.web.RequestWeb
 
pathMap() - Method in interface io.baratine.web.RequestWeb
Returns Map which path name parts and their corresponding values parsed from the URI.
peek(T) - Method in class io.baratine.service.ResultFuture
 
Pin - Annotation Type in io.baratine.service
@Pin marks a parameter as pinned to the calling service.
pin(Object) - Method in interface io.baratine.service.ServiceRef
Pin an object to the service, creating a dependent service using the inbox and thread of the parent service.
ping(String, WebSocket<S>) - Method in interface io.baratine.web.ServiceWebSocket
WebSocket ping
ping(String) - Method in interface io.baratine.web.WebSocket
 
Pipe<T> - Interface in io.baratine.pipe
Interface Pipe is a unidirectional queue between two services.
pipe() - Method in interface io.baratine.pipe.PipeSub
The subscriber's Pipe handler will be registered as the pipe consumer.
Pipe.PipeHandler<T> - Interface in io.baratine.pipe
Interface PipeHandler provides contract for pipe message handler.
PipeBroker<T> - Interface in io.baratine.pipe
The PipeBroker is a manager which connect message publishers with message subscribers or consumers.
PipeBrokerSync<T> - Interface in io.baratine.pipe
Interface PipeBrokerSync is a synchronous interface to PipeBroker
PipeIn - Annotation Type in io.baratine.pipe
Annotation PipeIn subscribes method to a pipe specified in annotation's value.
PipePub<T> - Interface in io.baratine.pipe
PipePub is used to obtain a source of a pipe.
PipePub.PipePubBuilder<T> - Interface in io.baratine.pipe
PipePubBuilder is a builder for PipeSub
PipeSub<T> - Interface in io.baratine.pipe
PipeSub defines a subscriber for incoming messages.
PipeSub.PipeSubBuilder<T> - Interface in io.baratine.pipe
PipeSubBuilder provides a builder for composing a subscriber by configuring available properties of the pipe.
pong(String, WebSocket<S>) - Method in interface io.baratine.web.ServiceWebSocket
 
pong(String) - Method in interface io.baratine.web.WebSocket
 
poolSize(int) - Method in class io.baratine.jdbc.JdbcConfig
 
poolSize() - Method in class io.baratine.jdbc.JdbcConfig
 
port() - Method in interface io.baratine.web.RequestWeb
Returns server port
port(int) - Static method in interface io.baratine.web.Web
Specifies http port (defaults to 8080)
port(int) - Method in interface io.baratine.web.WebServerBuilder
 
post(String) - Method in class io.baratine.web.IncludeWebBase
Returns RouteBuilder for specified path and 'POST' HTTP method.
Post - Annotation Type in io.baratine.web
Annotation Post makes service method accessible via HTTP for POST requests.
post(String) - Static method in interface io.baratine.web.Web
Configures a route corresponding to HTTP POST method
post(String) - Method in interface io.baratine.web.WebBuilder
Configures RouteBuilder for HTTP POST method at specified path
prefetch(int) - Method in interface io.baratine.pipe.PipePub
Sets prefetch size
prefetch(int) - Method in interface io.baratine.pipe.PipeSub.PipeSubBuilder
 
prefetch() - Method in interface io.baratine.pipe.PipeSub
The prefetch size.
PREFETCH_DEFAULT - Static variable in interface io.baratine.pipe.Pipe
 
PREFETCH_DISABLE - Static variable in interface io.baratine.pipe.Pipe
 
printStackTrace() - Method in exception io.baratine.service.ServiceExceptionClosed
 
priority() - Method in interface io.baratine.inject.Binding
 
priority(int) - Method in interface io.baratine.inject.Injector.BindingBuilder
 
Priority - Annotation Type in io.baratine.inject
Annotation Priority is used to determine order of matching bindings for Beans, ViewResolvers, ViewRenders, Converters
property(String, String) - Method in interface io.baratine.inject.Injector.InjectorBuilder
 
property(String) - Method in interface io.baratine.inject.Injector
Returns the config property.
property(String, String) - Static method in interface io.baratine.web.Web
Specifies configuration property.
property(String, String) - Method in interface io.baratine.web.WebServerBuilder
 
protocol() - Method in interface io.baratine.web.RequestWeb.SecureWeb
Returns protocol name.
provider() - Method in interface io.baratine.inject.Binding
 
provider(Injector, Key<T>) - Method in interface io.baratine.inject.Injector.InjectAutoBind
 
provider(Injector, InjectionPoint<T>) - Method in interface io.baratine.inject.Injector.InjectAutoBind
 
provider(Provider<T>) - Method in interface io.baratine.inject.Injector.InjectorBuilder
 
provider(Key<U>, Method) - Method in interface io.baratine.inject.Injector.InjectorBuilder
 
provider(Key<T>) - Method in interface io.baratine.inject.Injector
Returns an instance provider for the given Key, which combines a Type with @Qualifier annotations.
provider(InjectionPoint<T>) - Method in interface io.baratine.inject.Injector
Returns an instance provider for the given InjectionPoint.
Provider<T> - Interface in javax.inject
Factory to create instances of a bean.
publish(PipePub<T>) - Method in interface io.baratine.pipe.PipeBroker
Registers a message publisher.
publisher(Class<T>, Result<T>) - Method in interface io.baratine.event.Events
Registers an event publisher of a given class.
publisher(Class<T>) - Method in interface io.baratine.event.EventsSync
Registers publisher using a given api See Events#publisher(Class, Result) for documentation
publisherPath(String, Class<T>, Result<T>) - Method in interface io.baratine.event.Events
Registers an event publisher at a given path.
publisherPath(String, Class<T>) - Method in interface io.baratine.event.EventsSync
Registers publisher at path.
push(RequestWeb.OutFilterWeb) - Method in interface io.baratine.web.RequestWeb
Wraps response into an instance of a Filter for finer control on response data.
push() - Method in interface io.baratine.web.WebBuilder
 
Put - Annotation Type in io.baratine.web
Annotation Put makes service method accessible via HTTP for POST requests.
put(String) - Static method in interface io.baratine.web.Web
Configures a route corresponding to HTTP PUT method
put(String) - Method in interface io.baratine.web.WebBuilder
Configures RouteBuilder for HTTP PUT method at specified path

Q

Qualifier - Annotation Type in javax.inject
Custom binding annotations are marked with @Qualifier as a meta-annotation.
qualifiers() - Method in class io.baratine.inject.Key
Returns associated annotation types.
query(Result<JdbcRowSet>, String, Object...) - Method in interface io.baratine.jdbc.JdbcService
Executes the SQL with the given params and returns the offline ResultSet.
query(Result<T>, SqlFunction<T>) - Method in interface io.baratine.jdbc.JdbcService
Executes on the SQL function on the Connection.
query(Result<T>, SqlBiFunction<T>, Object...) - Method in interface io.baratine.jdbc.JdbcService
Executes on the SQL function on the Connection with parameters.
query(String, Object...) - Method in interface io.baratine.jdbc.JdbcServiceSync
 
query(SqlFunction<T>) - Method in interface io.baratine.jdbc.JdbcServiceSync
 
query(SqlBiFunction<T>, Object...) - Method in interface io.baratine.jdbc.JdbcServiceSync
 
query() - Method in class io.baratine.jdbc.QueryStat
 
Query - Annotation Type in io.baratine.web
Annotation Query maps service method parameter to a value in URI query.
query() - Method in interface io.baratine.web.RequestWeb
Returns query string
query(String) - Method in interface io.baratine.web.RequestWeb
Returns query parameter value for a specified query parameter name
queryMap() - Method in interface io.baratine.web.RequestWeb
Returns map of query parameter name to parameter values
QueryStat - Class in io.baratine.jdbc
 
QueryStat(String) - Constructor for class io.baratine.jdbc.QueryStat
 
Queue - Annotation Type in io.baratine.service
@Queue marks a Service that uses a single-threaded actor model where message-method calls are queued.

R

rawClass() - Method in class io.baratine.inject.Key
Returns raw class of associated type
read(byte[], int, int) - Method in interface io.baratine.io.Buffer.InputStreamConsumer
 
read(byte[], int, int) - Method in interface io.baratine.io.Buffer
 
read(ByteBuffer) - Method in interface io.baratine.io.Buffer
 
read(OutputStream) - Method in interface io.baratine.io.Buffer
 
recentFailed() - Method in class io.baratine.jdbc.JdbcStat
Returns recent failed queries.
recentFailed(QueryStat) - Method in class io.baratine.jdbc.JdbcStat
 
recentQueries() - Method in class io.baratine.jdbc.JdbcStat
Returns recent queries, including failed ones.
recentQuery(QueryStat) - Method in class io.baratine.jdbc.JdbcStat
 
redirect(String) - Method in interface io.baratine.web.RequestWeb
Sends an redirect i.e.
ref() - Method in interface io.baratine.service.ServiceRef.ServiceBuilder
Obtains an instance of ServiceRef for this service.
render(RequestWeb, T) - Method in interface io.baratine.web.ViewRender
Directly renders the value
render(RequestWeb, T) - Method in interface io.baratine.web.ViewResolver
Renders value into request object.
request() - Method in interface io.baratine.web.WebSocket
 
RequestWeb - Interface in io.baratine.web
Interface RequestWeb provides methods to access information in http request.
RequestWeb.CookieBuilder - Interface in io.baratine.web
Interface CookieBuilder provides methods to build a cookie.
RequestWeb.OutFilterWeb - Interface in io.baratine.web
Interface OutFilterWeb defines contract for response filters.
RequestWeb.SecureWeb - Interface in io.baratine.web
Interface SecureWeb provides access to secure protocol configuration of the connection established with the client.
Result<T> - Interface in io.baratine.service
Result is a continuation callback for async service calls with a primary result filled by * ok(value) oran exception return filled by fail(exception) Since Result is designed as a lambda @FunctionalInterface interface, clients can use simple lambda expressions to process the results.
Result.Builder<U> - Interface in io.baratine.service
 
Result.Fork<U,T> - Interface in io.baratine.service
 
Result.Wrapper<R,T> - Class in io.baratine.service
 
ResultChain<T> - Interface in io.baratine.service
ResultChainable is a base type for chainable results.
ResultChain.ForkChain<R,T,C extends ResultChain<T>> - Interface in io.baratine.service
 
ResultChain.WrapperChain<T,U,R extends ResultChain<U>> - Class in io.baratine.service
 
ResultFuture<T> - Class in io.baratine.service
Future for a blocking client call to a Result.
ResultFuture() - Constructor for class io.baratine.service.ResultFuture
 
rethrow() - Method in exception io.baratine.service.ServiceException
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceException
 
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionCancelled
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionClosed
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionConnect
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionExecution
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionFutureTimeout
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionIllegalArgument
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionIllegalState
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionMethodNotFound
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionNotAuthorized
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionNotFound
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionProtocol
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionQueryTimeout
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionQueueFull
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionSecurity
Rethrows an exception to record the full stack trace, both caller and callee.
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionTimeout
 
rethrow(String) - Method in exception io.baratine.service.ServiceExceptionUnavailable
Rethrows an exception to record the full stack trace, both caller and callee.
route(String) - Method in class io.baratine.web.IncludeWebBase
Returns RouteBuilder for specified path and HTTP method "UNKNOWN", which is a 'catch-all' method for methods other than explicitly defined methods.
route(HttpMethod, String) - Method in interface io.baratine.web.WebBuilder
Configures a route builder for a specified HTTP method and path.
runAfter(Consumer<? super Cancel>, long, TimeUnit, Result<? super Cancel>) - Method in interface io.baratine.timer.Timers
Run the task once after the given delay.
runAfter(Consumer<? super Cancel>, long, TimeUnit) - Method in interface io.baratine.timer.TimersSync
Run the task once after the given delay.
runAt(Consumer<? super Cancel>, long, Result<? super Cancel>) - Method in interface io.baratine.timer.Timers
Run the task at the given time.
runAt(Consumer<? super Cancel>, long) - Method in interface io.baratine.timer.TimersSync
Run the task at the given time.
runEvery(Consumer<? super Cancel>, long, TimeUnit, Result<? super Cancel>) - Method in interface io.baratine.timer.Timers
Run the task periodically after the given delay.
runEvery(Consumer<? super Cancel>, long, TimeUnit) - Method in interface io.baratine.timer.TimersSync
Run the task periodically after the given delay.

S

save(Result<Void>) - Method in interface io.baratine.service.ServiceRef
Request a save/flush.
scan(Package) - Static method in interface io.baratine.web.Web
Scans classes contained in the specified package for Services and Beans.
scan(Package) - Method in interface io.baratine.web.WebServerBuilder
 
scanAutoConf() - Static method in interface io.baratine.web.Web
Auto discovers all classes in packages named *.autoconf.* and enlists classes annotated with Include and @IncludeOnClass annotations for deployment.
scanAutoconf() - Method in interface io.baratine.web.WebServerBuilder
 
schedule(Consumer<? super Cancel>, LongUnaryOperator, Result<? super Cancel>) - Method in interface io.baratine.timer.Timers
Schedule a Runnable where scheduling is controlled by a scheduler.
schedule(Consumer<? super Cancel>, LongUnaryOperator) - Method in interface io.baratine.timer.TimersSync
Schedule a Runnable where scheduling is controlled by a scheduler.
scheme() - Method in interface io.baratine.web.RequestWeb
Returns protocol scheme (http vs.
scope(Class<? extends Annotation>) - Method in interface io.baratine.inject.Injector.BindingBuilder
 
Scope - Annotation Type in javax.inject
The @Scope meta-annotation for web beans
secure(boolean) - Method in interface io.baratine.web.RequestWeb.CookieBuilder
Makes cookie Secure
secure() - Method in interface io.baratine.web.RequestWeb
Returns SSL information for a request or null if request is not secure
send(T, Result<Void>) - Method in interface io.baratine.pipe.PipeBroker
Convenience method for sending messages without a dedicated publisher.
send(T) - Method in interface io.baratine.pipe.PipeBrokerSync
 
sequence() - Method in class io.baratine.vault.IdAsset
 
server() - Static method in interface io.baratine.web.WebServer
 
Service - Annotation Type in io.baratine.service
@Service marks a Service, which is an object with a single thread.
service(String) - Method in interface io.baratine.service.ServiceRef
Lookup a child service in the ServiceManager with a relative path.
service(String) - Method in interface io.baratine.service.Services
Looks up a service from a particular address.
service(Class<T>) - Method in interface io.baratine.service.Services
 
service(Class<T>, String) - Method in interface io.baratine.service.Services
 
service(Class<T>) - Method in interface io.baratine.service.Services.ServicesBuilder
Creates a ServiceBuilder from a specific Service class
service(Key<?>, Class<T>) - Method in interface io.baratine.service.Services.ServicesBuilder
Creates a ServiceBuilder from a specific Service class and binds it to the supplied Key
service(T) - Method in interface io.baratine.service.Services.ServicesBuilder
Creates a ServiceBuilder from a specific Type
service(Class<T>, Supplier<? extends T>) - Method in interface io.baratine.service.Services.ServicesBuilder
Creates a ServiceBuilder from a specific Service class and Service instance supplier.
service(String) - Method in interface io.baratine.web.RequestWeb
Returns ServiceRef instance for service at specified address
service(Class<X>) - Method in interface io.baratine.web.RequestWeb
Looks up service instance for specified type
service(Class<X>, String) - Method in interface io.baratine.web.RequestWeb
Looks up Asset instance for specified type and id
service(RequestWeb) - Method in interface io.baratine.web.ServiceWeb
service method invoked on the ServiceWeb implementation
service(Supplier<? extends T>) - Static method in interface io.baratine.web.Web
 
service(Class<?>) - Static method in interface io.baratine.web.Web
Registers class as a service.
service(Class<T>) - Method in interface io.baratine.web.WebBuilder
Configures a ServiceBuilder for a specified service class
service(Class<T>, Supplier<? extends T>) - Method in interface io.baratine.web.WebBuilder
Configures a ServiceBuilder for a specified service class and a service instance supplier
service(Key<?>, Class<?>) - Method in interface io.baratine.web.WebBuilder
Configures a ServiceBuilder for a specified Key (used in binding) and a service class.
ServiceException - Exception in io.baratine.service
General AMP exception.
ServiceException() - Constructor for exception io.baratine.service.ServiceException
 
ServiceException(String) - Constructor for exception io.baratine.service.ServiceException
 
ServiceException(Throwable) - Constructor for exception io.baratine.service.ServiceException
 
ServiceException(String, Throwable) - Constructor for exception io.baratine.service.ServiceException
 
ServiceExceptionCancelled - Exception in io.baratine.service
Exception for a result for an operation that was cancelled.
ServiceExceptionCancelled() - Constructor for exception io.baratine.service.ServiceExceptionCancelled
 
ServiceExceptionCancelled(String) - Constructor for exception io.baratine.service.ServiceExceptionCancelled
 
ServiceExceptionCancelled(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionCancelled
 
ServiceExceptionCancelled(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionCancelled
 
ServiceExceptionClosed - Exception in io.baratine.service
General AMP completion.
ServiceExceptionClosed() - Constructor for exception io.baratine.service.ServiceExceptionClosed
 
ServiceExceptionClosed(String) - Constructor for exception io.baratine.service.ServiceExceptionClosed
 
ServiceExceptionClosed(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionClosed
 
ServiceExceptionClosed(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionClosed
 
ServiceExceptionConnect - Exception in io.baratine.service
General AMP completion.
ServiceExceptionConnect() - Constructor for exception io.baratine.service.ServiceExceptionConnect
 
ServiceExceptionConnect(String) - Constructor for exception io.baratine.service.ServiceExceptionConnect
 
ServiceExceptionConnect(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionConnect
 
ServiceExceptionConnect(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionConnect
 
ServiceExceptionExecution - Exception in io.baratine.service
Wrapped execution exception.
ServiceExceptionExecution() - Constructor for exception io.baratine.service.ServiceExceptionExecution
 
ServiceExceptionExecution(String) - Constructor for exception io.baratine.service.ServiceExceptionExecution
 
ServiceExceptionExecution(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionExecution
 
ServiceExceptionExecution(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionExecution
 
ServiceExceptionFutureTimeout - Exception in io.baratine.service
The Amp operation timed out.
ServiceExceptionFutureTimeout() - Constructor for exception io.baratine.service.ServiceExceptionFutureTimeout
 
ServiceExceptionFutureTimeout(String) - Constructor for exception io.baratine.service.ServiceExceptionFutureTimeout
 
ServiceExceptionFutureTimeout(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionFutureTimeout
 
ServiceExceptionFutureTimeout(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionFutureTimeout
 
ServiceExceptionIllegalArgument - Exception in io.baratine.service
Exception when the target method arguments do not match the given arguments.
ServiceExceptionIllegalArgument() - Constructor for exception io.baratine.service.ServiceExceptionIllegalArgument
 
ServiceExceptionIllegalArgument(String) - Constructor for exception io.baratine.service.ServiceExceptionIllegalArgument
 
ServiceExceptionIllegalArgument(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionIllegalArgument
 
ServiceExceptionIllegalArgument(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionIllegalArgument
 
ServiceExceptionIllegalState - Exception in io.baratine.service
IllegalState, e.g.
ServiceExceptionIllegalState() - Constructor for exception io.baratine.service.ServiceExceptionIllegalState
 
ServiceExceptionIllegalState(String) - Constructor for exception io.baratine.service.ServiceExceptionIllegalState
 
ServiceExceptionIllegalState(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionIllegalState
 
ServiceExceptionIllegalState(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionIllegalState
 
ServiceExceptionMethodNotFound - Exception in io.baratine.service
Exception when the target method does not exist.
ServiceExceptionMethodNotFound() - Constructor for exception io.baratine.service.ServiceExceptionMethodNotFound
 
ServiceExceptionMethodNotFound(String) - Constructor for exception io.baratine.service.ServiceExceptionMethodNotFound
 
ServiceExceptionMethodNotFound(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionMethodNotFound
 
ServiceExceptionMethodNotFound(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionMethodNotFound
 
ServiceExceptionNotAuthorized - Exception in io.baratine.service
Exception for a general security failure.
ServiceExceptionNotAuthorized() - Constructor for exception io.baratine.service.ServiceExceptionNotAuthorized
 
ServiceExceptionNotAuthorized(String) - Constructor for exception io.baratine.service.ServiceExceptionNotAuthorized
 
ServiceExceptionNotAuthorized(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionNotAuthorized
 
ServiceExceptionNotAuthorized(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionNotAuthorized
 
ServiceExceptionNotFound - Exception in io.baratine.service
Exception when the target service does not exist.
ServiceExceptionNotFound() - Constructor for exception io.baratine.service.ServiceExceptionNotFound
 
ServiceExceptionNotFound(String) - Constructor for exception io.baratine.service.ServiceExceptionNotFound
 
ServiceExceptionNotFound(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionNotFound
 
ServiceExceptionNotFound(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionNotFound
 
ServiceExceptionProtocol - Exception in io.baratine.service
General AMP completion.
ServiceExceptionProtocol() - Constructor for exception io.baratine.service.ServiceExceptionProtocol
 
ServiceExceptionProtocol(String) - Constructor for exception io.baratine.service.ServiceExceptionProtocol
 
ServiceExceptionProtocol(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionProtocol
 
ServiceExceptionProtocol(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionProtocol
 
ServiceExceptionQueryTimeout - Exception in io.baratine.service
The Amp operation timed out.
ServiceExceptionQueryTimeout() - Constructor for exception io.baratine.service.ServiceExceptionQueryTimeout
 
ServiceExceptionQueryTimeout(String) - Constructor for exception io.baratine.service.ServiceExceptionQueryTimeout
 
ServiceExceptionQueryTimeout(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionQueryTimeout
 
ServiceExceptionQueryTimeout(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionQueryTimeout
 
ServiceExceptionQueueFull - Exception in io.baratine.service
Exception when the target service actor cannot recieve anymore messages due to a full mailbox.
ServiceExceptionQueueFull() - Constructor for exception io.baratine.service.ServiceExceptionQueueFull
 
ServiceExceptionQueueFull(String) - Constructor for exception io.baratine.service.ServiceExceptionQueueFull
 
ServiceExceptionQueueFull(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionQueueFull
 
ServiceExceptionQueueFull(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionQueueFull
 
ServiceExceptionSecurity - Exception in io.baratine.service
Exception for a general security failure.
ServiceExceptionSecurity() - Constructor for exception io.baratine.service.ServiceExceptionSecurity
 
ServiceExceptionSecurity(String) - Constructor for exception io.baratine.service.ServiceExceptionSecurity
 
ServiceExceptionSecurity(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionSecurity
 
ServiceExceptionSecurity(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionSecurity
 
ServiceExceptionTimeout - Exception in io.baratine.service
General AMP exception.
ServiceExceptionTimeout() - Constructor for exception io.baratine.service.ServiceExceptionTimeout
 
ServiceExceptionTimeout(String) - Constructor for exception io.baratine.service.ServiceExceptionTimeout
 
ServiceExceptionTimeout(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionTimeout
 
ServiceExceptionTimeout(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionTimeout
 
ServiceExceptionUnavailable - Exception in io.baratine.service
Exception when the target service does not exist.
ServiceExceptionUnavailable() - Constructor for exception io.baratine.service.ServiceExceptionUnavailable
 
ServiceExceptionUnavailable(String) - Constructor for exception io.baratine.service.ServiceExceptionUnavailable
 
ServiceExceptionUnavailable(Throwable) - Constructor for exception io.baratine.service.ServiceExceptionUnavailable
 
ServiceExceptionUnavailable(String, Throwable) - Constructor for exception io.baratine.service.ServiceExceptionUnavailable
 
ServiceInitializer - Interface in io.baratine.service
Initializer hook on service manager start.
ServiceManagerProvider - Class in io.baratine.spi
Provider for AMP services.
ServiceManagerProvider() - Constructor for class io.baratine.spi.ServiceManagerProvider
 
ServiceRef - Interface in io.baratine.service
ServiceRef allows a service to get to its service reference.
ServiceRef.ServiceBuilder - Interface in io.baratine.service
ServiceRef builder
services() - Method in interface io.baratine.service.ServiceRef
Get the manager associated with this service.
Services - Interface in io.baratine.service
Management for Baratine services.
services() - Method in interface io.baratine.web.RequestWeb
Returns Services (service manager) instance for web app serving this request
Services.ServicesBuilder - Interface in io.baratine.service
ServicesBuilder provides interface to building a service.
ServiceWeb - Interface in io.baratine.web
Interface ServiceWeb is used in three following ways a) define a before RequestWeb filter b) define an after RequestWeb filter c) define a RequestWeb processor
ServiceWebSocket<T,S> - Interface in io.baratine.web
Interface ServiceWebSocket should be implemented by Services that communicate with the client's via WebSocket.
Session - Annotation Type in io.baratine.service
Annotation Session specifies that an annotated service is a Session service, i.e.
session(String) - Method in interface io.baratine.web.RequestWeb
Returns ServiceRef handle of an associated session
session(Class<X>) - Method in interface io.baratine.web.RequestWeb
Instantiates session of specified and binds it to the request.
set(int, byte[], int, int) - Method in interface io.baratine.io.Buffer
 
set(int, Buffer, int, int) - Method in interface io.baratine.io.Buffer
 
set(long) - Method in interface io.baratine.pipe.Credits
Sets the new credit sequence when prefetch is disabled.
set(Object) - Method in interface io.baratine.web.View.ViewBuilder
Sets single value as view's main data object.
Singleton - Annotation Type in javax.inject
The @ApplicationScoped represents the servlet application scope
size() - Method in interface io.baratine.web.Part
Size of the part
sourceType() - Method in interface io.baratine.convert.ConvertFrom
Returns type of the source object
SqlBiFunction<R> - Interface in io.baratine.jdbc
Represents a function to apply to a connection and array of parameters using JdbcService#query(Result, SqlBiFunction, Object...) method.
SqlFunction<R> - Interface in io.baratine.jdbc
Represents a function to apply to a connection using JdbcService#query(Result, SqlFunction) method.
ssl() - Static method in interface io.baratine.web.Web
Obtains SslBuilder allowing specifying SSL options for the server
ssl() - Method in interface io.baratine.web.WebServerBuilder
 
start() - Method in interface io.baratine.service.ServiceRef.ServiceBuilder
Starts service if not already started, calls service method marked with @OnInit.
start() - Method in interface io.baratine.service.ServiceRef
Start the service if it's not already started.
start() - Method in interface io.baratine.service.Services.ServicesBuilder
Starts instance of Services (service manager)
start(String...) - Static method in interface io.baratine.web.Web
Creates an instance of a server and starts it, returning the instance.
start(String...) - Method in interface io.baratine.web.WebServerBuilder
 
startTimeMs() - Method in class io.baratine.jdbc.QueryStat
Returns the time this query starting executing.
startTimeMs(long) - Method in class io.baratine.jdbc.QueryStat
 
Startup - Annotation Type in io.baratine.service
Marks a service as a startup service.
stats(Result<JdbcStat>) - Method in interface io.baratine.jdbc.JdbcService
Returns the real-time statistics for this connection.
stats() - Method in interface io.baratine.jdbc.JdbcServiceSync
 
status(HttpStatus) - Method in interface io.baratine.web.RequestWeb
Sets response HTTP status
subscribe(PipeSub<T>) - Method in interface io.baratine.pipe.PipeBroker
Registers a message subscriber.
subscriber(String, T, Result<? super Cancel>) - Method in interface io.baratine.event.Events
Registers a subscriber at a given path.
subscriber(Class<T>, T, Result<? super Cancel>) - Method in interface io.baratine.event.Events
Registers a subscriber using a given api class.
subscriber(String, T) - Method in interface io.baratine.event.EventsSync
Registers subscriber for a given path See Events#subscriber(String, Object, Result) for documentation
subscriber(Class<T>, T) - Method in interface io.baratine.event.EventsSync
Registers subscribers using a given api See Events#subscriber(Class, Object, Result) for documentation
systemExecutor(Supplier<Executor>) - Method in interface io.baratine.service.Services.ServicesBuilder
Sets an executor factory for context-dependent integration.

T

targetType() - Method in interface io.baratine.convert.ConvertTo
Target type of this ConvertTo
testQueryAfter(String) - Method in class io.baratine.jdbc.JdbcConfig
 
testQueryAfter() - Method in class io.baratine.jdbc.JdbcConfig
 
testQueryBefore(String) - Method in class io.baratine.jdbc.JdbcConfig
 
testQueryBefore() - Method in class io.baratine.jdbc.JdbcConfig
 
then(BiConsumer<R, PipeSub<T>>) - Method in interface io.baratine.pipe.PipeSub
 
then(BiConsumer<R, Result<T>>) - Method in interface io.baratine.service.Result
Creates a chained result for calling an internal service from another service.
then() - Method in interface io.baratine.service.ResultChain
Creates a chained result.
then(Function<R, T>) - Method in interface io.baratine.service.ResultChain
Creates a composed result that will receive its completed value from a function.
then(C, Function<R, T>) - Static method in interface io.baratine.service.ResultChain
Creates a composed result that will receive its completed value from a function.
then(R, Function<T, U>, BiConsumer<Throwable, R>) - Static method in interface io.baratine.service.ResultChain
Creates a composed result that will receive its completed value from a function.
then(C, BiConsumer<R, C>) - Static method in interface io.baratine.service.ResultChain
Creates a chained result for calling an internal service from another service.
then(BiConsumer<U, RequestWeb>) - Method in interface io.baratine.web.RequestWeb
 
TIME_BITS - Static variable in class io.baratine.vault.IdAsset
 
Timeout - Annotation Type in io.baratine.service
@Timeout specifies timeout value for a method call.
Timers - Interface in io.baratine.timer
Timer service local to the JVM.
TimersSync - Interface in io.baratine.timer
Timer service local to the JVM.
to(Class<T>) - Method in interface io.baratine.convert.ConvertManager
 
to(Class<? super T>) - Method in interface io.baratine.inject.Injector.BindingBuilder
 
to(Key<? super T>) - Method in interface io.baratine.inject.Injector.BindingBuilder
 
to(ServiceWeb) - Method in interface io.baratine.web.WebBuilder.RouteBuilder
 
to(Class<? extends ServiceWeb>) - Method in interface io.baratine.web.WebBuilder.RouteBuilder
 
toDateTime(long) - Static method in class io.baratine.vault.IdAsset
 
toMillis(long) - Static method in class io.baratine.vault.IdAsset
 
toRef(Object) - Static method in interface io.baratine.service.ServiceRef
Returns the ServiceRef for a proxy.
toRef(Object) - Method in class io.baratine.spi.ServiceManagerProvider
Given a service actor proxy, return a service reference.
toSeconds(long) - Static method in class io.baratine.vault.IdAsset
 
toSequence(long) - Static method in class io.baratine.vault.IdAsset
 
toString() - Method in class io.baratine.inject.Key
 
toString() - Method in class io.baratine.jdbc.JdbcConfig
 
toString() - Method in class io.baratine.jdbc.JdbcRowSet
Builds String representation of JdbcRowSet as a list of lists of Map.Entry.
toString() - Method in class io.baratine.jdbc.JdbcStat
 
toString() - Method in class io.baratine.jdbc.QueryStat
 
toString() - Method in class io.baratine.service.ResultChain.WrapperChain
 
toString() - Method in class io.baratine.vault.IdAsset
 
totalFailedCount() - Method in class io.baratine.jdbc.JdbcStat
Returns number of failed queries.
totalFailedCount(long) - Method in class io.baratine.jdbc.JdbcStat
 
totalQueryCount() - Method in class io.baratine.jdbc.JdbcStat
Returns query count
totalQueryCount(long) - Method in class io.baratine.jdbc.JdbcStat
 
Trace - Annotation Type in io.baratine.web
Annotation Trace makes service method accessible via HTTP for TRACE requests.
trace(String) - Static method in interface io.baratine.web.Web
Configures a route corresponding to HTTP trace method
trace(String) - Method in interface io.baratine.web.WebBuilder
Configures RouteBuilder for HTTP TRACE method for specified path
TriConsumer<T,U,V> - Interface in io.baratine.function
 
type() - Method in interface io.baratine.inject.InjectionPoint
 
type() - Method in class io.baratine.inject.Key
Returns associated type
type(RequestWeb, String) - Method in interface io.baratine.web.RequestWeb.OutFilterWeb
Delegates to RequestWeb.type(String) method of the supplied in 'request' parameter instance of RequestWeb.
type(String) - Method in interface io.baratine.web.RequestWeb
Sets response 'Content-Type' response header

U

unwrap() - Method in exception io.baratine.service.ServiceException
 
upgrade(Object) - Method in interface io.baratine.web.RequestWeb
Upgrades protocol to a higher level protocol such as WebSocket.
uri() - Method in interface io.baratine.web.RequestWeb
Returns request URI
uriRaw() - Method in interface io.baratine.web.RequestWeb
Returns raw request URI
url(String) - Method in class io.baratine.jdbc.JdbcConfig
 
url() - Method in class io.baratine.jdbc.JdbcConfig
 
user(String) - Method in class io.baratine.jdbc.JdbcConfig
 
user() - Method in class io.baratine.jdbc.JdbcConfig
 

V

value() - Method in interface io.baratine.pipe.Message
Method value returns encapsulated message value.
valueOf(String) - Static method in interface io.baratine.service.ServiceRef
 
valueOf(String) - Static method in class io.baratine.vault.IdAsset
 
valueOf(String) - Static method in enum io.baratine.web.HttpMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.baratine.web.HttpStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.baratine.web.WebSocketClose.WebSocketCloses
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.baratine.web.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.baratine.web.HttpStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.baratine.web.WebSocketClose.WebSocketCloses
Returns an array containing the constants of this enum type, in the order they are declared.
Var - Annotation Type in io.baratine.config
Annotation Var marks a field for injecting value from configuration.
Vault<ID,T> - Interface in io.baratine.vault
Interface Vault provides a base interface that all vaults should implement.
version() - Method in interface io.baratine.web.RequestWeb
Returns protocol version HTTP/1.1, HTTP/1.0 or HTTP/2.0
View - Interface in io.baratine.web
Interface View along with ViewResolver provide support for custom rendering of content.
view(ViewRender<T>) - Static method in interface io.baratine.web.Web
Registers ViewRenderer that will be used to render objects for type <T> e.g.
view(Class<? extends ViewRender<T>>) - Static method in interface io.baratine.web.Web
Registers ViewRenderer that will be used to render objects for type <T> e.g.
view(ViewRender<T>) - Method in interface io.baratine.web.WebBuilder.OutBuilder
 
view(ViewRender<T>) - Method in interface io.baratine.web.WebBuilder
Adds an instance of a ViewRender to the list of available view renders.
view(Class<? extends ViewRender<T>>) - Method in interface io.baratine.web.WebBuilder
Adds a ViewRender to the list of available view renders.
view(ViewRender<T>) - Method in interface io.baratine.web.WebServerBuilder
 
view(Class<? extends ViewRender<T>>) - Method in interface io.baratine.web.WebServerBuilder
 
View.ViewBuilder - Interface in io.baratine.web
Interface ViewBuilder helps build a view by providing methods that set view's values.
ViewRender<T> - Interface in io.baratine.web
Interface ViewRender provides contract for custom renderers for values of specific type.
ViewResolver<T> - Interface in io.baratine.web
Interface ViewResolver provides support for custom response presentation

W

Web - Interface in io.baratine.web
Web provides static methods to build a web server in a main() class.
webBuilder() - Method in class io.baratine.spi.WebServerProvider
 
WebBuilder - Interface in io.baratine.web
Interface WebBuilder provides methods to assemble a basic set of services exposed via Web
WebBuilder.OutBuilder - Interface in io.baratine.web
 
WebBuilder.RouteBuilder - Interface in io.baratine.web
 
WebServer - Interface in io.baratine.web
 
WebServerBuilder - Interface in io.baratine.web
 
WebServerBuilder.SslBuilder - Interface in io.baratine.web
 
WebServerProvider - Class in io.baratine.spi
Provider for AMP services.
WebServerProvider() - Constructor for class io.baratine.spi.WebServerProvider
 
websocket(String) - Method in class io.baratine.web.IncludeWebBase
Returns RouteBuilder for specified path for WebSocket.
websocket(String) - Static method in interface io.baratine.web.Web
Configures WebSocket handler for specified path
websocket(String) - Method in interface io.baratine.web.WebBuilder
Configures WebSocketBuilder for a specified path
WebSocket<T> - Interface in io.baratine.web
WebSocket wraps end point of the web socket connection.
WebSocketClose - Interface in io.baratine.web
 
WebSocketClose.WebSocketCloses - Enum in io.baratine.web
 
WebSocketPath - Annotation Type in io.baratine.web
Annotation WebSocketPath binds a method capable of upgrading HTTP protocol to a WebSocket Protocol
workers(int) - Method in interface io.baratine.service.ServiceRef.ServiceBuilder
Configures executors pool for a service that uses @Workers model
Workers - Annotation Type in io.baratine.service
The number of services that can run at a single time in a pool.
wrap(Throwable) - Static method in exception io.baratine.service.ServiceExceptionExecution
 
Wrapper(ResultChain<T>) - Constructor for class io.baratine.service.Result.Wrapper
 
WrapperChain(R) - Constructor for class io.baratine.service.ResultChain.WrapperChain
 
write(byte[], int, int) - Method in interface io.baratine.io.Buffer
adds bytes from the buffer
write(InputStream) - Method in interface io.baratine.io.Buffer
adds bytes from the buffer from a consumer
write(RequestWeb, Buffer) - Method in interface io.baratine.web.RequestWeb.OutFilterWeb
Intercepts response's write method.
write(Buffer) - Method in interface io.baratine.web.RequestWeb
Writes contents of buffer into response
write(byte[], int, int) - Method in interface io.baratine.web.RequestWeb
Writes contents of buffer into response
write(String) - Method in interface io.baratine.web.RequestWeb
Writes string into response
write(char[], int, int) - Method in interface io.baratine.web.RequestWeb
Writes char buffer into response
write(Buffer) - Method in interface io.baratine.web.WebSocket
 
write(byte[], int, int) - Method in interface io.baratine.web.WebSocket
 
write(String) - Method in interface io.baratine.web.WebSocket
 
writePart(Buffer) - Method in interface io.baratine.web.WebSocket
 
writePart(byte[], int, int) - Method in interface io.baratine.web.WebSocket
 
writePart(String) - Method in interface io.baratine.web.WebSocket
 
writer() - Method in interface io.baratine.web.RequestWeb
Obtains response Writer
writer() - Method in interface io.baratine.web.WebSocket
 
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links