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

A

addCORSFilter(Environment) - Method in class net.leanix.dropkit.AppHelper
Enables cross-origin requests.
addJob(Class<? extends Job>, long) - Method in class net.leanix.dropkit.quartz.SimpleManagedJobScheduler
Add a job that is executed each n milliseconds.
AMQPConfiguration - Class in net.leanix.dropkit.amqp
Configuration.
AMQPConfiguration() - Constructor for class net.leanix.dropkit.amqp.AMQPConfiguration
 
AMQPHealthCheck - Class in net.leanix.dropkit.amqp
 
AMQPHealthCheck(ConnectionFactory) - Constructor for class net.leanix.dropkit.amqp.AMQPHealthCheck
 
ApiDocsAssetServlet - Class in net.leanix.dropkit.swagger
 
ApiDocsAssetServlet(String, String, String, Charset, String) - Constructor for class net.leanix.dropkit.swagger.ApiDocsAssetServlet
Creates a new AssetServlet that serves static assets loaded from resourceURL (typically a file: or jar: URL).
AppHelper - Class in net.leanix.dropkit
Application initialisation helper.
AppHelper() - Constructor for class net.leanix.dropkit.AppHelper
 
AppSwaggerSpecFilter - Class in net.leanix.dropkit.swagger
 
AppSwaggerSpecFilter() - Constructor for class net.leanix.dropkit.swagger.AppSwaggerSpecFilter
 
authenticate(String) - Method in class net.leanix.dropkit.oauth.OAuth2Authenticator
 

B

BasicResponse - Class in net.leanix.dropkit.responses
A generic entity container for api responses.
BasicResponse() - Constructor for class net.leanix.dropkit.responses.BasicResponse
 
BasicResponse(ConstraintViolationException) - Constructor for class net.leanix.dropkit.responses.BasicResponse
 
BasicResponse(BusinessLogicException) - Constructor for class net.leanix.dropkit.responses.BasicResponse
 
BusinessLogicException - Exception in net.leanix.dropkit
An exception to be throw when business logic is violated.
BusinessLogicException(String) - Constructor for exception net.leanix.dropkit.BusinessLogicException
 
BusinessLogicException(String, int) - Constructor for exception net.leanix.dropkit.BusinessLogicException
Uses this for json error message with a defined response status.
BusinessLogicException(String, Throwable) - Constructor for exception net.leanix.dropkit.BusinessLogicException
 
BusinessLogicException(String, String) - Constructor for exception net.leanix.dropkit.BusinessLogicException
 
BusinessLogicExceptionMapper - Class in net.leanix.dropkit
 
BusinessLogicExceptionMapper() - Constructor for class net.leanix.dropkit.BusinessLogicExceptionMapper
 

C

callUntilReturnIsNotNull(Callable<T>) - Method in class net.leanix.dropkit.util.TimeoutExecutor
 
check() - Method in class net.leanix.dropkit.amqp.AMQPHealthCheck
 
checkUntilConditionIsTrue(Callable<Boolean>) - Method in class net.leanix.dropkit.util.TimeoutExecutor
 
closeConnection() - Method in class net.leanix.dropkit.amqp.ConnectionHolder
 
ConfigurationAuthServer - Class in net.leanix.dropkit
This configuration is to be used by oAuth Server, i.e.
ConfigurationAuthServer() - Constructor for class net.leanix.dropkit.ConfigurationAuthServer
 
ConfigurationResourceServer - Class in net.leanix.dropkit
This configuration is to be used by microservices, which want to authenticate incoming requests, e.g.
ConfigurationResourceServer() - Constructor for class net.leanix.dropkit.ConfigurationResourceServer
 
ConnectionHolder - Class in net.leanix.dropkit.amqp
Holds and manages a connection to an AMQP server.
ConnectionHolder(ConnectionFactory) - Constructor for class net.leanix.dropkit.amqp.ConnectionHolder
 
