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 X 

A

abort() - Method in class org.b3log.latke.http.RequestContext
Aborts the remaining handlers.
AbstractCache - Class in org.b3log.latke.cache
Abstract cache.
AbstractCache() - Constructor for class org.b3log.latke.cache.AbstractCache
 
AbstractEventListener<T> - Class in org.b3log.latke.event
Abstract event listener (Observer).
AbstractEventListener() - Constructor for class org.b3log.latke.event.AbstractEventListener
 
AbstractEventQueue - Class in org.b3log.latke.event
Abstract event queue(Observable).
AbstractEventQueue() - Constructor for class org.b3log.latke.event.AbstractEventQueue
 
AbstractFreeMarkerRenderer - Class in org.b3log.latke.http.renderer
Abstract FreeMarker HTTP response renderer.
AbstractFreeMarkerRenderer() - Constructor for class org.b3log.latke.http.renderer.AbstractFreeMarkerRenderer
 
AbstractInjectionPoint - Class in org.b3log.latke.ioc
Abstract injection point.
AbstractInjectionPoint(Bean<?>, Annotated) - Constructor for class org.b3log.latke.ioc.AbstractInjectionPoint
Constructs a injection point with the specified arguments.
AbstractJdbcDatabaseSolution - Class in org.b3log.latke.repository.jdbc
Abstract JDBC database solution.
AbstractJdbcDatabaseSolution() - Constructor for class org.b3log.latke.repository.jdbc.AbstractJdbcDatabaseSolution
 
AbstractPlugin - Class in org.b3log.latke.plugin
Abstract plugin.
AbstractPlugin() - Constructor for class org.b3log.latke.plugin.AbstractPlugin
 
AbstractRepository - Class in org.b3log.latke.repository
Abstract repository.
AbstractRepository(String) - Constructor for class org.b3log.latke.repository.AbstractRepository
Constructs a repository with the specified name.
AbstractResponseRenderer - Class in org.b3log.latke.http.renderer
Abstract HTTP response renderer.
AbstractResponseRenderer() - Constructor for class org.b3log.latke.http.renderer.AbstractResponseRenderer
 
accumulate(String, Object) - Method in class org.json.JSONObject
Accumulate values under a key.
action(Event<T>) - Method in class org.b3log.latke.event.AbstractEventListener
Processes the specified event.
action(Event<ViewLoadEventData>) - Method in class org.b3log.latke.plugin.ViewLoadEventHandler
 
add() - Static method in class org.b3log.latke.http.Sessions
 
add(Bean<T>, T) - Method in class org.b3log.latke.ioc.SingletonContext
 
add(JSONObject) - Method in class org.b3log.latke.repository.AbstractRepository
 
add(JSONObject) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
add(JSONObject) - Method in class org.b3log.latke.repository.NoneRepository
 
add(JSONObject) - Method in interface org.b3log.latke.repository.Repository
Adds the specified json object.
addBean(Bean<?>) - Method in class org.b3log.latke.ioc.BeanManager
 
addContextHandlerMeta(ContextHandlerMeta) - Static method in class org.b3log.latke.http.handler.RouteHandler
Adds the specified context handler meta
addCookie(Cookie) - Method in class org.b3log.latke.http.Request
 
addCookie(String, String) - Method in class org.b3log.latke.http.Request
 
addCookie(Cookie) - Method in class org.b3log.latke.http.Response
 
addCookie(Cookie) - Method in class org.b3log.latke.http.WebSocketSession
 
addEventListener(AbstractEventListener<?>) - Method in class org.b3log.latke.plugin.AbstractPlugin
Adds the specified event listener.
addHandler(Handler) - Method in class org.b3log.latke.http.RequestContext
Adds the specified handler to handler chain.
addHeader(String, String) - Method in class org.b3log.latke.http.RequestContext
Adds a header specified by the given name and value to the response.
addHeader(String, String) - Method in class org.b3log.latke.http.Response
 
addRenders(AbstractResponseRenderer) - Method in class org.b3log.latke.http.handler.MatchResult
addRenders.
addRepository(Repository) - Static method in class org.b3log.latke.repository.Repositories
Adds the specified repository.
addSort(String, SortDirection) - Method in class org.b3log.latke.repository.Query
Adds sort for the specified property with the specified direction.
addType(PluginType) - Method in class org.b3log.latke.plugin.AbstractPlugin
Adds the specified type.
addTypeClassBinding(Type, Class<?>) - Method in class org.b3log.latke.ioc.Configurator
 
ADMIN_ROLE - Static variable in class org.b3log.latke.model.Role
Administrator role.
After - Annotation Type in org.b3log.latke.http.annotation
Indicates invoking process advices after an annotated method.
AfterHandleHandler - Class in org.b3log.latke.http.handler
After processing method (ContextHandler.handle(RequestContext) or method annotated RequestProcessing).
AfterHandleHandler() - Constructor for class org.b3log.latke.http.handler.AfterHandleHandler
 
afterRender(RequestContext) - Method in class org.b3log.latke.http.renderer.AbstractFreeMarkerRenderer
Invoked after render.
AMP - Static variable in class org.json.XML
The Character '&'.
and(Filter...) - Static method in enum org.b3log.latke.repository.CompositeFilterOperator
Builds an composite filter with 'AND' all the specified sub filters.
Annotated - Interface in org.b3log.latke.ioc.annotated
Represents a Java program element that can be annotated.
AnnotatedField<X> - Interface in org.b3log.latke.ioc.annotated
Represents a field of a Java class.
AnnotatedFieldImpl<T> - Class in org.b3log.latke.ioc.annotated
An annotated field.
AnnotatedFieldImpl(Field) - Constructor for class org.b3log.latke.ioc.annotated.AnnotatedFieldImpl
Constructs an annotated field with the specified field.
AnnotatedType<X> - Interface in org.b3log.latke.ioc.annotated
Represents a Java class or interface.
AnnotatedTypeImpl<T> - Class in org.b3log.latke.ioc.annotated
An annotated type.
AnnotatedTypeImpl(Class<T>) - Constructor for class org.b3log.latke.ioc.annotated.AnnotatedTypeImpl
Constructs an annotated type with the specified bean class.
AntPathMatcher - Class in org.b3log.latke.util
PathMatcher implementation for Ant-style path patterns.
AntPathMatcher() - Constructor for class org.b3log.latke.util.AntPathMatcher
 