consumerPresto(String) - Method in class net.leanix.dropkit.amqp.ConsumerRegistry
Gets the registered consumer with the given queue name; creates a new one if none is registered so far, together with a new channel, starts consuming from the queue name, and puts it into this registry.
ConsumerRegistry - Class in net.leanix.dropkit.amqp
 
ConsumerRegistry(ConnectionHolder, QueueConsumerFactory) - Constructor for class net.leanix.dropkit.amqp.ConsumerRegistry
 
CONTAINER_COLOR - Static variable in class net.leanix.dropkit.util.DeploymentUtil
 
createConsumer(String, Channel, ConsumerRegistry) - Method in interface net.leanix.dropkit.amqp.QueueConsumerFactory
 
createNewChannel() - Method in class net.leanix.dropkit.amqp.ConnectionHolder
 

D

data - Variable in class net.leanix.dropkit.responses.ListResponse
Deprecated.
 
data - Variable in class net.leanix.dropkit.responses.Response
Deprecated.
 
DateTimeDeserializer - Class in net.leanix.dropkit.api
This class can be used with the JsonDeserialize annotation.
DateTimeDeserializer() - Constructor for class net.leanix.dropkit.api.DateTimeDeserializer
 
DeliveryHandler - Interface in net.leanix.dropkit.amqp
Interface for class which transform mq bytes into an event.
DeploymentColor - Enum in net.leanix.dropkit.util
 
DeploymentUtil - Class in net.leanix.dropkit.util
Helper class to detect if current instance is active or not.
The logic to detect if instance is active or inactive is based on the configuration in etcd under key /vhosts/local-svc.leanix.net/deploy_current or /vhosts/local-eam.leanix.net/deploy_current.
DeploymentUtil() - Constructor for class net.leanix.dropkit.util.DeploymentUtil
 
deserialize(JsonParser, DeserializationContext) - Method in class net.leanix.dropkit.api.RawJsonDeserializer
 
destroy() - Method in class net.leanix.dropkit.util.ProcessWrapper
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class net.leanix.dropkit.swagger.ApiDocsAssetServlet
 

E

errors - Variable in class net.leanix.dropkit.responses.BasicResponse
 
ETCD_SERVER - Static variable in class net.leanix.dropkit.util.DeploymentUtil
 

F

findPath(String...) - Static method in class net.leanix.dropkit.util.SearchPathUtil
Convenient class to find the first existing resource.
fireNewLine(String) - Method in class net.leanix.dropkit.util.ProcessWrapper.StdXXXLineListener
Callback for new received line from stdout
fromObject(Object) - Static method in class net.leanix.dropkit.api.Payload
 
fromString(String) - Static method in class net.leanix.dropkit.api.Payload
 
fromString(String) - Static method in enum net.leanix.dropkit.util.DeploymentColor
 

G

getBytes(String...) - Static method in class net.leanix.dropkit.util.SearchPathUtil
Reads bytes from resource.
getColor() - Method in enum net.leanix.dropkit.util.DeploymentColor
 
getConnection() - Method in class net.leanix.dropkit.amqp.ConnectionHolder
 
getContainerColor() - Method in class net.leanix.dropkit.util.DeploymentUtil
 
getData() - Method in class net.leanix.dropkit.responses.ListResponse
Deprecated.
 
getData() - Method in class net.leanix.dropkit.responses.Response
Deprecated.
 
getError(String) - Method in class net.leanix.dropkit.responses.BasicResponse
 
getErrors() - Method in class net.leanix.dropkit.responses.BasicResponse
 
getExchange() - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
getExitValue() - Method in class net.leanix.dropkit.util.ProcessWrapper
 
getHost() - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
getHref() - Method in class net.leanix.dropkit.api.Link
 
getIndexFile() - Method in class net.leanix.dropkit.swagger.ApiDocsAssetServlet
 
getInstance() - Static method in class net.leanix.dropkit.quartz.SimpleManagedJobScheduler
 