APOS - Static variable in class org.json.XML
The Character '''.
append(String, Object) - Method in class org.json.JSONObject
Append values to the array under a key.
append(String) - Method in class org.json.JSONPointer.Builder
Adds an arbitrary token to the list of reference tokens.
append(int) - Method in class org.json.JSONPointer.Builder
Adds an integer to the reference token list.
array() - Method in class org.json.JSONWriter
Begin appending a new array.
arrayToSet(T[]) - Static method in class org.b3log.latke.util.CollectionUtils
Converts the specified array to a set.
ArrayUtils - Class in org.b3log.latke.util
Array utilities.
AtomRenderer - Class in org.b3log.latke.http.renderer
Atom HTTP response renderer.
AtomRenderer() - Constructor for class org.b3log.latke.http.renderer.AtomRenderer
Constructs a Atom HTTP response renderer.
attr(String) - Method in class org.b3log.latke.http.RequestContext
Gets an attribute specified by the given name from request.
attr(String, Object) - Method in class org.b3log.latke.http.RequestContext
Sets an attribute specified by the given name and value into request.

B

back() - Method in class org.json.JSONTokener
Back up one character.
BANG - Static variable in class org.json.XML
The Character '!'.
BaseServer - Class in org.b3log.latke.http
Http Server based on Netty 4.
BaseServer() - Constructor for class org.b3log.latke.http.BaseServer
 
Bean<T> - Class in org.b3log.latke.ioc
Latke bean implementation.
Bean(BeanManager, String, Class<T>, Set<Type>, Set<Class<? extends Annotation>>) - Constructor for class org.b3log.latke.ioc.Bean
Constructs a Latke bean.
BeanManager - Class in org.b3log.latke.ioc
Latke bean manager implementation.
Before - Annotation Type in org.b3log.latke.http.annotation
Indicates invoking process advices before an annotated method.
BeforeHandleHandler - Class in org.b3log.latke.http.handler
Before processing method (ContextHandler.handle(RequestContext) or method annotated RequestProcessing).
BeforeHandleHandler() - Constructor for class org.b3log.latke.http.handler.BeforeHandleHandler
 
beforeRender(RequestContext) - Method in class org.b3log.latke.http.renderer.AbstractFreeMarkerRenderer
Invoked before render.
beginTransaction() - Method in class org.b3log.latke.repository.AbstractRepository
 
beginTransaction() - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
beginTransaction() - Method in class org.b3log.latke.repository.NoneRepository
 
beginTransaction() - Method in interface org.b3log.latke.repository.Repository
Begins a transaction against the repository.
BinaryRenderer - Class in org.b3log.latke.http.renderer
Binary-like HTTP response renderer.
BinaryRenderer(String) - Constructor for class org.b3log.latke.http.renderer.BinaryRenderer
Constructs a binary-like HTTP response renderer with the specified content type.
Blob - Class in org.b3log.latke.repository
Blob.
Blob(byte[]) - Constructor for class org.b3log.latke.repository.Blob
Constructs a blob with the specified bytes.
BooleanMapping - Class in org.b3log.latke.repository.jdbc.mapping
Boolean data type mapping.
BooleanMapping() - Constructor for class org.b3log.latke.repository.jdbc.mapping.BooleanMapping
 
build() - Method in class org.json.JSONPointer.Builder
Creates a JSONPointer instance using the tokens previously set using the JSONPointer.Builder.append(String) method calls.
builder() - Static method in class org.json.JSONPointer
Static factory method for JSONPointer.Builder.
Builder() - Constructor for class org.json.JSONPointer.Builder
 

C

Cache - Interface in org.b3log.latke.cache
This is the top interface of cache like structures.
CACHE - Static variable in class org.b3log.latke.http.Sessions
 
CacheFactory - Class in org.b3log.latke.cache
Cache factory.
CaffeineCache - Class in org.b3log.latke.cache.caffeine
Caffeine cache.
CaffeineCache() - Constructor for class org.b3log.latke.cache.caffeine.CaffeineCache
 
Callstacks - Class in org.b3log.latke.util
Call stack utilities.
cause - Variable in class org.b3log.latke.http.WebSocketChannel.Error
 
CDL - Class in org.json
This provides static methods to convert comma delimited text into a JSONArray, and to convert a JSONArray into comma delimited text.
CDL() - Constructor for class org.json.CDL
 
changeStatus() - Method in class org.b3log.latke.plugin.AbstractPlugin
when the plugin change the status,it should note the pointcut lifecycle to know.
check(String, JSONObject, String...) - Static method in class org.b3log.latke.repository.Repositories
Determines whether the specified json object can not be persisted (add or update) into an repository which specified by the given repository name.
ClassPathResolver - Class in org.b3log.latke.ioc
Resolver for scanning the classpath.
clear() - Method in interface org.b3log.latke.cache.Cache
Clear all cached objects.
clear() - Static method in class org.b3log.latke.cache.CacheFactory
Clears all caches.
clear() - Method in class org.b3log.latke.cache.caffeine.CaffeineCache
 
clear() - Method in class org.b3log.latke.cache.NoneCache
 
clear() - Method in class org.b3log.latke.cache.redis.RedisCache
 
clearChanged() - Method in class org.b3log.latke.event.AbstractEventQueue
Indicates that this object has no longer changed, or that it has already notified all of its listeners of its most recent change, so that the hasChanged method will now return false.
close() - Method in class org.b3log.latke.http.WebSocketSession
 
close() - Static method in class org.b3log.latke.ioc.BeanManager
Ends the application.
CODE - Static variable in class org.b3log.latke.Keys
Key of code.
CollectionUtils - Class in org.b3log.latke.util
Collection utilities.
commit() - Method in class org.b3log.latke.repository.jdbc.JdbcTransaction
 
commit() - Method in interface org.b3log.latke.repository.Transaction
Commits this transaction.
CompositeFilter - Class in org.b3log.latke.repository
Composite filter that combines serval sub filters using a CompositeFilterOperator.
CompositeFilter(CompositeFilterOperator, List<Filter>) - Constructor for class org.b3log.latke.repository.CompositeFilter
Constructor with the specified parameters.
CompositeFilterOperator - Enum in org.b3log.latke.repository
Composite filter operator.
concatenate(T[], T[]...) - Static method in class org.b3log.latke.util.ArrayUtils
Concatenates the specified arrays.
Configurator - Class in org.b3log.latke.ioc
Bean configurator.
Configurator(BeanManager) - Constructor for class org.b3log.latke.ioc.Configurator
Constructs a configurator with the specified bean manager.
CONN - Static variable in class org.b3log.latke.repository.jdbc.JdbcRepository
The current JDBC connection.
Connections - Class in org.b3log.latke.cache.redis
Redis connection utilities.
Connections - Class in org.b3log.latke.repository.jdbc.util
JDBC connection utilities.
containField(Set<Field>, Field) - Static method in class org.b3log.latke.util.Reflections
 
containMethod(Set<Method>, Method) - Static method in class org.b3log.latke.util.Reflections
 
contains(String) - Method in interface org.b3log.latke.cache.Cache
Checks whether an object specified by the given key is in cache.
contains(String) - Method in class org.b3log.latke.cache.caffeine.CaffeineCache
 
contains(String) - Method in class org.b3log.latke.cache.NoneCache
 
contains(String) - Method in class org.b3log.latke.cache.redis.RedisCache
 
contains(String) - Static method in class org.b3log.latke.http.Sessions
 
contains(String, String[]) - Static method in class org.b3log.latke.util.Strings
Determines whether the specified strings contains the specified string.
containsIgnoreCase(String, String[]) - Static method in class org.b3log.latke.util.Strings
Determines whether the specified strings contains the specified string, ignoring case considerations.
CONTEXT_PATH - Static variable in class org.b3log.latke.Keys.Server
Key of context path.
ContextHandleHandler - Class in org.b3log.latke.http.handler
Invokes processing method (ContextHandler.handle(RequestContext) or method annotated RequestProcessing).
ContextHandleHandler() - Constructor for class org.b3log.latke.http.handler.ContextHandleHandler
 
ContextHandler - Interface in org.b3log.latke.http.function
Represents an request handler that accepts a context as the single input argument and returns no result.
ContextHandlerMeta - Class in org.b3log.latke.http.handler
Context handler metadata.
ContextHandlerMeta() - Constructor for class org.b3log.latke.http.handler.ContextHandlerMeta
 
Cookie - Class in org.b3log.latke.http
HTTP cookie.
Cookie(String, String) - Constructor for class org.b3log.latke.http.Cookie
 
Cookie(Cookie) - Constructor for class org.b3log.latke.http.Cookie
 
Cookie - Class in org.json
Convert a web browser cookie specification to a JSONObject and back.
Cookie() - Constructor for class org.json.Cookie
 
CookieList - Class in org.json
Convert a web browser cookie list string to a JSONObject and back.
CookieList() - Constructor for class org.json.CookieList
 
count() - Method in class org.b3log.latke.repository.AbstractRepository
 
count(Query) - Method in class org.b3log.latke.repository.AbstractRepository
 
count() - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
count(Query) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
count() - Method in class org.b3log.latke.repository.NoneRepository
 
count(Query) - Method in class org.b3log.latke.repository.NoneRepository
 
count() - Method in interface org.b3log.latke.repository.Repository
Gets the count of all json objects.
count(Query) - Method in interface org.b3log.latke.repository.Repository
Gets the count of json objects by the specified query.
countListeners() - Method in class org.b3log.latke.event.AbstractEventQueue
Returns the number of listeners of this Event queue object.
create() - Method in class org.b3log.latke.ioc.Bean
 
createBean(Class<T>) - Method in class org.b3log.latke.ioc.Configurator
 
createBeans(Collection<Class<?>>) - Method in class org.b3log.latke.ioc.Configurator
 
createTable(RepositoryDefinition) - Method in class org.b3log.latke.repository.jdbc.AbstractJdbcDatabaseSolution
 
createTable(RepositoryDefinition) - Method in interface org.b3log.latke.repository.jdbc.JdbcDatabase
Creates table with the specified repository definition.
createTable(RepositoryDefinition) - Method in class org.b3log.latke.repository.jdbc.JdbcFactory
 
createTableBody(StringBuilder, RepositoryDefinition) - Method in class org.b3log.latke.repository.jdbc.AbstractJdbcDatabaseSolution
abstract createTableBody for each DB to impl.
createTableEnd(StringBuilder, RepositoryDefinition) - Method in class org.b3log.latke.repository.jdbc.AbstractJdbcDatabaseSolution
abstract createTableEnd for each DB to impl.
createTableHead(StringBuilder, RepositoryDefinition) - Method in class org.b3log.latke.repository.jdbc.AbstractJdbcDatabaseSolution
abstract createTableHead for each DB to impl.
CreateTableResult(String, boolean) - Constructor for class org.b3log.latke.repository.jdbc.util.JdbcRepositories.CreateTableResult
constructor.
CRLF - Static variable in class org.json.HTTP
Carriage return/line feed.
Crypts - Class in org.b3log.latke.util
Cryptology utilities.
currentDatetime(DateFormat) - Static method in class org.b3log.latke.util.Dates
Gets current date time string with the specified date formatter.
currentPID() - Static method in class org.b3log.latke.Latkes
Gets the current process's id.

D

DATA - Static variable in class org.b3log.latke.Keys
Key of data.
DateMapping - Class in org.b3log.latke.repository.jdbc.mapping
Date type mapping.
DateMapping() - Constructor for class org.b3log.latke.repository.jdbc.mapping.DateMapping
 
Dates - Class in org.b3log.latke.util
Date utilities.
DBKeyGenerator - Class in org.b3log.latke.repository
A dummy key generator.
DBKeyGenerator() - Constructor for class org.b3log.latke.repository.DBKeyGenerator
 
debug(String) - Method in class org.b3log.latke.logging.Logger
Logs the specified message at the DEBUG level.
decode(String) - Static method in class org.b3log.latke.util.URLs
Decodes the specified string.
decryptByAES(String, String) - Static method in class org.b3log.latke.util.Crypts
Decrypts by AES.
DEFAULT_ROLE - Static variable in class org.b3log.latke.model.Role
Default role.
dehexchar(char) - Static method in class org.json.JSONTokener
Get the hex value of a character (base16).
delete(String, ContextHandler) - Static method in class org.b3log.latke.http.Dispatcher
HTTP DELETE routing.
delete(String, ContextHandler) - Method in class org.b3log.latke.http.Dispatcher.Router
 
delete(String[], ContextHandler) - Method in class org.b3log.latke.http.Dispatcher.Router
 
delete() - Method in class org.b3log.latke.http.Dispatcher.Router
 
deleteListeners() - Method in class org.b3log.latke.event.AbstractEventQueue
Clears the listener list so that this object no longer has any listeners..
destroy(T) - Method in class org.b3log.latke.ioc.Bean
 
destroy() - Method in class org.b3log.latke.ioc.SingletonContext
Destroys this context, clears all bean's references (instances).
discover(String) - Static method in class org.b3log.latke.ioc.Discoverer
Scans classpath to discover bean classes.
Discoverer - Class in org.b3log.latke.ioc
Bean discoverer.
Dispatcher - Class in org.b3log.latke.http
Dispatch-controller for HTTP request dispatching.
Dispatcher() - Constructor for class org.b3log.latke.http.Dispatcher
 
Dispatcher.Router - Class in org.b3log.latke.http
Programmatic router.
dispose() - Static method in class org.b3log.latke.repository.jdbc.JdbcRepository
Disposes the resources.
dispose() - Method in class org.b3log.latke.repository.jdbc.JdbcTransaction
Disposes this transaction.
doAdvice(RequestContext) - Method in class org.b3log.latke.http.advice.ProcessAdvice
Do advice.
doMatch(String, String) - Static method in class org.b3log.latke.http.handler.RouteHandler
Routes the request specified by the given request URI and HTTP method.
doMatch(String, String, boolean) - Static method in class org.b3log.latke.util.AntPathMatcher
Actually match the given path against the given pattern.
doRender(String, Request, Response) - Method in class org.b3log.latke.http.renderer.AbstractFreeMarkerRenderer
Processes the specified FreeMarker template with the specified request, data model and response.
doubleToString(double) - Static method in class org.json.JSONObject
Produce a string from a double.

E

EN_MONTHS - Static variable in class org.b3log.latke.util.Dates
English month.
encode(String) - Static method in class org.b3log.latke.util.URLs
Encodes the specified string.
encryptByAES(String, String) - Static method in class org.b3log.latke.util.Crypts
Encrypts by AES.
end() - Static method in class org.b3log.latke.util.Stopwatchs
Ends the timing of the recent task started by Stopwatchs.start(java.lang.String).
end() - Method in class org.json.JSONTokener
Checks if the end of the input has been reached.
endArray() - Method in class org.json.JSONWriter
End an array.
endObject() - Method in class org.json.JSONWriter
End an object.
endRequestHandler - Static variable in class org.b3log.latke.http.Dispatcher
End request handler, handle after all handlers.
entity - Static variable in class org.json.XMLTokener
The table of entity values.
entrySet() - Method in class org.json.JSONObject
Get a set of entries of the JSONObject.
EQ - Static variable in class org.json.XML
The Character '='.
equals(Object) - Method in class org.b3log.latke.plugin.AbstractPlugin
 
equals(Object) - Method in class org.b3log.latke.repository.CompositeFilter
 
equals(Object) - Method in class org.b3log.latke.repository.Projection
 
equals(Object) - Method in class org.b3log.latke.repository.PropertyFilter
 
equals(Object) - Method in class org.b3log.latke.repository.Query
 
error(String, ContextHandler) - Static method in class org.b3log.latke.http.Dispatcher
Error status routing.
error(String) - Method in class org.b3log.latke.logging.Logger
Logs the specified message at the ERROR level.
escape(String) - Static method in class org.json.Cookie
Produce a copy of a string in which the characters '+', '%', '=', ';' and control characters are replaced with "%hh".
escape(String) - Static method in class org.json.XML
Replace special characters with XML escapes:
Event<T> - Class in org.b3log.latke.event
Event.
Event(String, T) - Constructor for class org.b3log.latke.event.Event
Constructs a Event object with the specified type and data.
EventManager - Class in org.b3log.latke.event
Event manager.
EventManager() - Constructor for class org.b3log.latke.event.EventManager
 
EVENTS - Static variable in class org.b3log.latke.Keys
Key of event.
EXCLUDES - Static variable in class org.b3log.latke.Keys
Key of exclusion.
exec(String, long) - Static method in class org.b3log.latke.util.Execs
Executes the specified command with the specified timeout.
exec(String[], long) - Static method in class org.b3log.latke.util.Execs
Executes the specified commands with the specified timeout.
Execs - Class in org.b3log.latke.util
Command execution utilities.
executeSql(String, Connection, boolean) - Static method in class org.b3log.latke.repository.jdbc.util.JdbcUtil
Executes the specified SQL with the specified connection.
executeSql(String, List<Object>, Connection, boolean) - Static method in class org.b3log.latke.repository.jdbc.util.JdbcUtil
Executes the specified SQL with the specified params and connection...
EXECUTOR_SERVICE - Static variable in class org.b3log.latke.Latkes
Executor service.
existTable(String) - Method in interface org.b3log.latke.repository.jdbc.JdbcDatabase
Checks whether a table specified by the given table name exists.
existTable(String) - Method in class org.b3log.latke.repository.jdbc.JdbcFactory
 
existTable(String) - Static method in class org.b3log.latke.repository.jdbc.util.JdbcRepositories
Checks whether a table specified by the given table name exists.
EXPIRE_SECONDS - Static variable in class org.b3log.latke.cache.AbstractCache
Fixed expire seconds after put, 6 hours.
extractPathWithinPattern(String, String) - Method in class org.b3log.latke.util.AntPathMatcher
Given a pattern and a full path, determine the pattern-mapped part.

F

FieldDefinition - Class in org.b3log.latke.repository.jdbc.util
FieldDefinition of each Filed in *.json.
FieldDefinition() - Constructor for class org.b3log.latke.repository.jdbc.util.FieldDefinition
 
FieldInjectionPoint - Class in org.b3log.latke.ioc
Field injection point.
FieldInjectionPoint(Bean<?>, AnnotatedField<?>) - Constructor for class org.b3log.latke.ioc.FieldInjectionPoint
Constructs a field injection point.
FileUpload - Class in org.b3log.latke.http
HTTP File upload.
FileUpload() - Constructor for class org.b3log.latke.http.FileUpload
 
fillRuntime(Map<String, Object>) - Static method in class org.b3log.latke.Keys
Fills the runtime info into the specified data model.
fillServer(Map<String, Object>) - Static method in class org.b3log.latke.Keys
Fills the server info into the specified data model.
Filter - Interface in org.b3log.latke.repository
Filter.
FilterOperator - Enum in org.b3log.latke.repository
Filter operator.
fireEventAsynchronously(Event<?>) - Method in class org.b3log.latke.event.EventManager
Fire the specified event asynchronously.
fireEventSynchronously(Event<?>) - Method in class org.b3log.latke.event.EventManager
Fire the specified event synchronously.
format(String) - Static method in class org.b3log.latke.util.XMLs
Returns pretty print of the specified xml string.
FREEMARKER_ACTION - Static variable in class org.b3log.latke.Keys
Key of FreeMarker render.
fromOracleClobEmpty(JSONObject) - Static method in class org.b3log.latke.repository.jdbc.util.JdbcUtil
Process Oracle CLOB empty string.

G

gen() - Method in class org.b3log.latke.repository.DBKeyGenerator
 
gen() - Method in interface org.b3log.latke.repository.KeyGenerator
Generates a key.
gen() - Method in class org.b3log.latke.repository.TimeMillisKeyGenerator
 
genHTML(Request, Map<String, Object>, Template) - Method in class org.b3log.latke.http.renderer.AbstractFreeMarkerRenderer
Processes the specified FreeMarker template with the specified request, data model.
genIntegers(int, int) - Static method in class org.b3log.latke.util.CollectionUtils
Generates a list of integers from the specified start(inclusion) to the specified end(inclusion).
genTimeMillisId() - Static method in class org.b3log.latke.util.Ids
Gets current date time string.
get(String) - Method in interface org.b3log.latke.cache.Cache
Gets a object by the specified key.
get(String) - Method in class org.b3log.latke.cache.caffeine.CaffeineCache
 
get(String) - Method in class org.b3log.latke.cache.NoneCache
 
get(String) - Method in class org.b3log.latke.cache.redis.RedisCache
 
get(String, ContextHandler) - Static method in class org.b3log.latke.http.Dispatcher
HTTP GET routing.
get(String, ContextHandler) - Method in class org.b3log.latke.http.Dispatcher.Router
 
get(String[], ContextHandler) - Method in class org.b3log.latke.http.Dispatcher.Router
 
get() - Method in class org.b3log.latke.http.Dispatcher.Router
 
get(String) - Static method in class org.b3log.latke.http.Sessions
 
get(Bean<T>) - Method in class org.b3log.latke.ioc.SingletonContext
 
get(String) - Method in class org.b3log.latke.repository.AbstractRepository
 
get(Iterable<String>) - Method in class org.b3log.latke.repository.AbstractRepository
 
get(Query) - Method in class org.b3log.latke.repository.AbstractRepository
 
get(String) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
get(Iterable<String>) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
get(Query) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
get(String) - Method in class org.b3log.latke.repository.NoneRepository
 
get(Iterable<String>) - Method in class org.b3log.latke.repository.NoneRepository
 
get(Query) - Method in class org.b3log.latke.repository.NoneRepository
 
get(String) - Method in interface org.b3log.latke.repository.Repository
Gets a json object by the specified id.
get(Iterable<String>) - Method in interface org.b3log.latke.repository.Repository
Gets json objects by the specified ids.
get(Query) - Method in interface org.b3log.latke.repository.Repository
Gets json objects by the specified query.
get(String) - Method in class org.b3log.latke.service.LangPropsService
Gets a value from the current locale specified language properties file with the specified key.
get(String, Locale) - Method in class org.b3log.latke.service.LangPropsService
Gets a value with the specified key and locale.
get(int) - Method in class org.json.JSONArray
Get the object value associated with an index.
get(String) - Method in class org.json.JSONObject
Get the value object associated with a key.
getActiveConnectionCount() - Static method in class org.b3log.latke.repository.jdbc.util.Connections
Gets the active connection count.
getAfterRequestProcessAdvices() - Method in class org.b3log.latke.http.handler.ContextHandlerMeta
Get the after request process advices.
getAll(Locale) - Method in class org.b3log.latke.service.LangPropsService
Gets all language properties as a map by the specified locale.
getAnnotated() - Method in class org.b3log.latke.ioc.AbstractInjectionPoint
 
getAnnotated() - Method in class org.b3log.latke.ioc.FieldInjectionPoint
 
getAnnotated() - Method in interface org.b3log.latke.ioc.InjectionPoint
Obtain an instance of AnnotatedField.
getAttribute(String) - Method in class org.b3log.latke.http.Request
 
getAttribute(String) - Method in class org.b3log.latke.http.Session
 
getAuthor() - Method in class org.b3log.latke.plugin.AbstractPlugin
Gets the author of this plugin.
getBaseType() - Method in interface org.b3log.latke.ioc.annotated.Annotated
Get the type of the annotated program element.
getBaseType() - Method in class org.b3log.latke.ioc.annotated.AnnotatedFieldImpl
 
getBaseType() - Method in class org.b3log.latke.ioc.annotated.AnnotatedTypeImpl
 
getBean() - Method in class org.b3log.latke.ioc.AbstractInjectionPoint
 
getBean(Class<T>) - Method in class org.b3log.latke.ioc.BeanManager
 
getBean() - Method in interface org.b3log.latke.ioc.InjectionPoint
Get the Bean object representing the bean that defines the injection point.
getBeanClass() - Method in class org.b3log.latke.ioc.Bean
 
getBeans(Class<? extends Annotation>) - Method in class org.b3log.latke.ioc.BeanManager
 
getBeanTypes(Class<T>) - Static method in class org.b3log.latke.util.Reflections
 
getBeforeRequestProcessAdvices() - Method in class org.b3log.latke.http.handler.ContextHandlerMeta
Get the before request process advices.
getBigDecimal(int) - Method in class org.json.JSONArray
Get the BigDecimal value associated with an index.
getBigDecimal(String) - Method in class org.json.JSONObject
Get the BigDecimal value associated with a key.
getBigInteger(int) - Method in class org.json.JSONArray
Get the BigInteger value associated with an index.
getBigInteger(String) - Method in class org.json.JSONObject
Get the BigInteger value associated with a key.
getBoolean(int) - Method in class org.json.JSONArray
Get the boolean value associated with an index.
getBoolean(String) - Method in class org.json.JSONObject
Get the boolean value associated with a key.
getBytes() - Method in class org.b3log.latke.repository.Blob
Gets bytes.
getCache(String) - Static method in class org.b3log.latke.cache.CacheFactory
Gets a cache specified by the given cache name.
getCharset() - Method in class org.b3log.latke.repository.jdbc.util.RepositoryDefinition
Gets the charset.
getClassLoaders() - Method in class org.b3log.latke.plugin.PluginManager
Gets the plugin class loaders.
getCollate() - Method in class org.b3log.latke.repository.jdbc.util.RepositoryDefinition
Gets the collate.
getConfigurator() - Method in class org.b3log.latke.ioc.BeanManager
 
getConnection() - Method in class org.b3log.latke.repository.jdbc.JdbcTransaction
Gets the underlying connection of this transaction.
getConnection() - Static method in class org.b3log.latke.repository.jdbc.util.Connections
Gets a connection.
getContent() - Method in class org.b3log.latke.http.Request
 
getContent() - Method in class org.b3log.latke.http.Response
 
getContentStr() - Method in class org.b3log.latke.http.Response
 
getContentType() - Method in class org.b3log.latke.http.FileUpload
 
getContentType() - Method in class org.b3log.latke.http.Request
 
getContentType() - Method in class org.b3log.latke.http.Response
 
getContextHandlerMeta() - Method in class org.b3log.latke.http.handler.MatchResult
Gets the context handler meta.
getContextPath() - Static method in class org.b3log.latke.Latkes
Gets context path.
getCookies() - Method in class org.b3log.latke.http.Request
 
getCookies() - Method in class org.b3log.latke.http.Response
 
getCookies() - Method in class org.b3log.latke.http.WebSocketSession
 
getCountry(String) - Static method in class org.b3log.latke.util.Locales
Gets country from the specified locale string.
getCurrentPageNum() - Method in class org.b3log.latke.repository.Query
Gets the current page number.
getData() - Method in class org.b3log.latke.event.Event
Gets the data of this event.
getData() - Method in class org.b3log.latke.http.FileUpload
 
getDataModel() - Method in class org.b3log.latke.http.renderer.AbstractFreeMarkerRenderer
Gets the data model.
getDataModel() - Method in class org.b3log.latke.http.RequestContext
Gets the data model of renderer bound with this context.
getDataModel() - Method in class org.b3log.latke.plugin.ViewLoadEventData
Gets the data model.
getDayEndTime(long) - Static method in class org.b3log.latke.util.Times
Gets the day end time with the specified time.
getDayStartTime(long) - Static method in class org.b3log.latke.util.Times
Gets the day start time with the specified time.
getDefaultKeyName() - Static method in class org.b3log.latke.repository.jdbc.util.JdbcRepositories
Gets the default key name.
getDescription() - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
Gets the description.
getDescription() - Method in class org.b3log.latke.repository.jdbc.util.RepositoryDefinition
Gets the description.
getDirName() - Method in class org.b3log.latke.plugin.AbstractPlugin
Gets the directory name of this plugin.
getDisplayName() - Method in class org.b3log.latke.util.TimeZones.TimeZoneWithDisplayNames
 
getDouble(int) - Method in class org.json.JSONArray
Get the double value associated with an index.
getDouble(String) - Method in class org.json.JSONObject
Get the double value associated with a key.
getElapsed(String) - Static method in class org.b3log.latke.util.Stopwatchs
Gets elapsed time from the specified parent stopwatch with the specified task title.
getEnum(Class<E>, int) - Method in class org.json.JSONArray
Get the enum value associated with an index.
getEnum(Class<E>, String) - Method in class org.json.JSONObject
Get the enum value associated with a key.
getEventType() - Method in class org.b3log.latke.event.AbstractEventListener
Gets the event type of this listener could handle.
getEventType() - Method in class org.b3log.latke.plugin.ViewLoadEventHandler
 
getFields() - Method in class org.b3log.latke.ioc.annotated.AnnotatedFieldImpl
 
getFields() - Method in interface org.b3log.latke.ioc.annotated.AnnotatedType
Get the fields of the type.
getFields() - Method in class org.b3log.latke.ioc.annotated.AnnotatedTypeImpl
 
getFile(String) - Static method in class org.b3log.latke.Latkes
Gets a file with the specified path.
getFilename() - Method in class org.b3log.latke.http.FileUpload
 
getFileUpload(String) - Method in class org.b3log.latke.http.Request
 
getFileUploads(String) - Method in class org.b3log.latke.http.Request
 
getFilter() - Method in class org.b3log.latke.repository.Query
Gets the filter.
getFirst(Query) - Method in interface org.b3log.latke.repository.Repository
Gets the first result json object by the specified query.
getFloat(int) - Method in class org.json.JSONArray
Get the float value associated with a key.
getFloat(String) - Method in class org.json.JSONObject
Get the float value associated with a key.
getHandler() - Method in class org.b3log.latke.http.handler.ContextHandlerMeta
Gets the context handler.
getHeader(String) - Method in class org.b3log.latke.http.Request
 
getHeader(String) - Method in class org.b3log.latke.http.Response
 
getHeaderNames() - Method in class org.b3log.latke.http.Request
 
getHeaderNames() - Method in class org.b3log.latke.http.Response
 
getHiddenFields(Class<?>) - Static method in class org.b3log.latke.util.Reflections
 
getHideField(Field, Class<?>) - Static method in class org.b3log.latke.util.Reflections
 
getHttpMethods() - Method in class org.b3log.latke.http.handler.ContextHandlerMeta
Get the HTTP methods.
getHttpSession() - Method in class org.b3log.latke.http.WebSocketSession
 
getId() - Method in class org.b3log.latke.http.Session
 
getId() - Method in class org.b3log.latke.http.WebSocketSession
 
getId() - Method in class org.b3log.latke.plugin.AbstractPlugin
Gets the id.
getId() - Method in interface org.b3log.latke.repository.Transaction
Gets the id of this transaction.
getInheritedFields(Class<?>) - Static method in class org.b3log.latke.util.Reflections
 
getInheritedMethods(Class<?>) - Static method in class org.b3log.latke.util.Reflections
 
getInjectableReference(InjectionPoint) - Method in class org.b3log.latke.ioc.BeanManager
 
getInstance() - Static method in class org.b3log.latke.ioc.BeanManager
 
getInstance() - Static method in class org.b3log.latke.repository.jdbc.JdbcFactory
Gets the singleton instance of JdbcFactory.
getInstance() - Static method in class org.b3log.latke.util.TimeZones
 
getInt(int) - Method in class org.json.JSONArray
Get the int value associated with an index.
getInt(String) - Method in class org.json.JSONObject
Get the int value associated with a key.
getInvokeHolder() - Method in class org.b3log.latke.http.handler.ContextHandlerMeta
Gets the invoke holder.
getIsKey() - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
getIsKey.
getJavaMember() - Method in interface org.b3log.latke.ioc.annotated.AnnotatedField
Get the underlying Field.
getJavaMember() - Method in class org.b3log.latke.ioc.annotated.AnnotatedFieldImpl
 
getJdbcTypeMapping() - Method in class org.b3log.latke.repository.jdbc.AbstractJdbcDatabaseSolution
 
getJedis() - Static method in class org.b3log.latke.cache.redis.Connections
Gets a jedis.
getJSON() - Method in class org.b3log.latke.http.Request
 
getJSONArray(int) - Method in class org.json.JSONArray
Get the JSONArray associated with an index.
getJSONArray(String) - Method in class org.json.JSONObject
Get the JSONArray value associated with a key.
getJsonObject() - Method in exception org.b3log.latke.http.advice.RequestProcessAdviceException
 
getJSONObject() - Method in class org.b3log.latke.http.renderer.JsonRenderer
Gets the json object to render.
getJSONObject(int) - Method in class org.json.JSONArray
Get the JSONObject associated with an index.
getJSONObject(String) - Method in class org.json.JSONObject
Get the JSONObject value associated with a key.
getKey() - Method in class org.b3log.latke.repository.Projection
Gets the key.
getKey() - Method in class org.b3log.latke.repository.PropertyFilter
Gets the key.
getKeys(String) - Static method in class org.b3log.latke.repository.jdbc.util.JdbcRepositories
Gets keys of the repository specified by the given repository name.
getKeys() - Method in class org.b3log.latke.repository.jdbc.util.RepositoryDefinition
Gets the keys.
getLang(Locale, String) - Method in class org.b3log.latke.plugin.AbstractPlugin
Gets language label with the specified locale and key.
getLanguage(String) - Static method in class org.b3log.latke.util.Locales
Gets language from the specified locale string.
getLatkeProperty(String) - Static method in class org.b3log.latke.Latkes
Gets a property specified by the given key from file "latke.properties".
getLength() - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
getLength.
getList(Query) - Method in interface org.b3log.latke.repository.Repository
Get json objects by the specified query.
getLocale() - Static method in class org.b3log.latke.Latkes
Gets the locale.
getLocale(Request) - Static method in class org.b3log.latke.util.Locales
Gets locale with the specified request.
getLocale() - Static method in class org.b3log.latke.util.Locales
Gets locale.
getLocale(String) - Static method in class org.b3log.latke.util.Locales
Gest a Locale with the specified locale string.
getLocalProperty(String) - Static method in class org.b3log.latke.Latkes
Gets a property specified by the given key from file "local.properties".
getLog(Request) - Static method in class org.b3log.latke.util.Requests
Gets log of the specified request.
getLogger(String) - Static method in class org.b3log.latke.logging.Logger
Gets a logger with the specified class name.
getLogger(Class<?>) - Static method in class org.b3log.latke.logging.Logger
Gets a logger with the specified class.
getLong(int) - Method in class org.json.JSONArray
Get the long value associated with an index.
getLong(String) - Method in class org.json.JSONObject
Get the long value associated with a key.
getMatch(Set<Field>, Field) - Static method in class org.b3log.latke.util.Reflections
 
getMatch(Set<Method>, Method, boolean) - Static method in class org.b3log.latke.util.Reflections
 
getMatchedUriTemplate() - Method in class org.b3log.latke.http.handler.MatchResult
Gets the matched URI template.
getMaxConnectionCount() - Static method in class org.b3log.latke.repository.jdbc.util.Connections
Gets the max connection count.
getMethod() - Method in class org.b3log.latke.http.Request
 
getMethodVariableNames(Class<?>, String, Class<?>[]) - Static method in class org.b3log.latke.util.Reflections
Get method variable names of the specified class, target method name and parameter types.
getMonthEndTime(long) - Static method in class org.b3log.latke.util.Times
Gets the month end time with the specified time.
getMonthStartTime(long) - Static method in class org.b3log.latke.util.Times
Gets the month start time with the specified time.
getName() - Method in class org.b3log.latke.cache.AbstractCache
 
getName() - Method in interface org.b3log.latke.cache.Cache
Gets the name of this cache.
getName() - Method in class org.b3log.latke.http.Cookie
 
getName() - Method in class org.b3log.latke.http.FileUpload
 
getName() - Method in class org.b3log.latke.ioc.Bean
 
getName() - Method in class org.b3log.latke.plugin.AbstractPlugin
Gets the name of this plugin.
getName() - Method in class org.b3log.latke.repository.AbstractRepository
 
getName() - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
Gets the name of this repository.
getName() - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
getName.
getName() - Method in class org.b3log.latke.repository.jdbc.util.JdbcRepositories.CreateTableResult
 
getName() - Method in class org.b3log.latke.repository.jdbc.util.RepositoryDefinition
Gets the name.
getName() - Method in class org.b3log.latke.repository.NoneRepository
 
getName() - Method in interface org.b3log.latke.repository.Repository
Gets the name of this repository.
getNames(JSONObject) - Static method in class org.json.JSONObject
Get an array of field names from a JSONObject.
getNames(Object) - Static method in class org.json.JSONObject
Get an array of public field names from an Object.
getNullable() - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
getNullable.
getNumber(int) - Method in class org.json.JSONArray
Get the Number value associated with a key.
getNumber(String) - Method in class org.json.JSONObject
Get the Number value associated with a key.
getOperatingSystemName() - Static method in class org.b3log.latke.Latkes
Gets operating system name.
getOperator() - Method in class org.b3log.latke.repository.CompositeFilter
Gets the operator.
getOperator() - Method in class org.b3log.latke.repository.PropertyFilter
Gets the operator.
getOverriddenMethods(Class<?>) - Static method in class org.b3log.latke.util.Reflections
 
getOverrideMethod(Method, Class<?>) - Static method in class org.b3log.latke.util.Reflections
 
getOwnFields(Class<?>) - Static method in class org.b3log.latke.util.Reflections
 
getOwnMethods(Class<?>) - Static method in class org.b3log.latke.util.Reflections
 
getPage(RequestContext) - Static method in class org.b3log.latke.util.Paginator
Gets the current page number from the query string "p" of the specified context.
getPage(Request) - Static method in class org.b3log.latke.util.Paginator
Gets the current page number from the query string "p" of the specified request.
getPageCount() - Method in class org.b3log.latke.repository.Query
Gets the page count.
getPageSize() - Method in class org.b3log.latke.repository.Query
Sets the page size.
getParameter(String) - Method in class org.b3log.latke.http.Request
 
getParameter(String) - Method in class org.b3log.latke.http.WebSocketSession
 
getParameterNames() - Method in class org.b3log.latke.http.Request
 
getPath() - Method in class org.b3log.latke.http.Cookie
 
getPathVars() - Method in class org.b3log.latke.http.handler.MatchResult
Get path vars.
getPlugins() - Method in class org.b3log.latke.plugin.PluginManager
Gets all plugins.
getPlugins(String) - Method in class org.b3log.latke.plugin.PluginManager
Gets a plugin by the specified view name.
getPresision() - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
Gets the precision.
getProjections() - Method in class org.b3log.latke.repository.Query
Get the SELECT projections.
getPublicIP() - Static method in class org.b3log.latke.Latkes
Gets public IP.
getQueryString() - Method in class org.b3log.latke.http.Request
 
getRandomIntegers(int, int, int) - Static method in class org.b3log.latke.util.CollectionUtils
Gets a list of integers(size specified by the given size) between the specified start(inclusion) and end(inclusion) randomly.
getRandomly(int) - Method in class org.b3log.latke.repository.AbstractRepository
 
getRandomly(int) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
getRandomly(int) - Method in class org.b3log.latke.repository.NoneRepository
 
getRandomly(int) - Method in interface org.b3log.latke.repository.Repository
Gets a list of json objects randomly with the specified fetch size.
getRandomlySql(String, int) - Method in interface org.b3log.latke.repository.jdbc.JdbcDatabase
getRandomlySql.
getRandomlySql(String, int) - Method in class org.b3log.latke.repository.jdbc.JdbcFactory
 
getReference(Bean<T>) - Method in class org.b3log.latke.ioc.BeanManager
 
getReference(Class<T>) - Method in class org.b3log.latke.ioc.BeanManager
 
getRemoteAddr() - Method in class org.b3log.latke.http.Request
 
getRemoteAddr(Request) - Static method in class org.b3log.latke.util.Requests
Gets the Internet Protocol (IP) address of the end-client that sent the specified request.
getRenderDataModel() - Method in class org.b3log.latke.http.renderer.AbstractFreeMarkerRenderer
 
getRenderDataModel() - Method in class org.b3log.latke.http.renderer.AbstractResponseRenderer
Gets the data model.
getRenderer() - Method in class org.b3log.latke.http.RequestContext
Gets the renderer.
getRendererId() - Method in class org.b3log.latke.plugin.AbstractPlugin
getRendererId.
getRendererList() - Method in class org.b3log.latke.http.handler.MatchResult
getRendererList.
getReposirotiesWritable() - Static method in class org.b3log.latke.repository.Repositories
Whether all repositories is writable.
getRepositoriesDescription() - Static method in class org.b3log.latke.repository.Repositories
Gets repositories description.
getRepository(String) - Static method in class org.b3log.latke.repository.Repositories
Gets a repository with the specified repository name.
getRepositoryDef(String) - Static method in class org.b3log.latke.repository.Repositories
Gets the repository definition of an repository specified by the given repository name.
getRepositoryDefinitions() - Static method in class org.b3log.latke.repository.jdbc.util.JdbcRepositories
Gets the repository definitions,lazy load.
getRepositoryKeysDef(String) - Static method in class org.b3log.latke.repository.Repositories
Gets the keys definition of an repository specified by the given repository name.
getRepositoryNames() - Static method in class org.b3log.latke.repository.Repositories
Gets repository names.
getRequest() - Method in class org.b3log.latke.http.RequestContext
Gets the request.
getRequestURI() - Method in class org.b3log.latke.http.Request
 
getResources(String) - Static method in class org.b3log.latke.ioc.ClassPathResolver
Gets all URLs (resources) under the pattern.
getResponse() - Method in class org.b3log.latke.http.RequestContext
Gets the response.
getRuntimeCache() - Static method in class org.b3log.latke.Latkes
Gets the runtime cache.
getRuntimeDatabase() - Static method in class org.b3log.latke.Latkes
Gets the runtime database.
getRuntimeMode() - Static method in class org.b3log.latke.Latkes
Gets the runtime mode.
getScanPath() - Static method in class org.b3log.latke.Latkes
Gets IoC scan path.
getScheme() - Method in class org.b3log.latke.http.Request
 
getServePath() - Static method in class org.b3log.latke.Latkes
Gets serve path.
getServer() - Static method in class org.b3log.latke.Latkes
Gets server.
getServerHost() - Static method in class org.b3log.latke.Latkes
Gets server host.
getServerName() - Method in class org.b3log.latke.http.Request
 
getServerName(Request) - Static method in class org.b3log.latke.util.Requests
Gets the server name of the end-client that sent the specified request.
getServerPort() - Method in class org.b3log.latke.http.Request
 
getServerPort() - Static method in class org.b3log.latke.Latkes
Gets server port.
getServerScheme() - Static method in class org.b3log.latke.Latkes
Gets server scheme.
getServerScheme(Request) - Static method in class org.b3log.latke.util.Requests
Gets the scheme of the end-client that sent the specified request.
getSession() - Method in class org.b3log.latke.http.Request
 
getSetting() - Method in class org.b3log.latke.plugin.AbstractPlugin
getSetting.
getSkinName(String) - Static method in class org.b3log.latke.Latkes
Gets the skin name for the specified skin directory name.
getSorts() - Method in class org.b3log.latke.repository.Query
Gets the sorts.
getStandardDisplayName() - Method in class org.b3log.latke.util.TimeZones.TimeZoneWithDisplayNames
 
getStaticPath() - Static method in class org.b3log.latke.Latkes
Gets static path.
getStaticResourceVersion() - Static method in class org.b3log.latke.Latkes
Gets static resource (JS, CSS files) version.
getStaticServePath() - Static method in class org.b3log.latke.Latkes
Gets static serve path.
getStaticServer() - Static method in class org.b3log.latke.Latkes
Gets static server.
getStaticServerHost() - Static method in class org.b3log.latke.Latkes
Gets static server host.
getStaticServerPort() - Static method in class org.b3log.latke.Latkes
Gets static server port.
getStaticServerScheme() - Static method in class org.b3log.latke.Latkes
Gets static server scheme.
getStatus() - Method in class org.b3log.latke.plugin.AbstractPlugin
Gets the status of this plugin.
getStereotypes() - Method in class org.b3log.latke.ioc.Bean
 
getStereotypes(Class<?>) - Static method in class org.b3log.latke.util.Reflections
Gets stereo types of the specified class.
getString(int) - Method in class org.json.JSONArray
Get the string associated with an index.
getString(String) - Method in class org.json.JSONObject
Get the string associated with a key.
getSubFilters() - Method in class org.b3log.latke.repository.CompositeFilter
Gets the sub filters.
getTemplate() - Method in class org.b3log.latke.http.renderer.AbstractFreeMarkerRenderer
Gets a template.
getTemplateName() - Method in class org.b3log.latke.http.renderer.AbstractFreeMarkerRenderer
Gets the template name.
getTimeAgo(long, Locale) - Static method in class org.b3log.latke.util.Times
Gets time ago format text.
getTimeZone() - Method in class org.b3log.latke.util.TimeZones.TimeZoneWithDisplayNames
 
getTimeZones() - Method in class org.b3log.latke.util.TimeZones
 
getTimingStat() - Static method in class org.b3log.latke.util.Stopwatchs
Gets the current timing statistics.
getTotalConnectionCount() - Static method in class org.b3log.latke.repository.jdbc.util.Connections
Gets the total connection count.
getType() - Method in class org.b3log.latke.event.Event
Gets the type of this event.
getType() - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
getType.
getTypes() - Method in class org.b3log.latke.ioc.Bean
 
getTypes() - Method in class org.b3log.latke.plugin.AbstractPlugin
Gets the types of this plugin.
getUnderlyingRepository() - Method in class org.b3log.latke.repository.AbstractRepository
Gets the underlying repository.
getUriTemplates() - Method in class org.b3log.latke.http.handler.ContextHandlerMeta
Get the URI templates.
getValue() - Method in class org.b3log.latke.http.Cookie
 
getValue() - Method in class org.b3log.latke.repository.PropertyFilter
Gets the value.
getVersion() - Method in class org.b3log.latke.plugin.AbstractPlugin
Gets the version of this plugin.
getViewName() - Method in class org.b3log.latke.plugin.ViewLoadEventData
Gets the name of the template file.
getWeekDay(long) - Static method in class org.b3log.latke.util.Times
Gets the week day with the specified time.
getWeekEndTime(long) - Static method in class org.b3log.latke.util.Times
Gets the week end time with the specified time.
getWeekStartTime(long) - Static method in class org.b3log.latke.util.Times
Gets the week start time with the specified time.
GT - Static variable in class org.json.XML
The Character '>'.

H

handle(Request, Response) - Static method in class org.b3log.latke.http.Dispatcher
Handle flow.
handle(RequestContext) - Method in interface org.b3log.latke.http.function.ContextHandler
Performs request handling with the specified context.
handle(RequestContext) - Method in class org.b3log.latke.http.handler.AfterHandleHandler
 
handle(RequestContext) - Method in class org.b3log.latke.http.handler.BeforeHandleHandler
 
handle(RequestContext) - Method in class org.b3log.latke.http.handler.ContextHandleHandler
 
handle(RequestContext) - Method in interface org.b3log.latke.http.handler.Handler
Handle.
handle(RequestContext) - Method in class org.b3log.latke.http.handler.RouteHandler
 
handle(RequestContext) - Method in class org.b3log.latke.http.handler.StaticResourceHandler
 
handle() - Method in class org.b3log.latke.http.RequestContext
Handles this context with handlers.
handler(ContextHandler) - Method in class org.b3log.latke.http.Dispatcher.Router
 
Handler - Interface in org.b3log.latke.http.handler
A handler interface for Dispatcher to do the inner process.
HANDLERS - Static variable in class org.b3log.latke.http.Dispatcher
Handlers.
has(String) - Method in class org.b3log.latke.repository.AbstractRepository
 
has(String) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
has(String) - Method in class org.b3log.latke.repository.NoneRepository
 
has(String) - Method in interface org.b3log.latke.repository.Repository
Determines a json object specified by the given id exists in this repository.
has(String) - Method in class org.json.JSONObject
Determine if the JSONObject contains a specific key.
hasChanged() - Method in class org.b3log.latke.event.AbstractEventQueue
Tests if this object has changed.
hasExpression(Template, String) - Static method in class org.b3log.latke.util.Templates
Determines whether exists a variable specified by the given expression in the specified template.
hashCode() - Method in class org.b3log.latke.plugin.AbstractPlugin
 
hashCode() - Method in class org.b3log.latke.repository.CompositeFilter
 
hashCode() - Method in class org.b3log.latke.repository.Projection
 
hashCode() - Method in class org.b3log.latke.repository.PropertyFilter
 
hashCode() - Method in class org.b3log.latke.repository.Query
 
hasLocale(Locale) - Static method in class org.b3log.latke.util.Locales
Determines whether the server has the specified locale configuration or not.
hasSameParameterTypes(Method, Method) - Static method in class org.b3log.latke.util.Reflections
 
hasTransactionBegun() - Method in class org.b3log.latke.repository.AbstractRepository
 
hasTransactionBegun() - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
hasTransactionBegun() - Method in class org.b3log.latke.repository.NoneRepository
 
hasTransactionBegun() - Method in interface org.b3log.latke.repository.Repository
Whether the repository within a transaction.
head() - Method in class org.b3log.latke.http.Dispatcher.Router
 
header(String) - Method in class org.b3log.latke.http.RequestContext
Gets the value of a header specified by the given name
HTTP - Class in org.json
Convert an HTTP header to a JSONObject and back.
HTTP() - Constructor for class org.json.HTTP
 
Http404Renderer - Class in org.b3log.latke.http.renderer
HTTP 404 status renderer.
Http404Renderer() - Constructor for class org.b3log.latke.http.renderer.Http404Renderer
 
Http500Renderer - Class in org.b3log.latke.http.renderer
HTTP 500 status renderer.
Http500Renderer(Exception) - Constructor for class org.b3log.latke.http.renderer.Http500Renderer
Constructor.
HttpMethod - Enum in org.b3log.latke.http
Enumerations of HTTP request methods.
HTTPTokener - Class in org.json
The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.
HTTPTokener(String) - Constructor for class org.json.HTTPTokener
Construct an HTTPTokener from a string.

I

Ids - Class in org.b3log.latke.util
Id utilities.
increment(String) - Method in class org.json.JSONObject
Increment a property of a JSONObject.
info(String) - Method in class org.b3log.latke.logging.Logger
Logs the specified message at the INFO level.
init() - Static method in class org.b3log.latke.Latkes
Initializes Latke framework.
initAllTables() - Static method in class org.b3log.latke.repository.jdbc.util.JdbcRepositories
Initializes all tables from repository.json.
initProcessAdvices() - Method in class org.b3log.latke.http.handler.ContextHandlerMeta
Initializes process advices.
initPublicIP() - Static method in class org.b3log.latke.Latkes
Init public IP.
initRepositoryJSON(String, Set<String>, String) - Static method in class org.b3log.latke.repository.jdbc.util.JdbcRepositories
Generates repository.json from databases.
Inject - Annotation Type in org.b3log.latke.ioc
Identifies injectable fields.
InjectionPoint - Interface in org.b3log.latke.ioc
Injection Point.
IntMapping - Class in org.b3log.latke.repository.jdbc.mapping
IntMapping.
IntMapping() - Constructor for class org.b3log.latke.repository.jdbc.mapping.IntMapping
 
IS_MOBILE_BOT - Static variable in class org.b3log.latke.Keys.HttpRequest
Key of is mobile device.
IS_REQUEST_STATIC_RESOURCE - Static variable in class org.b3log.latke.Keys.HttpRequest
Key of static resource requesting.
IS_SEARCH_ENGINE_BOT - Static variable in class org.b3log.latke.Keys.HttpRequest
Key of is search engine bot.
isAbstract(Class<?>) - Static method in class org.b3log.latke.util.Reflections
 
isAccessable(Package, Package, int) - Static method in class org.b3log.latke.util.Reflections
 
isActive() - Method in class org.b3log.latke.repository.jdbc.JdbcTransaction
 
isActive() - Method in interface org.b3log.latke.repository.Transaction
Determines whether this transaction is active.
isCaller(String, String) - Static method in class org.b3log.latke.util.Callstacks
Checks the current method is whether invoked by a caller specified by the given class name and method name.
isCommitted() - Method in class org.b3log.latke.http.Response
 
isConcrete(Type) - Static method in class org.b3log.latke.util.Reflections
 
isConcrete(Class<?>) - Static method in class org.b3log.latke.util.Reflections
 
isDebug() - Method in class org.b3log.latke.repository.Query
Checks whether is debug.
isDebugEnabled() - Method in class org.b3log.latke.logging.Logger
Determines whether this logger enabled for DEBUG level.
isDecimalNotation(String) - Static method in class org.json.JSONObject
Tests if the value should be tried as a decimal.
isDocker() - Static method in class org.b3log.latke.Latkes
Checks if process is running via docker.
isEmail(String) - Static method in class org.b3log.latke.util.Strings
Checks whether the specified string is a valid email address.
isEmpty() - Method in class org.json.JSONArray
Check if JSONArray is empty.
isEmpty() - Method in class org.json.JSONObject
Check if JSONObject is empty.
isEnabledSession() - Static method in class org.b3log.latke.Latkes
Is enabled HTTP session.
isErrorEnabled() - Method in class org.b3log.latke.logging.Logger
Determines whether this logger enabled for ERROR level.
isInfoEnabled() - Method in class org.b3log.latke.logging.Logger
Determines whether this logger enabled for INFO level.
isInteger(String) - Static method in class org.b3log.latke.util.Strings
Checks whether the specified string is an integer.
isInterface(Class<?>) - Static method in class org.b3log.latke.util.Reflections
 
isIPv4(String) - Static method in class org.b3log.latke.util.Strings
Is IPv4.
isJSONP() - Method in class org.b3log.latke.http.renderer.JsonRenderer
Determines whether render as JSONP.
isLoggable(Level) - Method in class org.b3log.latke.logging.Logger
Checks if a message of the given level would actually be logged by this logger.
isNull(int) - Method in class org.json.JSONArray
Determine if the value is null.
isNull(String) - Method in class org.json.JSONObject
Determine if the value associated with the key is null or if there is no value.
isNumeric(String) - Static method in class org.b3log.latke.util.Strings
Checks whether the specified string is numeric.
Isolation - Enum in org.b3log.latke.repository.annotation
Transaction isolation.
isPattern(String) - Static method in class org.b3log.latke.util.AntPathMatcher
Does the given path represent a pattern that can be matched by an implementation of this interface?
isPretty() - Method in class org.b3log.latke.http.renderer.JsonRenderer
Determins whether pretty rendering.
isProgrammatic() - Method in class org.b3log.latke.repository.jdbc.JdbcTransaction
Determines whether this transaction is programmatic.
isSameDay(Date, Date) - Static method in class org.b3log.latke.util.Times
Determines whether the specified date1 is the same day with the specified date2.
isSameMonth(Date, Date) - Static method in class org.b3log.latke.util.Times
Determines whether the specified date1 is the same month with the specified date2.
isSameWeek(Date, Date) - Static method in class org.b3log.latke.util.Times
Determines whether the specified date1 is the same week with the specified date2.
isStatic(Request) - Static method in class org.b3log.latke.util.StaticResources
Determines whether the client requests a static resource with the specified request.
isStaticResource() - Method in class org.b3log.latke.http.Request
 
isSuccess() - Method in class org.b3log.latke.repository.jdbc.util.JdbcRepositories.CreateTableResult
 
isTraceEnabled() - Method in class org.b3log.latke.logging.Logger
Determines whether this logger enabled for TRACE level.
isURL(String) - Static method in class org.b3log.latke.util.Strings
Determines whether the specified string is a valid URL.
isWarnEnabled() - Method in class org.b3log.latke.logging.Logger
Determines whether this logger enabled for WARN level.
isWritable() - Method in class org.b3log.latke.repository.AbstractRepository
 
isWritable() - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
isWritable() - Method in class org.b3log.latke.repository.NoneRepository
 
isWritable() - Method in interface org.b3log.latke.repository.Repository
Whether the repository is writable.
iterator() - Method in class org.json.JSONArray
 

J

JdbcDatabase - Interface in org.b3log.latke.repository.jdbc
interface JdbcDatabase.
JdbcFactory - Class in org.b3log.latke.repository.jdbc
JDBC Factory.
JdbcRepositories - Class in org.b3log.latke.repository.jdbc.util
Jdbc repository utilities.
JdbcRepositories.CreateTableResult - Class in org.b3log.latke.repository.jdbc.util
createTableResult model for view to show.
JdbcRepository - Class in org.b3log.latke.repository.jdbc
JDBC repository implementation.
JdbcRepository(String) - Constructor for class org.b3log.latke.repository.jdbc.JdbcRepository
Constructs a JDBC repository with the specified name.
JdbcTransaction - Class in org.b3log.latke.repository.jdbc
JdbcTransaction.
JdbcTransaction() - Constructor for class org.b3log.latke.repository.jdbc.JdbcTransaction
Public constructor.
JdbcUtil - Class in org.b3log.latke.repository.jdbc.util
JDBC utilities.
join(String) - Method in class org.json.JSONArray
Make a string from the contents of this JSONArray.
JpgRenderer - Class in org.b3log.latke.http.renderer
JPEG HTTP response renderer.
JpgRenderer() - Constructor for class org.b3log.latke.http.renderer.JpgRenderer
Constructs a JPEG HTTP response renderer.
JSONArray - Class in org.json
A JSONArray is an ordered sequence of values.
JSONArray() - Constructor for class org.json.JSONArray
Construct an empty JSONArray.
JSONArray(JSONTokener) - Constructor for class org.json.JSONArray
Construct a JSONArray from a JSONTokener.
JSONArray(String) - Constructor for class org.json.JSONArray
Construct a JSONArray from a source JSON text.
JSONArray(Collection<?>) - Constructor for class org.json.JSONArray
Construct a JSONArray from a Collection.
JSONArray(Object) - Constructor for class org.json.JSONArray
Construct a JSONArray from an array.
jsonArrayToArray(JSONArray, Class<? extends T[]>) - Static method in class org.b3log.latke.util.CollectionUtils
Converts the specified JSON array to an array.
jsonArrayToList(JSONArray) - Static method in class org.b3log.latke.util.CollectionUtils
Converts the specified JSON array to a list.
jsonArrayToSet(JSONArray) - Static method in class org.b3log.latke.util.CollectionUtils
Converts the specified JSON array to a list.
JSONException - Exception in org.json
The JSONException is thrown by the JSON.org classes when things are amiss.
JSONException(String) - Constructor for exception org.json.JSONException
Constructs a JSONException with an explanatory message.
JSONException(String, Throwable) - Constructor for exception org.json.JSONException
Constructs a JSONException with an explanatory message and cause.
JSONException(Throwable) - Constructor for exception org.json.JSONException
Constructs a new JSONException with the specified cause.
JSONML - Class in org.json
This provides static methods to convert an XML text into a JSONArray or JSONObject, and to covert a JSONArray or JSONObject into an XML text using the JsonML transform.
JSONML() - Constructor for class org.json.JSONML
 
JSONObject - Class in org.json
A JSONObject is an unordered collection of name/value pairs.
JSONObject() - Constructor for class org.json.JSONObject
Construct an empty JSONObject.
JSONObject(JSONObject, String[]) - Constructor for class org.json.JSONObject
Construct a JSONObject from a subset of another JSONObject.
JSONObject(JSONTokener) - Constructor for class org.json.JSONObject
Construct a JSONObject from a JSONTokener.
JSONObject(Map<?, ?>) - Constructor for class org.json.JSONObject
Construct a JSONObject from a Map.
JSONObject(Object) - Constructor for class org.json.JSONObject
Construct a JSONObject from an Object using bean getters.
JSONObject(Object, String[]) - Constructor for class org.json.JSONObject
Construct a JSONObject from an Object, using reflection to find the public members.
JSONObject(String) - Constructor for class org.json.JSONObject
Construct a JSONObject from a source JSON text string.
JSONObject(String, Locale) - Constructor for class org.json.JSONObject
Construct a JSONObject from a ResourceBundle.
JSONObject(int) - Constructor for class org.json.JSONObject
Constructor to specify an initial capacity of the internal map.
JSONPointer - Class in org.json
A JSON Pointer is a simple query language defined for JSON documents by RFC 6901.
JSONPointer(String) - Constructor for class org.json.JSONPointer
Pre-parses and initializes a new JSONPointer instance.
JSONPointer(List<String>) - Constructor for class org.json.JSONPointer
 
JSONPointer.Builder - Class in org.json
This class allows the user to build a JSONPointer in steps, using exactly one segment in each step.
JSONPointerException - Exception in org.json
The JSONPointerException is thrown by JSONPointer if an error occurs during evaluating a pointer.
JSONPointerException(String) - Constructor for exception org.json.JSONPointerException
 
JSONPointerException(String, Throwable) - Constructor for exception org.json.JSONPointerException
 
JSONPropertyIgnore - Annotation Type in org.json
 
JSONPropertyName - Annotation Type in org.json
 
JsonRenderer - Class in org.b3log.latke.http.renderer
JSON HTTP response renderer.
JsonRenderer() - Constructor for class org.b3log.latke.http.renderer.JsonRenderer
 
JSONString - Interface in org.json
The JSONString interface allows a toJSONString() method so that a class can change the behavior of JSONObject.toString(), JSONArray.toString(), and JSONWriter.value(Object).
JSONStringer - Class in org.json
JSONStringer provides a quick and convenient way of producing JSON text.
JSONStringer() - Constructor for class org.json.JSONStringer
Make a fresh JSONStringer.
JSONTokener - Class in org.json
A JSONTokener takes a source string and extracts characters and tokens from it.
JSONTokener(Reader) - Constructor for class org.json.JSONTokener
Construct a JSONTokener from a Reader.
JSONTokener(InputStream) - Constructor for class org.json.JSONTokener
Construct a JSONTokener from an InputStream.
JSONTokener(String) - Constructor for class org.json.JSONTokener
Construct a JSONTokener from a string.
JSONWriter - Class in org.json
JSONWriter provides a quick and convenient way of producing JSON text.
JSONWriter(Appendable) - Constructor for class org.json.JSONWriter
Make a fresh JSONWriter.

K

key(String) - Method in class org.json.JSONWriter
Append a key.
KeyGenerator<T> - Interface in org.b3log.latke.repository
Key generator.
Keys - Class in org.b3log.latke
This class define framework keys.
keys() - Method in class org.json.JSONObject
Get an enumeration of the keys of the JSONObject.
Keys.HttpRequest - Class in org.b3log.latke
This class define HTTP request keys.
Keys.Runtime - Class in org.b3log.latke
This class define runtime keys.
Keys.Server - Class in org.b3log.latke
This class define server keys.
keySet() - Method in class org.json.JSONObject
Get a set of keys of the JSONObject.

L

LangPropsService - Class in org.b3log.latke.service
Language service implementation.
LangPropsService() - Constructor for class org.b3log.latke.service.LangPropsService
 
LANGUAGE - Static variable in class org.b3log.latke.Keys
Key of language.
LATKE_SESSION_ID - Static variable in class org.b3log.latke.http.Session
 
Latkes - Class in org.b3log.latke
Latke framework configuration utility facade.
Latkes.RuntimeCache - Enum in org.b3log.latke
Latke runtime cache specified in the configuration file local.properties.
Latkes.RuntimeDatabase - Enum in org.b3log.latke
Latke runtime JDBC database specified in the configuration file local.properties.
Latkes.RuntimeMode - Enum in org.b3log.latke
Latke runtime mode.
length() - Method in class org.json.JSONArray
Get the number of elements in the JSONArray, included nulls.
length() - Method in class org.json.JSONObject
Get the number of keys stored in the JSONObject.
Level - Enum in org.b3log.latke.logging
Logging level.
LINE_SEPARATOR - Static variable in class org.b3log.latke.util.Strings
Line separator.
listFiles(String) - Static method in class org.b3log.latke.Latkes
Lists file names under the specified path
listToJSONArray(List<T>) - Static method in class org.b3log.latke.util.CollectionUtils
Converts the specified list to a JSON array.
load() - Method in class org.b3log.latke.plugin.PluginManager
Loads plugins from directory webRoot/plugins/.
LOCALE - Static variable in class org.b3log.latke.Keys
Key of locale.
Locales - Class in org.b3log.latke.util
Locale utilities.
log(Level, String, Throwable) - Method in class org.b3log.latke.logging.Logger
Logs the specified message with the specified logging level and throwable.
log(Level, String, Object...) - Method in class org.b3log.latke.logging.Logger
Logs the specified message with the specified logging level and arguments.
log(Request, Level, Logger) - Static method in class org.b3log.latke.util.Requests
Logs the specified request with the specified level and logger.
Logger - Class in org.b3log.latke.logging
Latke logger.
LongMapping - Class in org.b3log.latke.repository.jdbc.mapping
Long type mapping.
LongMapping() - Constructor for class org.b3log.latke.repository.jdbc.mapping.LongMapping
 
LT - Static variable in class org.json.XML
The Character '<'.

M

main(String[]) - Static method in class org.b3log.latke.util.TimeZones
 
mapping() - Static method in class org.b3log.latke.http.Dispatcher
Performs mapping for all routers.
Mapping - Interface in org.b3log.latke.repository.jdbc.mapping
the interface for mapping.
match(String, String) - Static method in class org.b3log.latke.util.AntPathMatcher
Does the given path represent a pattern that can be matched by an implementation of this interface?
match(Field, Field) - Static method in class org.b3log.latke.util.Reflections
 
MATCH_RESULT - Static variable in class org.b3log.latke.http.handler.RouteHandler
The shared-matched-result-data name.
matchInheritance(Field, Field) - Static method in class org.b3log.latke.util.Reflections
 
matchInheritance(Method, Method) - Static method in class org.b3log.latke.util.Reflections
 
matchModifier(Method, Method) - Static method in class org.b3log.latke.util.Reflections
 
MatchResult - Class in org.b3log.latke.http.handler
The route matched-result bean.
matchSignature(Method, Method) - Static method in class org.b3log.latke.util.Reflections
 
matchStart(String, String) - Static method in class org.b3log.latke.util.AntPathMatcher
Match the given path against the corresponding part of the given pattern, according to this PathMatcher's matching strategy.
method() - Method in class org.b3log.latke.http.RequestContext
Gets the request HTTP method.
mode - Variable in class org.json.JSONWriter
The current mode.
more() - Method in class org.json.JSONTokener
Determine if the source string still contains characters that next() can consume.
MSG - Static variable in class org.b3log.latke.Keys
Key of message.

N

names() - Method in class org.json.JSONObject
Produce a JSONArray containing the names of the elements of this JSONObject.
next() - Method in class org.json.JSONTokener
Get the next character in the source string.
next(char) - Method in class org.json.JSONTokener
Consume the next character, and check that it matches a specified character.
next(int) - Method in class org.json.JSONTokener
Get the next n characters.
nextCDATA() - Method in class org.json.XMLTokener
Get the text in the CDATA block.
nextClean() - Method in class org.json.JSONTokener
Get the next char in the string, skipping whitespace.
nextContent() - Method in class org.json.XMLTokener
Get the next XML outer token, trimming whitespace.
nextEntity(char) - Method in class org.json.XMLTokener
Return the next entity.
nextMeta() - Method in class org.json.XMLTokener
Returns the next XML meta token.
nextString(char) - Method in class org.json.JSONTokener
Return the characters up to the next close quote character.
nextTo(char) - Method in class org.json.JSONTokener
Get the text up but not including the specified character or the end of line, whichever comes first.
nextTo(String) - Method in class org.json.JSONTokener
Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.
nextToken() - Method in class org.json.HTTPTokener
Get the next token or string.
nextToken() - Method in class org.json.XMLTokener
Get the next XML Token.
nextValue() - Method in class org.json.JSONTokener
Get the next value.
NoneCache - Class in org.b3log.latke.cache
None cache.
NoneCache() - Constructor for class org.b3log.latke.cache.NoneCache
 
NoneRepository - Class in org.b3log.latke.repository
None repository implementation.
NoneRepository(String) - Constructor for class org.b3log.latke.repository.NoneRepository
Constructs a none repository with the specified name.
noSpace(String) - Static method in class org.json.XML
Throw an exception if the string contains whitespace.
notifyListeners() - Method in class org.b3log.latke.event.AbstractEventQueue
If this object has changed, as indicated by the hasChanged method, then notify all of its listeners and then call the clearChanged method to indicate that this object has no longer changed.
notifyListeners(Event<?>) - Method in class org.b3log.latke.event.AbstractEventQueue
Notifies all listeners of this event queue to perform action.
NotInteractivePlugin - Class in org.b3log.latke.plugin
The default plugin for which do not need interact with the server end.
NotInteractivePlugin() - Constructor for class org.b3log.latke.plugin.NotInteractivePlugin
 
NULL - Static variable in class org.json.JSONObject
It is sometimes more convenient and less ambiguous to have a NULL object than to use Java's null value.
NumberMapping - Class in org.b3log.latke.repository.jdbc.mapping
NumberMapping.
NumberMapping() - Constructor for class org.b3log.latke.repository.jdbc.mapping.NumberMapping
 
numberToString(Number) - Static method in class org.json.JSONObject
Produce a string from a Number.

O

object() - Method in class org.json.JSONWriter
Begin appending a new object.
OBJECT_ID - Static variable in class org.b3log.latke.Keys
Key of id of an entity json object.
OBJECT_IDS - Static variable in class org.b3log.latke.Keys
Key of ids.
onClose(WebSocketSession) - Method in interface org.b3log.latke.http.WebSocketChannel
 
onConnect(WebSocketSession) - Method in interface org.b3log.latke.http.WebSocketChannel
 
onError(WebSocketChannel.Error) - Method in interface org.b3log.latke.http.WebSocketChannel
 
onMessage(WebSocketChannel.Message) - Method in interface org.b3log.latke.http.WebSocketChannel
 
opt(int) - Method in class org.json.JSONArray
Get the optional object value associated with an index.
opt(String) - Method in class org.json.JSONObject
Get an optional value associated with a key.
optBigDecimal(int, BigDecimal) - Method in class org.json.JSONArray
Get the optional BigDecimal value associated with an index.
optBigDecimal(String, BigDecimal) - Method in class org.json.JSONObject
Get an optional BigDecimal associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optBigInteger(int, BigInteger) - Method in class org.json.JSONArray
Get the optional BigInteger value associated with an index.
optBigInteger(String, BigInteger) - Method in class org.json.JSONObject
Get an optional BigInteger associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optBoolean(int) - Method in class org.json.JSONArray
Get the optional boolean value associated with an index.
optBoolean(int, boolean) - Method in class org.json.JSONArray
Get the optional boolean value associated with an index.
optBoolean(String) - Method in class org.json.JSONObject
Get an optional boolean associated with a key.
optBoolean(String, boolean) - Method in class org.json.JSONObject
Get an optional boolean associated with a key.
optDouble(int) - Method in class org.json.JSONArray
Get the optional double value associated with an index.
optDouble(int, double) - Method in class org.json.JSONArray
Get the optional double value associated with an index.
optDouble(String) - Method in class org.json.JSONObject
Get an optional double associated with a key, or NaN if there is no such key or if its value is not a number.
optDouble(String, double) - Method in class org.json.JSONObject
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optEnum(Class<E>, int) - Method in class org.json.JSONArray
Get the enum value associated with a key.
optEnum(Class<E>, int, E) - Method in class org.json.JSONArray
Get the enum value associated with a key.
optEnum(Class<E>, String) - Method in class org.json.JSONObject
Get the enum value associated with a key.
optEnum(Class<E>, String, E) - Method in class org.json.JSONObject
Get the enum value associated with a key.
optFloat(int) - Method in class org.json.JSONArray
Get the optional float value associated with an index.
optFloat(int, float) - Method in class org.json.JSONArray
Get the optional float value associated with an index.
optFloat(String) - Method in class org.json.JSONObject
Get the optional double value associated with an index.
optFloat(String, float) - Method in class org.json.JSONObject
Get the optional double value associated with an index.
optInt(int) - Method in class org.json.JSONArray
Get the optional int value associated with an index.
optInt(int, int) - Method in class org.json.JSONArray
Get the optional int value associated with an index.
optInt(String) - Method in class org.json.JSONObject
Get an optional int value associated with a key, or zero if there is no such key or if the value is not a number.
optInt(String, int) - Method in class org.json.JSONObject
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number.
options() - Method in class org.b3log.latke.http.Dispatcher.Router
 
optJSONArray(int) - Method in class org.json.JSONArray
Get the optional JSONArray associated with an index.
optJSONArray(String) - Method in class org.json.JSONObject
Get an optional JSONArray associated with a key.
optJSONObject(int) - Method in class org.json.JSONArray
Get the optional JSONObject associated with an index.
optJSONObject(String) - Method in class org.json.JSONObject
Get an optional JSONObject associated with a key.
optLong(int) - Method in class org.json.JSONArray
Get the optional long value associated with an index.
optLong(int, long) - Method in class org.json.JSONArray
Get the optional long value associated with an index.
optLong(String) - Method in class org.json.JSONObject
Get an optional long value associated with a key, or zero if there is no such key or if the value is not a number.
optLong(String, long) - Method in class org.json.JSONObject
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number.
optNumber(int) - Method in class org.json.JSONArray
Get an optional Number value associated with a key, or null if there is no such key or if the value is not a number.
optNumber(int, Number) - Method in class org.json.JSONArray
Get an optional Number value associated with a key, or the default if there is no such key or if the value is not a number.
optNumber(String) - Method in class org.json.JSONObject
Get an optional Number value associated with a key, or null if there is no such key or if the value is not a number.
optNumber(String, Number) - Method in class org.json.JSONObject
Get an optional Number value associated with a key, or the default if there is no such key or if the value is not a number.
optQuery(String) - Method in class org.json.JSONArray
Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
optQuery(JSONPointer) - Method in class org.json.JSONArray
Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
optQuery(String) - Method in class org.json.JSONObject
Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
optQuery(JSONPointer) - Method in class org.json.JSONObject
Queries and returns a value from this object using jsonPointer, or returns null if the query fails due to a missing key.
optString(int) - Method in class org.json.JSONArray
Get the optional string value associated with an index.
optString(int, String) - Method in class org.json.JSONArray
Get the optional string associated with an index.
optString(String) - Method in class org.json.JSONObject
Get an optional string associated with a key.
optString(String, String) - Method in class org.json.JSONObject
Get an optional string associated with a key.
or(Filter...) - Static method in enum org.b3log.latke.repository.CompositeFilterOperator
Builds an composite filter with 'OR' all the specified sub filters.
ORA_EMPTY_STR - Static variable in class org.b3log.latke.repository.jdbc.JdbcRepository
Placeholder for Oracle empty clob.
org.b3log.latke - package org.b3log.latke
 
org.b3log.latke.cache - package org.b3log.latke.cache
Cache service.
org.b3log.latke.cache.caffeine - package org.b3log.latke.cache.caffeine
 
org.b3log.latke.cache.redis - package org.b3log.latke.cache.redis
 
org.b3log.latke.event - package org.b3log.latke.event
Event processing.
org.b3log.latke.http - package org.b3log.latke.http
Latke HTTP server.
org.b3log.latke.http.advice - package org.b3log.latke.http.advice
 
org.b3log.latke.http.annotation - package org.b3log.latke.http.annotation
 
org.b3log.latke.http.function - package org.b3log.latke.http.function
 
org.b3log.latke.http.handler - package org.b3log.latke.http.handler
 
org.b3log.latke.http.renderer - package org.b3log.latke.http.renderer
 
org.b3log.latke.ioc - package org.b3log.latke.ioc
Latke IoC/DI container.
org.b3log.latke.ioc.annotated - package org.b3log.latke.ioc.annotated
 
org.b3log.latke.logging - package org.b3log.latke.logging
 
org.b3log.latke.model - package org.b3log.latke.model
 
org.b3log.latke.plugin - package org.b3log.latke.plugin
Plugin framework.
org.b3log.latke.repository - package org.b3log.latke.repository
Data access service.
org.b3log.latke.repository.annotation - package org.b3log.latke.repository.annotation
 
org.b3log.latke.repository.jdbc - package org.b3log.latke.repository.jdbc
 
org.b3log.latke.repository.jdbc.mapping - package org.b3log.latke.repository.jdbc.mapping
 
org.b3log.latke.repository.jdbc.util - package org.b3log.latke.repository.jdbc.util
 
org.b3log.latke.service - package org.b3log.latke.service
 
org.b3log.latke.service.annotation - package org.b3log.latke.service.annotation
 
org.b3log.latke.util - package org.b3log.latke.util
Utilities of web container side.
org.json - package org.json
 

P

paginate(int, int, int, int) - Static method in class org.b3log.latke.util.Paginator
Paginates with the specified current page number, page size, page count and window size.
Pagination - Class in org.b3log.latke.model
This class defines all pagination model relevant keys.
PAGINATION - Static variable in class org.b3log.latke.model.Pagination
Pagination.
PAGINATION_CURRENT_PAGE_NUM - Static variable in class org.b3log.latke.model.Pagination
Pagination current page number.
PAGINATION_FIRST_PAGE_NUM - Static variable in class org.b3log.latke.model.Pagination
Pagination first page number.
PAGINATION_LAST_PAGE_NUM - Static variable in class org.b3log.latke.model.Pagination
Pagination last page number.
PAGINATION_NEXT_PAGE_NUM - Static variable in class org.b3log.latke.model.Pagination
Key of next page number.
PAGINATION_PAGE_COUNT - Static variable in class org.b3log.latke.model.Pagination
Pagination page count.
PAGINATION_PAGE_NUMS - Static variable in class org.b3log.latke.model.Pagination
Pagination page numbers.
PAGINATION_PAGE_SIZE - Static variable in class org.b3log.latke.model.Pagination
Pagination page size.
PAGINATION_PREVIOUS_PAGE_NUM - Static variable in class org.b3log.latke.model.Pagination
Key of previous page number.
PAGINATION_RECORD_COUNT - Static variable in class org.b3log.latke.model.Pagination
Pagination record count.
PAGINATION_WINDOW_SIZE - Static variable in class org.b3log.latke.model.Pagination
Pagination window size.
Paginator - Class in org.b3log.latke.util
Paginator utilities.
param(String) - Method in class org.b3log.latke.http.RequestContext
Gets a parameter specified by the given name from request body form or query string.
pathVar(String) - Method in class org.b3log.latke.http.RequestContext
Gets a path var specified by the given name from request URI.
pathVar(String, String) - Method in class org.b3log.latke.http.RequestContext
Puts a path var specified by the given name and value.
pathVars() - Method in class org.b3log.latke.http.RequestContext
Get all path vars.
pathVars(Map<String, String>) - Method in class org.b3log.latke.http.RequestContext
Set all path vars.
plug(Map<String, Object>) - Method in class org.b3log.latke.plugin.AbstractPlugin
Plugs with the specified data model.
plug(Map<String, Object>, RequestContext) - Method in class org.b3log.latke.plugin.AbstractPlugin
Plugs with the specified data model and the args from request.
Plugin - Class in org.b3log.latke.model
This class defines all plugin model relevant keys.
PLUGIN - Static variable in class org.b3log.latke.model.Plugin
Key of plugin.
PLUGIN_AUTHOR - Static variable in class org.b3log.latke.model.Plugin
Key of plugin author.
PLUGIN_CLASS - Static variable in class org.b3log.latke.model.Plugin
Key of plugin class.
PLUGIN_LOADED_EVENT - Static variable in class org.b3log.latke.plugin.PluginManager
Type of loaded event.
PLUGIN_NAME - Static variable in class org.b3log.latke.model.Plugin
Key of plugin name.
PLUGIN_RENDERER_ID - Static variable in class org.b3log.latke.model.Plugin
rendererId of the plugin.
PLUGIN_SETTING - Static variable in class org.b3log.latke.model.Plugin
Key of plugin setting(json formatter).
PLUGIN_STATUS - Static variable in class org.b3log.latke.model.Plugin
Key of plugin status.
PLUGIN_TYPES - Static variable in class org.b3log.latke.model.Plugin
Key of plugin types.
PLUGIN_VERSION - Static variable in class org.b3log.latke.model.Plugin
Key of plugin version.
PluginManager - Class in org.b3log.latke.plugin
Plugin loader.
PluginManager() - Constructor for class org.b3log.latke.plugin.PluginManager
 
PLUGINS - Static variable in class org.b3log.latke.model.Plugin
Key of plugins.
PluginStatus - Enum in org.b3log.latke.plugin
Plugin status enumerations.
PluginType - Enum in org.b3log.latke.plugin
Plugin type enumerations.
PngRenderer - Class in org.b3log.latke.http.renderer
PNG HTTP response renderer.
PngRenderer() - Constructor for class org.b3log.latke.http.renderer.PngRenderer
Constructs a PNG HTTP response renderer.
post(String, ContextHandler) - Static method in class org.b3log.latke.http.Dispatcher
HTTP POST routing.
post(String, ContextHandler) - Method in class org.b3log.latke.http.Dispatcher.Router
 
post(String[], ContextHandler) - Method in class org.b3log.latke.http.Dispatcher.Router
 
post() - Method in class org.b3log.latke.http.Dispatcher.Router
 
postPlug(Map<String, Object>, RequestContext) - Method in class org.b3log.latke.plugin.AbstractPlugin
postPlug after the dataModel of the simplest-view be generated.
postPlug(Map<String, Object>, RequestContext) - Method in class org.b3log.latke.plugin.NotInteractivePlugin
 
postRender(RequestContext) - Method in class org.b3log.latke.http.renderer.AbstractResponseRenderer
 
postRender(RequestContext) - Method in interface org.b3log.latke.http.renderer.ResponseRenderer
Post-render after the real method be invoked.
prePlug(RequestContext) - Method in class org.b3log.latke.plugin.AbstractPlugin
prePlug after the real method be invoked.
prePlug(RequestContext) - Method in class org.b3log.latke.plugin.NotInteractivePlugin
 
preRender(RequestContext) - Method in class org.b3log.latke.http.renderer.AbstractResponseRenderer
 
preRender(RequestContext) - Method in interface org.b3log.latke.http.renderer.ResponseRenderer
Pre-render before the real method be invoked.
printCallstack(Level, String[], String[]) - Static method in class org.b3log.latke.util.Callstacks
Prints call stack with the specified logging level.
ProcessAdvice - Class in org.b3log.latke.http.advice
Process advice.
ProcessAdvice() - Constructor for class org.b3log.latke.http.advice.ProcessAdvice
 
Projection - Class in org.b3log.latke.repository
SELECT projection.
Projection(String) - Constructor for class org.b3log.latke.repository.Projection
Constructs a projection with the specified key.
Propagation - Enum in org.b3log.latke.repository.annotation
Transaction propagation behaviors.
Property - Class in org.json
Converts a Property file data into JSONObject and back.
Property() - Constructor for class org.json.Property
 
PropertyFilter - Class in org.b3log.latke.repository
A filter on a single property.
PropertyFilter(String, FilterOperator, Object) - Constructor for class org.b3log.latke.repository.PropertyFilter
Constructor with the specified parameters.
put(String, JSONObject) - Method in interface org.b3log.latke.cache.Cache
Puts the specified object into this cache.
put(String, JSONObject) - Method in class org.b3log.latke.cache.caffeine.CaffeineCache
 
put(String, JSONObject) - Method in class org.b3log.latke.cache.NoneCache
 
put(String, JSONObject) - Method in class org.b3log.latke.cache.redis.RedisCache
 
put(String, ContextHandler) - Static method in class org.b3log.latke.http.Dispatcher
HTTP PUT routing.
put(String, ContextHandler) - Method in class org.b3log.latke.http.Dispatcher.Router
 
put(String[], ContextHandler) - Method in class org.b3log.latke.http.Dispatcher.Router
 
put() - Method in class org.b3log.latke.http.Dispatcher.Router
 
put(boolean) - Method in class org.json.JSONArray
Append a boolean value.
put(Collection<?>) - Method in class org.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(double) - Method in class org.json.JSONArray
Append a double value.
put(float) - Method in class org.json.JSONArray
Append a float value.
put(int) - Method in class org.json.JSONArray
Append an int value.
put(long) - Method in class org.json.JSONArray
Append an long value.
put(Map<?, ?>) - Method in class org.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
put(Object) - Method in class org.json.JSONArray
Append an object value.
put(int, boolean) - Method in class org.json.JSONArray
Put or replace a boolean value in the JSONArray.
put(int, Collection<?>) - Method in class org.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(int, double) - Method in class org.json.JSONArray
Put or replace a double value.
put(int, float) - Method in class org.json.JSONArray
Put or replace a float value.
put(int, int) - Method in class org.json.JSONArray
Put or replace an int value.
put(int, long) - Method in class org.json.JSONArray
Put or replace a long value.
put(int, Map<?, ?>) - Method in class org.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject that is produced from a Map.
put(int, Object) - Method in class org.json.JSONArray
Put or replace an object value in the JSONArray.
put(String, boolean) - Method in class org.json.JSONObject
Put a key/boolean pair in the JSONObject.
put(String, Collection<?>) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.
put(String, double) - Method in class org.json.JSONObject
Put a key/double pair in the JSONObject.
put(String, float) - Method in class org.json.JSONObject
Put a key/float pair in the JSONObject.
put(String, int) - Method in class org.json.JSONObject
Put a key/int pair in the JSONObject.
put(String, long) - Method in class org.json.JSONObject
Put a key/long pair in the JSONObject.
put(String, Map<?, ?>) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.
put(String, Object) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject.
putOnce(String, Object) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null, and only if there is not already a member with that name.
putOpt(String, Object) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.

Q

Query - Class in org.b3log.latke.repository
Query.
Query() - Constructor for class org.b3log.latke.repository.Query
 
query(String) - Method in class org.json.JSONArray
Creates a JSONPointer using an initialization string and tries to match it to an item within this JSONArray.
query(JSONPointer) - Method in class org.json.JSONArray
Uses a user initialized JSONPointer and tries to match it to an item within this JSONArray.
query(String) - Method in class org.json.JSONObject
Creates a JSONPointer using an initialization string and tries to match it to an item within this JSONObject.
query(JSONPointer) - Method in class org.json.JSONObject
Uses a user initialized JSONPointer and tries to match it to an item within this JSONObject.
queryFrom(Object) - Method in class org.json.JSONPointer
Evaluates this JSON Pointer on the given document.
queryJsonArray(String, List<Object>, Connection, String, boolean) - Static method in class org.b3log.latke.repository.jdbc.util.JdbcUtil
queryJsonArray.
queryJsonObject(String, List<Object>, Connection, String, boolean) - Static method in class org.b3log.latke.repository.jdbc.util.JdbcUtil
queryJsonObject.
queryPage(int, int, String, String, String, String) - Method in interface org.b3log.latke.repository.jdbc.JdbcDatabase
queryPage sql.
queryPage(int, int, String, String, String, String) - Method in class org.b3log.latke.repository.jdbc.JdbcFactory
 
QUEST - Static variable in class org.json.XML
The Character '?'.
QUOT - Static variable in class org.json.XML
The Character '"'.
quote(String) - Static method in class org.json.JSONObject
Produce a string in double quotes with backslash sequences in all the right places.
quote(String, Writer) - Static method in class org.json.JSONObject
 

R

readLangs() - Method in class org.b3log.latke.plugin.AbstractPlugin
Reads lang_xx.properties into field langs.
RedisCache - Class in org.b3log.latke.cache.redis
Redis cache.
RedisCache() - Constructor for class org.b3log.latke.cache.redis.RedisCache
 
Reflections - Class in org.b3log.latke.util
Reflection utilities.
registerListener(AbstractEventListener<?>) - Method in class org.b3log.latke.event.EventManager
Registers the specified event listener.
registerType(String, Mapping) - Method in class org.b3log.latke.repository.jdbc.AbstractJdbcDatabaseSolution
register type to mapping solution.
release() - Static method in class org.b3log.latke.util.Stopwatchs
Releases the thread-local stopwatch.
remoteAddr() - Method in class org.b3log.latke.http.RequestContext
Gets the remote address of request.
remove(String) - Method in interface org.b3log.latke.cache.Cache
Removes a object by the specified key.
remove(Collection<String>) - Method in interface org.b3log.latke.cache.Cache
Remove objects by the specified keys.
remove(String) - Method in class org.b3log.latke.cache.caffeine.CaffeineCache
 
remove(Collection<String>) - Method in class org.b3log.latke.cache.caffeine.CaffeineCache
 
remove(String) - Method in class org.b3log.latke.cache.NoneCache
 
remove(Collection<String>) - Method in class org.b3log.latke.cache.NoneCache
 
remove(String) - Method in class org.b3log.latke.cache.redis.RedisCache
 
remove(Collection<String>) - Method in class org.b3log.latke.cache.redis.RedisCache
 
remove(String) - Method in class org.b3log.latke.repository.AbstractRepository
 
remove(Query) - Method in class org.b3log.latke.repository.AbstractRepository
 
remove(String) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
remove(Query) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
remove(String) - Method in class org.b3log.latke.repository.NoneRepository
 
remove(Query) - Method in class org.b3log.latke.repository.NoneRepository
 
remove(String) - Method in interface org.b3log.latke.repository.Repository
Removes a json object by the specified id.
remove(Query) - Method in interface org.b3log.latke.repository.Repository
Removes json objects by the specified query.
remove(int) - Method in class org.json.JSONArray
Remove an index and close the hole.
remove(String) - Method in class org.json.JSONObject
Remove a name and its value, if present.
Render - Annotation Type in org.b3log.latke.http.annotation
The render mark for the parameter of the method, just to set the id of the renderer.
render(RequestContext) - Method in class org.b3log.latke.http.renderer.AbstractFreeMarkerRenderer
 
render(RequestContext) - Method in class org.b3log.latke.http.renderer.AbstractResponseRenderer
 
render(RequestContext) - Method in class org.b3log.latke.http.renderer.BinaryRenderer
 
render(RequestContext) - Method in class org.b3log.latke.http.renderer.Http404Renderer
 
render(RequestContext) - Method in class org.b3log.latke.http.renderer.Http500Renderer
 
render(RequestContext) - Method in class org.b3log.latke.http.renderer.JsonRenderer
 
render(RequestContext) - Method in interface org.b3log.latke.http.renderer.ResponseRenderer
Renders with the specified HTTP request context.
render(RequestContext) - Method in class org.b3log.latke.http.renderer.StaticFileRenderer
 
render(RequestContext) - Method in class org.b3log.latke.http.renderer.TextResponseRenderer
 
renderCode(int) - Method in class org.b3log.latke.http.RequestContext
Renders with {"code": int}.
renderData(Object) - Method in class org.b3log.latke.http.RequestContext
Renders with {"data": obj}.
renderFalseResult() - Method in class org.b3log.latke.http.RequestContext
Renders with {"sc": false}.
renderJSON() - Method in class org.b3log.latke.http.RequestContext
Renders using JsonRenderer with {"sc": false}.
renderJSON(JSONObject) - Method in class org.b3log.latke.http.RequestContext
Renders with the specified json object.
renderJSON(boolean) - Method in class org.b3log.latke.http.RequestContext
Renders using JsonRenderer with {"sc": sc}.
renderJSON(int) - Method in class org.b3log.latke.http.RequestContext
Renders using JsonRenderer with {"code": int}.
renderJSONPretty(JSONObject) - Method in class org.b3log.latke.http.RequestContext
Pretty rends with the specified json object.
renderJSONValue(String, Object) - Method in class org.b3log.latke.http.RequestContext
Renders with {"name", obj}.
renderMsg(String) - Method in class org.b3log.latke.http.RequestContext
Renders with {"msg": msg}.
renderPretty() - Method in class org.b3log.latke.http.RequestContext
Pretty renders.
renderResponse(RequestContext) - Static method in class org.b3log.latke.http.Dispatcher
Renders HTTP response.
renderTrueResult() - Method in class org.b3log.latke.http.RequestContext
Renders with {"sc": true}.
Repositories - Class in org.b3log.latke.repository
Repository utilities.
Repository - Annotation Type in org.b3log.latke.repository.annotation
Indicates that an annotated type is a repository.
Repository - Interface in org.b3log.latke.repository
Repository.
RepositoryDefinition - Class in org.b3log.latke.repository.jdbc.util
Repository definition.
RepositoryDefinition() - Constructor for class org.b3log.latke.repository.jdbc.util.RepositoryDefinition
 
RepositoryException - Exception in org.b3log.latke.repository
Repository exception.
RepositoryException() - Constructor for exception org.b3log.latke.repository.RepositoryException
Public default constructor.
RepositoryException(Throwable) - Constructor for exception org.b3log.latke.repository.RepositoryException
Public constructor with Throwable.
RepositoryException(String) - Constructor for exception org.b3log.latke.repository.RepositoryException
Public constructor with message.
Request - Class in org.b3log.latke.http
HTTP request.
Request(ChannelHandlerContext, FullHttpRequest) - Constructor for class org.b3log.latke.http.Request
 
REQUEST - Static variable in class org.b3log.latke.Keys
Key of request.
REQUEST_METHOD - Static variable in class org.b3log.latke.Keys.HttpRequest
Key of request method.
REQUEST_STATIC_RESOURCE_CHECKED - Static variable in class org.b3log.latke.Keys.HttpRequest
Key of static resource checked.
REQUEST_URI - Static variable in class org.b3log.latke.Keys.HttpRequest
Key of request URI.
RequestContext - Class in org.b3log.latke.http
HTTP request context.
RequestContext() - Constructor for class org.b3log.latke.http.RequestContext
 
requestJSON() - Method in class org.b3log.latke.http.RequestContext
Gets the request json object.
RequestProcessAdviceException - Exception in org.b3log.latke.http.advice
Exception for process advice.
RequestProcessAdviceException(JSONObject) - Constructor for exception org.b3log.latke.http.advice.RequestProcessAdviceException
Public constructor.
RequestProcessing - Annotation Type in org.b3log.latke.http.annotation
Indicates that an annotated method for HTTP request processing.
RequestProcessor - Annotation Type in org.b3log.latke.http.annotation
Indicates that an annotated type for HTTP request processing.
Requests - Class in org.b3log.latke.util
Request utilities.
requestURI() - Method in class org.b3log.latke.http.RequestContext
Gets the request URI.
resolve(String, String) - Static method in class org.b3log.latke.util.UriTemplates
Resolves the specified URI with the specified URI template.
Response - Class in org.b3log.latke.http
HTTP response.
Response(ChannelHandlerContext, HttpResponse) - Constructor for class org.b3log.latke.http.Response
 
ResponseRenderer - Interface in org.b3log.latke.http.renderer
The interface of all the renderer.
RESULTS - Static variable in class org.b3log.latke.Keys
Key of results.
Role - Class in org.b3log.latke.model
This class defines all role/group model relevant keys.
ROLE - Static variable in class org.b3log.latke.model.Role
Role.
ROLE_ID - Static variable in class org.b3log.latke.model.Role
Role id.
ROLE_NAME - Static variable in class org.b3log.latke.model.Role
Role name.
ROLE_PERMISSION_SET - Static variable in class org.b3log.latke.model.Role
Role permission set.
ROLE_PERMISSION_SET_RELATION_ROLE_ID - Static variable in class org.b3log.latke.model.Role
Role permission set relation role id.
ROLE_UPDATE_TIME - Static variable in class org.b3log.latke.model.Role
Update time of this role.
ROLE_USER_ID - Static variable in class org.b3log.latke.model.Role
Role user id.
ROLES - Static variable in class org.b3log.latke.model.Role
Roles.
rollback() - Method in class org.b3log.latke.repository.jdbc.JdbcTransaction
 
rollback() - Method in interface org.b3log.latke.repository.Transaction
Rolls back this transaction.
route() - Static method in class org.b3log.latke.http.Dispatcher
Registers a new router.
RouteHandler - Class in org.b3log.latke.http.handler
Route handler
RouteHandler() - Constructor for class org.b3log.latke.http.handler.RouteHandler
Public constructor..
Router() - Constructor for class org.b3log.latke.http.Dispatcher.Router
 
rowToJSONArray(JSONTokener) - Static method in class org.json.CDL
Produce a JSONArray of strings from a row of comma delimited values.
rowToJSONObject(JSONArray, JSONTokener) - Static method in class org.json.CDL
Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements.
rowToString(JSONArray) - Static method in class org.json.CDL
Produce a comma delimited text row from a JSONArray.
RssRenderer - Class in org.b3log.latke.http.renderer
RSS HTTP response renderer.
RssRenderer() - Constructor for class org.b3log.latke.http.renderer.RssRenderer
Constructs a RSS HTTP response renderer.
RUNTIME_CACHE - Static variable in class org.b3log.latke.Keys.Runtime
Key of runtime cache.
RUNTIME_DATABASE - Static variable in class org.b3log.latke.Keys.Runtime
Key of runtime database.
RUNTIME_MODE - Static variable in class org.b3log.latke.Keys.Runtime
Key of runtime mode.

S

select(String, Object...) - Method in class org.b3log.latke.repository.AbstractRepository
 
select(String, Object...) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
select(String, Object...) - Method in class org.b3log.latke.repository.NoneRepository
 
select(String, String...) - Method in class org.b3log.latke.repository.Query
Set SELECT projections.
select(String, Object...) - Method in interface org.b3log.latke.repository.Repository
Gets json objects by the specified query statement.
send() - Method in class org.b3log.latke.http.Response
 
sendContent(byte[]) - Method in class org.b3log.latke.http.Response
 
sendError(int) - Method in class org.b3log.latke.http.RequestContext
Sends the specified error status code.
sendError(int) - Method in class org.b3log.latke.http.Response
 
sendError0(int) - Method in class org.b3log.latke.http.Response
 
sendRedirect(String) - Method in class org.b3log.latke.http.RequestContext
Sends redirect to the specified location.
sendRedirect(String) - Method in class org.b3log.latke.http.Response
 
sendStatus(int) - Method in class org.b3log.latke.http.RequestContext
Sends the specified status code.
sendText(String) - Method in class org.b3log.latke.http.WebSocketSession
 
SERVE_PATH - Static variable in class org.b3log.latke.Keys.Server
Key of serve path.
SERVER - Static variable in class org.b3log.latke.Keys.Server
Key of server.
SERVER_HOST - Static variable in class org.b3log.latke.Keys.Server
Key of server host.
SERVER_PORT - Static variable in class org.b3log.latke.Keys.Server
Key of server port.
SERVER_SCHEME - Static variable in class org.b3log.latke.Keys.Server
Key of server scheme.
Service - Annotation Type in org.b3log.latke.service.annotation
Indicates that an annotated type is a service.
ServiceException - Exception in org.b3log.latke.service
Service exception.
ServiceException() - Constructor for exception org.b3log.latke.service.ServiceException
Public default constructor.
ServiceException(Throwable) - Constructor for exception org.b3log.latke.service.ServiceException
Public constructor with Throwable.
ServiceException(String) - Constructor for exception org.b3log.latke.service.ServiceException
Public constructor with message.
Session - Class in org.b3log.latke.http
HTTP session.
Session(String) - Constructor for class org.b3log.latke.http.Session
 
session - Variable in class org.b3log.latke.http.WebSocketChannel.Error
 
session - Variable in class org.b3log.latke.http.WebSocketChannel.Message
 
SESSION_ID - Static variable in class org.b3log.latke.Keys
Key of session id.
Sessions - Class in org.b3log.latke.http
HTTP session utilities.
Sessions() - Constructor for class org.b3log.latke.http.Sessions
 
setAttribute(String, Object) - Method in class org.b3log.latke.http.Request
 
setAttribute(String, String) - Method in class org.b3log.latke.http.Session
 
setAuthor(String) - Method in class org.b3log.latke.plugin.AbstractPlugin
Sets the author of this plugin with the specified author.
setCallback(String) - Method in class org.b3log.latke.http.renderer.JsonRenderer
Sets JSONP callback function.
setChanged() - Method in class org.b3log.latke.event.AbstractEventQueue
Marks this Event queue object as having been changed, the hasChanged method will now return true.
setCharset(String) - Method in class org.b3log.latke.repository.jdbc.util.RepositoryDefinition
Sets the charset with the specified charset.
setCollate(String) - Method in class org.b3log.latke.repository.jdbc.util.RepositoryDefinition
Sets the collate with the specified collate.
setContent(String) - Method in class org.b3log.latke.http.renderer.TextResponseRenderer
Sets the content with the specified content.
setContent(String) - Method in class org.b3log.latke.http.Request
 
setContentType(String) - Method in class org.b3log.latke.http.Response
 
setContextPath(String) - Static method in class org.b3log.latke.Latkes
Sets context path with the specified context path.
setCookies(Set<Cookie>) - Method in class org.b3log.latke.http.Request
 
setCookies(Set<Cookie>) - Method in class org.b3log.latke.http.Response
 
setCurrentPageNum(int) - Method in class org.b3log.latke.repository.Query
Sets the current page number with the specified current page number.
setData(byte[]) - Method in class org.b3log.latke.http.renderer.BinaryRenderer
Sets the data with the specified data.
setDataModel(Map<String, Object>) - Method in class org.b3log.latke.plugin.ViewLoadEventData
Sets the data model with the specified data model.
setDebug(boolean) - Method in class org.b3log.latke.repository.AbstractRepository
 
setDebug(boolean) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
setDebug(boolean) - Method in class org.b3log.latke.repository.NoneRepository
 
setDebug(boolean) - Method in class org.b3log.latke.repository.Query
Sets the debug flag.
setDebug(boolean) - Method in interface org.b3log.latke.repository.Repository
Sets whether the repository is debug to show SQL with the specified flag.
setDefaultKeyName(String) - Static method in class org.b3log.latke.repository.jdbc.util.JdbcRepositories
Sets the default key name.
setDescription(String) - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
Sets the description with the specified description.
setDescription(String) - Method in class org.b3log.latke.repository.jdbc.util.RepositoryDefinition
Sets the description with the specified description.
setDir(String) - Method in class org.b3log.latke.plugin.AbstractPlugin
Sets the directory name of this plugin with the specified directory.
setEnabledSession(boolean) - Static method in class org.b3log.latke.Latkes
Whether enables HTTP session.
setFilter(Filter) - Method in class org.b3log.latke.repository.Query
Sets the filter with the specified filter.
setHandler(ContextHandler) - Method in class org.b3log.latke.http.handler.ContextHandlerMeta
Sets the context handler.
setHeader(String, String) - Method in class org.b3log.latke.http.RequestContext
Sets a header specified by the given name and value to the response.
setHeader(String, String) - Method in class org.b3log.latke.http.Response
 
setHttpMethods(HttpMethod[]) - Method in class org.b3log.latke.http.handler.ContextHandlerMeta
Sets the HTTP methods with the specified HTTP methods.
setHttpOnly(boolean) - Method in class org.b3log.latke.http.Cookie
 
setId(String) - Method in class org.b3log.latke.plugin.AbstractPlugin
Sets the id with the specified id.
setInvokeHolder(Method) - Method in class org.b3log.latke.http.handler.ContextHandlerMeta
Sets the invoke holder with the specified invoke holder.
setIsKey(Boolean) - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
setIsKey.
setJSON(JSONObject) - Method in class org.b3log.latke.http.Request
 
setJSONObject(JSONObject) - Method in class org.b3log.latke.http.renderer.JsonRenderer
Sets the json object to render with the specified json object.
setJSONP(boolean) - Method in class org.b3log.latke.http.renderer.JsonRenderer
Sets whether render as JSONP.
setKeepAlive(boolean) - Method in class org.b3log.latke.http.Response
 
setKeys(List<FieldDefinition>) - Method in class org.b3log.latke.repository.jdbc.util.RepositoryDefinition
Sets the keys whit the specified keys.
setLakteProps(Properties) - Static method in class org.b3log.latke.Latkes
Sets latke.props with the specified props.
setLatkeProperty(String, String) - Static method in class org.b3log.latke.Latkes
Sets latke.props with the specified key and value.
setLength(Integer) - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
setLength.
setLocale(Locale) - Static method in class org.b3log.latke.Latkes
Sets the locale with the specified locale.
setLocale(Request, Locale) - Static method in class org.b3log.latke.util.Locales
Sets the specified locale into session of the specified request.
setLocale(Locale) - Static method in class org.b3log.latke.util.Locales
Sets locale.
setLocalProperty(String, String) - Static method in class org.b3log.latke.Latkes
Sets local.props with the specified key and value.
setLocalProps(Properties) - Static method in class org.b3log.latke.Latkes
Sets local.props with the specified props.
setMaxAge(long) - Method in class org.b3log.latke.http.Cookie
 
setMethod(String) - Method in class org.b3log.latke.http.Request
 
setName(String) - Method in class org.b3log.latke.cache.AbstractCache
 
setName(String) - Method in interface org.b3log.latke.cache.Cache
Sets the name of this cache with the specified name.
setName(String) - Method in class org.b3log.latke.plugin.AbstractPlugin
Sets the name of this plugin with the specified name.
setName(String) - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
setName.
setName(String) - Method in class org.b3log.latke.repository.jdbc.util.JdbcRepositories.CreateTableResult
 
setName(String) - Method in class org.b3log.latke.repository.jdbc.util.RepositoryDefinition
Sets the name with the specified name.
setNullable(Boolean) - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
setNullable.
setPage(int, int) - Method in class org.b3log.latke.repository.Query
Sets the current page number and page size with the specified current page number and the specified page sieze.
setPageCount(int) - Method in class org.b3log.latke.repository.Query
Sets the page count with the specified page count.
setPageSize(int) - Method in class org.b3log.latke.repository.Query
Sets the page size with the specified page size.
setParameter(String, String) - Method in class org.b3log.latke.http.Request
 
setParams(Map<String, String>) - Method in class org.b3log.latke.http.Request
 
setPath(String) - Method in class org.b3log.latke.http.Cookie
 
setPathVars(Map<String, String>) - Method in class org.b3log.latke.http.handler.MatchResult
Set path vars.
setPresision(Integer) - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
Sets the precision with the specified precision.
setPretty(boolean) - Method in class org.b3log.latke.http.renderer.JsonRenderer
Sets whether pretty rendering.
setProgrammatic(boolean) - Method in class org.b3log.latke.repository.jdbc.JdbcTransaction
Sets this transaction is programmatic with the specified flag.
setRenderer(AbstractResponseRenderer) - Method in class org.b3log.latke.http.RequestContext
Sets the renderer with the specified renderer.
setRendererId(String) - Method in class org.b3log.latke.http.renderer.AbstractResponseRenderer
Sets the id of this renderer.
setRendererId(String) - Method in class org.b3log.latke.plugin.AbstractPlugin
setRendererId.
setRepositoriesWritable(boolean) - Static method in class org.b3log.latke.repository.Repositories
Sets all repositories whether is writable with the specified flag.
setRepositoryDefinitions(List<RepositoryDefinition>) - Static method in class org.b3log.latke.repository.jdbc.util.JdbcRepositories
Sets the repository definitions.
setRequest(Request) - Method in class org.b3log.latke.http.RequestContext
Sets the request with the specified request.
setRequestURI(String) - Method in class org.b3log.latke.http.Request
 
setResponse(Response) - Method in class org.b3log.latke.http.RequestContext
Sets the response with the specified response.
setRuntimeMode(Latkes.RuntimeMode) - Static method in class org.b3log.latke.Latkes
Sets the runtime mode with the specified mode.
setScanPath(String) - Static method in class org.b3log.latke.Latkes
Sets IoC scan path with the specified scan path.
setSecure(boolean) - Method in class org.b3log.latke.http.Cookie
 
setSession(Session) - Method in class org.b3log.latke.http.Request
 
setSetting(JSONObject) - Method in class org.b3log.latke.plugin.AbstractPlugin
setSetting.
setStaticPath(String) - Static method in class org.b3log.latke.Latkes
Sets static path with the specified static path.
setStaticResource(boolean) - Method in class org.b3log.latke.http.Request
 
setStaticResourceVersion(String) - Static method in class org.b3log.latke.Latkes
Sets static resource version with the specified static resource version.
setStatus(int) - Method in class org.b3log.latke.http.RequestContext
Sends the specified status code.
setStatus(int) - Method in class org.b3log.latke.http.Response
 
setStatus(PluginStatus) - Method in class org.b3log.latke.plugin.AbstractPlugin
Sets the status with the specified status.
setSuccess(boolean) - Method in class org.b3log.latke.repository.jdbc.util.JdbcRepositories.CreateTableResult
 
setTemplateName(String) - Method in class org.b3log.latke.http.renderer.AbstractFreeMarkerRenderer
Sets the template name with the specified template name.
setType(String) - Method in class org.b3log.latke.repository.jdbc.util.FieldDefinition
setType.
setUriTemplates(String[]) - Method in class org.b3log.latke.http.handler.ContextHandlerMeta
Set the URI templates with the specified URI templates.
setVersion(String) - Method in class org.b3log.latke.plugin.AbstractPlugin
Sets the version of this plugin with the specified version.
setViewName(String) - Method in class org.b3log.latke.plugin.ViewLoadEventData
Sets the name of the template file with the specified name.
setWritable(boolean) - Method in class org.b3log.latke.repository.AbstractRepository
 
setWritable(boolean) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
setWritable(boolean) - Method in class org.b3log.latke.repository.NoneRepository
 
setWritable(boolean) - Method in interface org.b3log.latke.repository.Repository
Sets whether the repository is writable with the specified flag.
shutdown() - Static method in class org.b3log.latke.cache.redis.RedisCache
Shutdowns redis cache.
shutdown() - Method in class org.b3log.latke.http.BaseServer
 
shutdown() - Static method in class org.b3log.latke.Latkes
Shutdowns Latke.
shutdownConnectionPool() - Static method in class org.b3log.latke.repository.jdbc.util.Connections
Shutdowns the connection pool.
signHmacSHA1(String, String) - Static method in class org.b3log.latke.util.Crypts
Signs the specified source string using the specified secret.
similar(Object) - Method in class org.json.JSONArray
Determine if two JSONArrays are similar.
similar(Object) - Method in class org.json.JSONObject
Determine if two JSONObjects are similar.
SIMPLE_DATE_FORMAT1 - Static variable in class org.b3log.latke.Keys
Simple date format.
Singleton - Annotation Type in org.b3log.latke.ioc
Identifies a type that the injector only instantiates once.
SingletonContext - Class in org.b3log.latke.ioc
Abstract context.
SingletonContext() - Constructor for class org.b3log.latke.ioc.SingletonContext
Constructs a context.
skipPast(String) - Method in class org.json.XMLTokener
Skip characters until past the requested string.
skipTo(char) - Method in class org.json.JSONTokener
Skip characters until the next character is the requested character.
SLASH - Static variable in class org.json.XML
The Character '/'.
SortDirection - Enum in org.b3log.latke.repository
Sort direction.
start(int) - Method in class org.b3log.latke.http.BaseServer
 
start(Collection<Class<?>>) - Static method in class org.b3log.latke.ioc.BeanManager
Starts the application with the specified bean class and bean modules.
start() - Method in class org.b3log.latke.plugin.AbstractPlugin
The lifecycle pointcut for the plugin to start(enable status).
start(String) - Static method in class org.b3log.latke.util.Stopwatchs
Starts a task timing with the specified task title.
START_TIME_MILLIS - Static variable in class org.b3log.latke.Keys.HttpRequest
Key of start time millis.
startRequestHandler - Static variable in class org.b3log.latke.http.Dispatcher
Start request handler, handle before all handlers.
startupTimeMillis - Static variable in class org.b3log.latke.Latkes
Application startup time millisecond.
STATIC_PATH - Static variable in class org.b3log.latke.Keys.Server
Key of static path.
STATIC_SERVE_PATH - Static variable in class org.b3log.latke.Keys.Server
Key of static serve path.
STATIC_SERVER - Static variable in class org.b3log.latke.Keys.Server
Key of static server.
STATIC_SERVER_HOST - Static variable in class org.b3log.latke.Keys.Server
Key of static server host.
STATIC_SERVER_PORT - Static variable in class org.b3log.latke.Keys.Server
Key of static server port.
STATIC_SERVER_SCHEME - Static variable in class org.b3log.latke.Keys.Server
Key of static server scheme.
StaticFileRenderer - Class in org.b3log.latke.http.renderer
Static file renderer.
StaticFileRenderer() - Constructor for class org.b3log.latke.http.renderer.StaticFileRenderer
 
StaticResourceHandler - Class in org.b3log.latke.http.handler
Static resource handler.
StaticResourceHandler() - Constructor for class org.b3log.latke.http.handler.StaticResourceHandler
 
StaticResources - Class in org.b3log.latke.util
Static resource utilities.
STATUS_CODE - Static variable in class org.b3log.latke.Keys
Key of action status code.
Stereotype - Annotation Type in org.b3log.latke.ioc
Specifies that an annotation type is a stereotype.
stop() - Method in class org.b3log.latke.plugin.AbstractPlugin
The lifecycle pointcut for the plugin to close(disable status).
Stopwatchs - Class in org.b3log.latke.util
Stop watch utilities for timing of a thread of tasks.
StringMapping - Class in org.b3log.latke.repository.jdbc.mapping
String mapping.
StringMapping() - Constructor for class org.b3log.latke.repository.jdbc.mapping.StringMapping
 
Strings - Class in org.b3log.latke.util
String utilities.
stringToNumber(String) - Static method in class org.json.JSONObject
Converts a string to a number using the narrowest possible type.
stringToValue(String) - Static method in class org.json.JSONObject
Try to convert a string into a number, boolean, or null.
stringToValue(String) - Static method in class org.json.XML
This method is the same as JSONObject.stringToValue(String).
syntaxError(String) - Method in class org.json.JSONTokener
Make a JSONException to signal a syntax error.
syntaxError(String, Throwable) - Method in class org.json.JSONTokener
Make a JSONException to signal a syntax error.

T

TEMAPLTE_DIR_NAME - Static variable in class org.b3log.latke.Keys
Key of template directory name.
Templates - Class in org.b3log.latke.util
Utilities of FreeMarker template engine.
testValidity(Object) - Static method in class org.json.JSONObject
Throw an exception if the object is a NaN or infinite number.
text - Variable in class org.b3log.latke.http.WebSocketChannel.Message
 
TextHtmlRenderer - Class in org.b3log.latke.http.renderer
HTML HTTP response renderer.
TextHtmlRenderer() - Constructor for class org.b3log.latke.http.renderer.TextHtmlRenderer
Constructs a HTML HTTP response renderer.
TextResponseRenderer - Class in org.b3log.latke.http.renderer
Text-like HTTP response renderer.
TextResponseRenderer(String) - Constructor for class org.b3log.latke.http.renderer.TextResponseRenderer
Constructs a text-like HTTP response renderer with the specified content type.
TextXmlRenderer - Class in org.b3log.latke.http.renderer
XML HTTP response renderer.
TextXmlRenderer() - Constructor for class org.b3log.latke.http.renderer.TextXmlRenderer
Constructs a XML HTTP response renderer.
TimeMillisKeyGenerator - Class in org.b3log.latke.repository
Key generator with time millisecond.
TimeMillisKeyGenerator() - Constructor for class org.b3log.latke.repository.TimeMillisKeyGenerator
 
Times - Class in org.b3log.latke.util
Time utilities.
TimeZones - Class in org.b3log.latke.util
https://github.com/nfergu/Java-Time-Zone-List.
TimeZones.TimeZoneWithDisplayNames - Class in org.b3log.latke.util
 
TimeZoneWithDisplayNames(TimeZone, String, String) - Constructor for class org.b3log.latke.util.TimeZones.TimeZoneWithDisplayNames
 
toDataBaseSting(FieldDefinition) - Method in class org.b3log.latke.repository.jdbc.mapping.BooleanMapping
 
toDataBaseSting(FieldDefinition) - Method in class org.b3log.latke.repository.jdbc.mapping.DateMapping
 
toDataBaseSting(FieldDefinition) - Method in class org.b3log.latke.repository.jdbc.mapping.IntMapping
 
toDataBaseSting(FieldDefinition) - Method in class org.b3log.latke.repository.jdbc.mapping.LongMapping
 
toDataBaseSting(FieldDefinition) - Method in interface org.b3log.latke.repository.jdbc.mapping.Mapping
for mapping from java definition to database table-definition sql.
toDataBaseSting(FieldDefinition) - Method in class org.b3log.latke.repository.jdbc.mapping.NumberMapping
 
toDataBaseSting(FieldDefinition) - Method in class org.b3log.latke.repository.jdbc.mapping.StringMapping
 
toJSONArray(Collection<T>) - Static method in class org.b3log.latke.util.CollectionUtils
Converts the specified collection to a JSON array.
toJSONArray(String) - Static method in class org.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONTokener) - Static method in class org.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONArray, String) - Static method in class org.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(JSONArray, JSONTokener) - Static method in class org.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(String) - Static method in class org.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.
toJSONArray(String, boolean) - Static method in class org.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.
toJSONArray(XMLTokener, boolean) - Static method in class org.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.
toJSONArray(XMLTokener) - Static method in class org.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONArray using the JsonML transform.
toJSONArray(JSONArray) - Method in class org.json.JSONObject
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONObject() - Method in class org.b3log.latke.plugin.AbstractPlugin
Converts this plugin to a json object (plugin description).
toJSONObject(String) - Static method in class org.json.Cookie
Convert a cookie specification string into a JSONObject.
toJSONObject(String) - Static method in class org.json.CookieList
Convert a cookie list into a JSONObject.
toJSONObject(String) - Static method in class org.json.HTTP
Convert an HTTP header string into a JSONObject.
toJSONObject(JSONArray) - Method in class org.json.JSONArray
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
toJSONObject(String) - Static method in class org.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
toJSONObject(String, boolean) - Static method in class org.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
toJSONObject(XMLTokener) - Static method in class org.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
toJSONObject(XMLTokener, boolean) - Static method in class org.json.JSONML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject using the JsonML transform.
toJSONObject(Properties) - Static method in class org.json.Property
Converts a property file object into a JSONObject.
toJSONObject(String) - Static method in class org.json.XML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONObject(Reader) - Static method in class org.json.XML
Convert a well-formed (but not necessarily valid) XML into a JSONObject.
toJSONObject(Reader, boolean) - Static method in class org.json.XML
Convert a well-formed (but not necessarily valid) XML into a JSONObject.
toJSONObject(String, boolean) - Static method in class org.json.XML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONString() - Method in interface org.json.JSONString
The toJSONString method allows a class to produce its own JSON serialization.
TOKEN - Static variable in class org.b3log.latke.Keys
Key of token.
toLines(String) - Static method in class org.b3log.latke.util.Strings
Converts the specified string into a string list line by line.
toList() - Method in class org.json.JSONArray
Returns a java.util.List containing all of the elements in this array.
toMap() - Method in class org.json.JSONObject
Returns a java.util.Map containing all of the entries in this object.
toProperties(JSONObject) - Static method in class org.json.Property
Converts the JSONObject into a property file object.
toString() - Method in class org.b3log.latke.ioc.annotated.AnnotatedFieldImpl
 
toString() - Method in class org.b3log.latke.ioc.Bean
 
toString() - Method in class org.b3log.latke.ioc.FieldInjectionPoint
 
toString() - Method in class org.b3log.latke.repository.CompositeFilter
 
toString() - Method in class org.b3log.latke.repository.Projection
 
toString() - Method in class org.b3log.latke.repository.PropertyFilter
 
toString() - Method in class org.b3log.latke.repository.Query
 
toString(JSONArray) - Static method in class org.json.CDL
Produce a comma delimited text from a JSONArray of JSONObjects.
toString(JSONArray, JSONArray) - Static method in class org.json.CDL
Produce a comma delimited text from a JSONArray of JSONObjects using a provided list of names.
toString(JSONObject) - Static method in class org.json.Cookie
Convert a JSONObject into a cookie specification string.
toString(JSONObject) - Static method in class org.json.CookieList
Convert a JSONObject into a cookie list.
toString(JSONObject) - Static method in class org.json.HTTP
Convert a JSONObject into an HTTP header.
toString() - Method in class org.json.JSONArray
Make a JSON text of this JSONArray.
toString(int) - Method in class org.json.JSONArray
Make a pretty-printed JSON text of this JSONArray.
toString(JSONArray) - Static method in class org.json.JSONML
Reverse the JSONML transformation, making an XML text from a JSONArray.
toString(JSONObject) - Static method in class org.json.JSONML
Reverse the JSONML transformation, making an XML text from a JSONObject.
toString() - Method in class org.json.JSONObject
Make a JSON text of this JSONObject.
toString(int) - Method in class org.json.JSONObject
Make a pretty-printed JSON text of this JSONObject.
toString() - Method in class org.json.JSONPointer
Returns a string representing the JSONPointer path value using string representation
toString() - Method in class org.json.JSONStringer
Return the JSON text.
toString() - Method in class org.json.JSONTokener
Make a printable string of this JSONTokener.
toString(Object) - Static method in class org.json.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toString(Object, String) - Static method in class org.json.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toURIFragment() - Method in class org.json.JSONPointer
Returns a string representing the JSONPointer path value using URI fragment identifier representation
trace() - Method in class org.b3log.latke.http.Dispatcher.Router
 
trace(String) - Method in class org.b3log.latke.logging.Logger
Logs the specified message at the TRACE level.
Transaction - Interface in org.b3log.latke.repository
Transaction.
Transactional - Annotation Type in org.b3log.latke.repository.annotation
Indicates that an annotated method is transactional.
trimAll(String[]) - Static method in class org.b3log.latke.util.Strings
Trims every string in the specified strings array.
TX - Static variable in class org.b3log.latke.repository.jdbc.JdbcRepository
The current transaction.

U

unescape(String) - Static method in class org.json.Cookie
Convert %hh sequences to single characters, and convert plus to space.
unescape(String) - Static method in class org.json.XML
Removes XML escapes from the string.
unplug() - Method in class org.b3log.latke.plugin.AbstractPlugin
Unplugs.
unregisterListener(AbstractEventListener<?>) - Method in class org.b3log.latke.event.EventManager
Unregisters the specified event listener.
update(String, JSONObject, String...) - Method in class org.b3log.latke.repository.AbstractRepository
 
update(String, JSONObject, String...) - Method in class org.b3log.latke.repository.jdbc.JdbcRepository
 
update(String, JSONObject, String...) - Method in class org.b3log.latke.repository.NoneRepository
 
update(String, JSONObject, String...) - Method in interface org.b3log.latke.repository.Repository
Updates a certain json object specified by the given id with the specified new json object and property names.
uri(String) - Method in class org.b3log.latke.http.Dispatcher.Router
 
uris(String[]) - Method in class org.b3log.latke.http.Dispatcher.Router
 
UriTemplates - Class in org.b3log.latke.util
URI template utilities.
URL_PROTOCOL_VFS - Static variable in class org.b3log.latke.ioc.ClassPathResolver
URL protocol for a JBoss VFS resource: "vfs".
URLs - Class in org.b3log.latke.util
URL utilities.
User - Class in org.b3log.latke.model
This class defines all user model relevant keys.
USER - Static variable in class org.b3log.latke.model.User
User.
USER_EMAIL - Static variable in class org.b3log.latke.model.User
Key of user email.
USER_NAME - Static variable in class org.b3log.latke.model.User
Key of user name.
USER_NEW_PASSWORD - Static variable in class org.b3log.latke.model.User
Key of user new password.
USER_PASSWORD - Static variable in class org.b3log.latke.model.User
Key of user password.
USER_ROLE - Static variable in class org.b3log.latke.model.User
Key of user role.
USER_ROLE_ID - Static variable in class org.b3log.latke.model.User
Role id of this user.
USER_UPDATE_TIME - Static variable in class org.b3log.latke.model.User
Key of update time of this user.
USER_URL - Static variable in class org.b3log.latke.model.User
Key of user URL.
USERS - Static variable in class org.b3log.latke.model.User
Users.

V

value(boolean) - Method in class org.json.JSONWriter
Append either the value true or the value false.
value(double) - Method in class org.json.JSONWriter
Append a double value.
value(long) - Method in class org.json.JSONWriter
Append a long value.
value(Object) - Method in class org.json.JSONWriter
Append an object value.
valueOf(String) - Static method in enum org.b3log.latke.http.HttpMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.b3log.latke.Latkes.RuntimeCache
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.b3log.latke.Latkes.RuntimeDatabase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.b3log.latke.Latkes.RuntimeMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.b3log.latke.logging.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.b3log.latke.plugin.PluginStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.b3log.latke.plugin.PluginType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.b3log.latke.repository.annotation.Isolation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.b3log.latke.repository.annotation.Propagation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.b3log.latke.repository.CompositeFilterOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.b3log.latke.repository.FilterOperator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.b3log.latke.repository.SortDirection
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.b3log.latke.http.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.b3log.latke.Latkes.RuntimeCache
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.b3log.latke.Latkes.RuntimeDatabase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.b3log.latke.Latkes.RuntimeMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.b3log.latke.logging.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.b3log.latke.plugin.PluginStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.b3log.latke.plugin.PluginType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.b3log.latke.repository.annotation.Isolation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.b3log.latke.repository.annotation.Propagation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.b3log.latke.repository.CompositeFilterOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.b3log.latke.repository.FilterOperator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.b3log.latke.repository.SortDirection
Returns an array containing the constants of this enum type, in the order they are declared.
valueToString(Object) - Static method in class org.json.JSONObject
Make a JSON text of an Object value.
valueToString(Object) - Static method in class org.json.JSONWriter
Make a JSON text of an Object value.
VERSION - Static variable in class org.b3log.latke.Latkes
Version.
ViewLoadEventData - Class in org.b3log.latke.plugin
View load event data.
ViewLoadEventData() - Constructor for class org.b3log.latke.plugin.ViewLoadEventData
 
ViewLoadEventHandler - Class in org.b3log.latke.plugin
FreeMarker view load event handler.
ViewLoadEventHandler() - Constructor for class org.b3log.latke.plugin.ViewLoadEventHandler
 
VISITOR_ROLE - Static variable in class org.b3log.latke.model.Role
Visitor role.

W

warn(String) - Method in class org.b3log.latke.logging.Logger
Logs the specified message at the WARN level.
webSocket(String, WebSocketChannel) - Static method in class org.b3log.latke.http.Dispatcher
WebSocket channel routing.
WebSocketChannel - Interface in org.b3log.latke.http
Websocket channel.
WebSocketChannel.Error - Class in org.b3log.latke.http
 
WebSocketChannel.Message - Class in org.b3log.latke.http
 
WebSocketSession - Class in org.b3log.latke.http
Websocket session.
wrap(Object) - Static method in class org.json.JSONObject
Wrap an object, if necessary.
write(Writer) - Method in class org.json.JSONArray
Write the contents of the JSONArray as JSON text to a writer.
write(Writer, int, int) - Method in class org.json.JSONArray
Write the contents of the JSONArray as JSON text to a writer.
write(Writer) - Method in class org.json.JSONObject
Write the contents of the JSONObject as JSON text to a writer.
write(Writer, int, int) - Method in class org.json.JSONObject
Write the contents of the JSONObject as JSON text to a writer.
writer - Variable in class org.json.JSONWriter
The writer that will receive the output.

X

XML - Class in org.json
This provides static methods to convert an XML text into a JSONObject, and to covert a JSONObject into an XML text.
XML() - Constructor for class org.json.XML
 
XMLs - Class in org.b3log.latke.util
XML utilities.
XMLTokener - Class in org.json
The XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts.
XMLTokener(Reader) - Constructor for class org.json.XMLTokener
Construct an XMLTokener from a Reader.
XMLTokener(String) - Constructor for class org.json.XMLTokener
Construct an XMLTokener from a string.
A B C D E F G H I J K L M N O P Q R S T U V W X 
Skip navigation links

Copyright © 2009–2019 B3log. All rights reserved.