getIntervalMillis() - Method in class net.leanix.dropkit.quartz.JobConfiguration
 
getKey(String) - Method in class net.leanix.dropkit.api.Payload
Getter.
getLastUsed() - Method in class net.leanix.dropkit.amqp.QueueConsumer
 
getLinks() - Method in interface net.leanix.dropkit.api.LinkProvider
 
getMessage() - Method in class net.leanix.dropkit.responses.BasicResponse
 
getOAuth2TokenConfig() - Method in class net.leanix.dropkit.ConfigurationAuthServer
Returns the necessary configuration to run oauth resource providers.
getOAuth2TokenConfig() - Method in class net.leanix.dropkit.ConfigurationResourceServer
Returns the necessary configuration to run oauth resource providers.
getPassword() - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
getPort() - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
getPrivateKeyPath() - Method in class net.leanix.dropkit.oauth.OAuth2AuthServerConfig
 
getPropertyName() - Method in exception net.leanix.dropkit.BusinessLogicException
 
getPublicKeyPath() - Method in class net.leanix.dropkit.oauth.OAuth2ResourceServerConfig
 
getQueue() - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
getQueueBase() - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
getQueueName() - Method in class net.leanix.dropkit.amqp.QueueConsumer
 
getQueueSuffix() - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
getRegisteredConsumerTag() - Method in class net.leanix.dropkit.amqp.QueueConsumer
 
getRel() - Method in class net.leanix.dropkit.api.Link
 
getResourceURL() - Method in class net.leanix.dropkit.swagger.ApiDocsAssetServlet
 
getScheduler() - Method in class net.leanix.dropkit.quartz.SimpleManagedJobScheduler
 
getSigningKey() - Method in class net.leanix.dropkit.oauth.OAuth2AuthServerConfig
 
getSigningKey() - Method in class net.leanix.dropkit.oauth.OAuth2ResourceServerConfig
 
getStatus() - Method in exception net.leanix.dropkit.BusinessLogicException
 
getStatus() - Method in class net.leanix.dropkit.responses.BasicResponse
 
getTotal() - Method in class net.leanix.dropkit.responses.BasicResponse
 
getType() - Method in class net.leanix.dropkit.responses.BasicResponse
 
getUriPath() - Method in class net.leanix.dropkit.swagger.ApiDocsAssetServlet
 
getUsername() - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 

H

handleCancel(String) - Method in class net.leanix.dropkit.amqp.QueueConsumer
 
handleCancelOk(String) - Method in class net.leanix.dropkit.amqp.QueueConsumer
 
handleConsumeOk(String) - Method in class net.leanix.dropkit.amqp.QueueConsumer
 
handleDelivery(BasicProperties, byte[]) - Method in interface net.leanix.dropkit.amqp.DeliveryHandler
Handles the raw event data from the queue.
handleDelivery(String, Envelope, AMQP.BasicProperties, byte[]) - Method in class net.leanix.dropkit.amqp.QueueConsumer
 
handleShutdownSignal(String, ShutdownSignalException) - Method in class net.leanix.dropkit.amqp.QueueConsumer
 

I

initialize(Bootstrap<? extends Configuration>) - Method in class net.leanix.dropkit.AppHelper
 
initializeISO8601(Bootstrap<? extends Configuration>) - Method in class net.leanix.dropkit.AppHelper
Inits the use of iso8501 time format.
InvalidEntityMapper - Class in net.leanix.dropkit
 
InvalidEntityMapper() - Constructor for class net.leanix.dropkit.InvalidEntityMapper
 
isInstanceCurrentlyActive() - Method in class net.leanix.dropkit.util.DeploymentUtil
 
isParamAllowed(Parameter, Operation, ApiDescription, Map<String, List<String>>, Map<String, String>, Map<String, List<String>>) - Method in class net.leanix.dropkit.swagger.AppSwaggerSpecFilter
 
isRunning() - Method in class net.leanix.dropkit.util.ProcessWrapper
 
isTempSystemFile(String) - Static method in class net.leanix.dropkit.util.SearchPathUtil
 

J

JobConfiguration - Class in net.leanix.dropkit.quartz
Used to specify the interval time in milliseconds or seconds.
JobConfiguration() - Constructor for class net.leanix.dropkit.quartz.JobConfiguration
 

L

Link - Class in net.leanix.dropkit.api
A hateoas link.
Link() - Constructor for class net.leanix.dropkit.api.Link
 
Link(String, URI) - Constructor for class net.leanix.dropkit.api.Link
 
LinkProvider - Interface in net.leanix.dropkit.api
An interface for a model which provides HATEOAS links.
listFiles(File, String) - Static method in class net.leanix.dropkit.util.SearchPathUtil
 
ListResponse<Serializable> - Class in net.leanix.dropkit.responses
Deprecated. 
ListResponse() - Constructor for class net.leanix.dropkit.responses.ListResponse
Deprecated.
 
ListResponse(List<Serializable>) - Constructor for class net.leanix.dropkit.responses.ListResponse
Deprecated.
 
loadProperties(String...) - Static method in class net.leanix.dropkit.util.SearchPathUtil
 
LxGuiceJobFactory - Class in net.leanix.dropkit.quartz
 
LxGuiceJobFactory(Injector) - Constructor for class net.leanix.dropkit.quartz.LxGuiceJobFactory
 

M

message - Variable in class net.leanix.dropkit.responses.BasicResponse
 

N

namesSpecificProperty() - Method in exception net.leanix.dropkit.BusinessLogicException
 
net.leanix.dropkit - package net.leanix.dropkit
 
net.leanix.dropkit.amqp - package net.leanix.dropkit.amqp
 
net.leanix.dropkit.api - package net.leanix.dropkit.api
 
net.leanix.dropkit.oauth - package net.leanix.dropkit.oauth
 
net.leanix.dropkit.quartz - package net.leanix.dropkit.quartz
 
net.leanix.dropkit.responses - package net.leanix.dropkit.responses
 
net.leanix.dropkit.swagger - package net.leanix.dropkit.swagger
 
net.leanix.dropkit.util - package net.leanix.dropkit.util
 
newJob(TriggerFiredBundle, Scheduler) - Method in class net.leanix.dropkit.quartz.LxGuiceJobFactory
 

O

oauth - Variable in class net.leanix.dropkit.ConfigurationAuthServer
 
oauth - Variable in class net.leanix.dropkit.ConfigurationResourceServer
 
OAuth2Authenticator - Class in net.leanix.dropkit.oauth
Authenticator used to protect resources.
OAuth2Authenticator(OAuth2TokenConfig) - Constructor for class net.leanix.dropkit.oauth.OAuth2Authenticator
Constructor.
OAuth2AuthServerConfig - Class in net.leanix.dropkit.oauth
 
OAuth2AuthServerConfig() - Constructor for class net.leanix.dropkit.oauth.OAuth2AuthServerConfig
 
OAuth2DynamicFeature - Class in net.leanix.dropkit.oauth
 
OAuth2DynamicFeature(OAuth2Authenticator, Environment) - Constructor for class net.leanix.dropkit.oauth.OAuth2DynamicFeature
 
OAuth2ResourceServerConfig - Class in net.leanix.dropkit.oauth
 
OAuth2ResourceServerConfig() - Constructor for class net.leanix.dropkit.oauth.OAuth2ResourceServerConfig
 
openStream(String...) - Static method in class net.leanix.dropkit.util.SearchPathUtil
Searches for resources in a) classpath or (prefix classpath:) b) the local file system (no prefix) When the first resource is found, an InputStream will be returned.

P

Payload - Class in net.leanix.dropkit.api
Represents a generic map-like payload class.
Payload() - Constructor for class net.leanix.dropkit.api.Payload
 
ProcessWrapper - Class in net.leanix.dropkit.util
 
ProcessWrapper(ProcessBuilder) - Constructor for class net.leanix.dropkit.util.ProcessWrapper
 
ProcessWrapper.StdXXXLineListener - Class in net.leanix.dropkit.util
 

Q

QUEUE_X_EXPIRY_MILLIS - Static variable in class net.leanix.dropkit.amqp.ConsumerRegistry
 
QueueConsumer - Class in net.leanix.dropkit.amqp
Designed to consume from a single queue (holds the result from basicConsume as registeredConsumerTag).
QueueConsumer(String, Channel, ConsumerRegistry) - Constructor for class net.leanix.dropkit.amqp.QueueConsumer
 
QueueConsumerFactory - Interface in net.leanix.dropkit.amqp
 
QueueProducer - Class in net.leanix.dropkit.amqp
Manages submission of messages to a RabbitMQ message queue and creation of consumers.
QueueProducer(ConnectionHolder, ConsumerRegistry) - Constructor for class net.leanix.dropkit.amqp.QueueProducer
 

R

RawJsonDeserializer - Class in net.leanix.dropkit.api
Keeps json value as json, does not try to deserialize it modified to include validation while the json intestines are accessible
RawJsonDeserializer() - Constructor for class net.leanix.dropkit.api.RawJsonDeserializer
 
registerExceptionMappers(Environment) - Method in class net.leanix.dropkit.AppHelper
Registers mappers for invalid-entity and business logic exception.
registerNewRelicReporter(Environment) - Method in class net.leanix.dropkit.AppHelper
Registers new relic reporter
removeOldConsumers(long) - Method in class net.leanix.dropkit.amqp.ConsumerRegistry
 
Response<T> - Class in net.leanix.dropkit.responses
Deprecated. 
Response() - Constructor for class net.leanix.dropkit.responses.Response
Deprecated.
 
Response(T) - Constructor for class net.leanix.dropkit.responses.Response
Deprecated.
Constructor for a result containing a single entity.
ResponseStatus - Enum in net.leanix.dropkit.responses
 
run(Configuration, Environment) - Method in class net.leanix.dropkit.AppHelper
To be included in App.run() method
runSwagger(Configuration, Environment) - Method in class net.leanix.dropkit.AppHelper
To be included in App.run() method for serving swagger.json and swagger UI.

S

SearchPathUtil - Class in net.leanix.dropkit.util
 
SearchPathUtil() - Constructor for class net.leanix.dropkit.util.SearchPathUtil
 
SELF - Variable in class net.leanix.dropkit.api.Link
 
setData(List<Serializable>) - Method in class net.leanix.dropkit.responses.ListResponse
Deprecated.
 
setData(T) - Method in class net.leanix.dropkit.responses.Response
Deprecated.
 
setErrors(List<ApiError>) - Method in class net.leanix.dropkit.responses.BasicResponse
 
setExchange(String) - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
setHost(String) - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
setHref(String) - Method in class net.leanix.dropkit.api.Link
 
setKey(String, Object) - Method in class net.leanix.dropkit.api.Payload
Setter.
setOAuth2TokenConfig(OAuth2AuthServerConfig) - Method in class net.leanix.dropkit.ConfigurationAuthServer
 
setOAuth2TokenConfig(OAuth2ResourceServerConfig) - Method in class net.leanix.dropkit.ConfigurationResourceServer
 
setPassword(String) - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
setPort(int) - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
setPrivateKeyPath(String) - Method in class net.leanix.dropkit.oauth.OAuth2AuthServerConfig
 
setPublicKeyPath(String) - Method in class net.leanix.dropkit.oauth.OAuth2ResourceServerConfig
 
setQueueBase(String) - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
setQueueSuffix(String) - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
setRegisteredConsumerTag(String) - Method in class net.leanix.dropkit.amqp.QueueConsumer
 
setRel(String) - Method in class net.leanix.dropkit.api.Link
 
setStatus(ResponseStatus) - Method in class net.leanix.dropkit.responses.BasicResponse
 
setTotal(Long) - Method in class net.leanix.dropkit.responses.BasicResponse
 
setType(String) - Method in class net.leanix.dropkit.responses.BasicResponse
 
setUnregistering() - Method in class net.leanix.dropkit.amqp.QueueConsumer
 
setUsername(String) - Method in class net.leanix.dropkit.amqp.AMQPConfiguration
 
simpleHandle(String) - Method in class net.leanix.dropkit.amqp.QueueConsumer
 
SimpleManagedJobScheduler - Class in net.leanix.dropkit.quartz
This is a analog implemenation to com.fiestacabin.dropwizard.quartz.ManagedScheduler used to setup time base running jobs.
SimpleManagedJobScheduler(Scheduler, LxGuiceJobFactory) - Constructor for class net.leanix.dropkit.quartz.SimpleManagedJobScheduler
 
start() - Method in class net.leanix.dropkit.quartz.SimpleManagedJobScheduler
 
start(ProcessWrapper.StdXXXLineListener) - Method in class net.leanix.dropkit.util.ProcessWrapper
Start the wrapped process now.
status - Variable in class net.leanix.dropkit.responses.BasicResponse
 
StdXXXLineListener() - Constructor for class net.leanix.dropkit.util.ProcessWrapper.StdXXXLineListener
 
stop() - Method in class net.leanix.dropkit.quartz.SimpleManagedJobScheduler
 
submit(String, String) - Method in class net.leanix.dropkit.amqp.QueueProducer
 

T

TimeoutExecutor - Class in net.leanix.dropkit.util
 
TimeoutExecutor(long, long) - Constructor for class net.leanix.dropkit.util.TimeoutExecutor
 
toMap() - Method in class net.leanix.dropkit.api.Payload
Returns the internal map.
toResponse(BusinessLogicException) - Method in class net.leanix.dropkit.BusinessLogicExceptionMapper
Builds a response.
toResponse(ConstraintViolationException) - Method in class net.leanix.dropkit.InvalidEntityMapper
 
toString() - Method in class net.leanix.dropkit.api.Payload
 
total - Variable in class net.leanix.dropkit.responses.BasicResponse
 
type - Variable in class net.leanix.dropkit.responses.BasicResponse
 

U

unregister(QueueConsumer) - Method in class net.leanix.dropkit.amqp.ConsumerRegistry
Unregisters the consumer and close its channel.

V

validate(JsonNode) - Method in class net.leanix.dropkit.api.RawJsonDeserializer
Validates the parsed json structure.
valueOf(String) - Static method in enum net.leanix.dropkit.responses.ResponseStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.leanix.dropkit.util.DeploymentColor
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.leanix.dropkit.responses.ResponseStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.leanix.dropkit.util.DeploymentColor
Returns an array containing the constants of this enum type, in the order they are declared.
VIRTUAL_HOST - Static variable in class net.leanix.dropkit.util.DeploymentUtil
 

W

waitFor() - Method in class net.leanix.dropkit.util.ProcessWrapper
Causes the current thread to wait, if necessary, until the process represented by this Process object has terminated.
waitUntilFinished(int, TimeUnit) - Method in class net.leanix.dropkit.util.ProcessWrapper
 
WebApplicationException - Exception in net.leanix.dropkit
Convenience class to avoid boilerplate code, allows sending an error message.
WebApplicationException() - Constructor for exception net.leanix.dropkit.WebApplicationException
 
withMessage(Response.Status, String) - Static method in exception net.leanix.dropkit.WebApplicationException
 
withPayload(Response.Status, Object) - Static method in exception net.leanix.dropkit.WebApplicationException
 
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2016 LeanIX GmbH. All rights reserved.