Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BarcodeAPI/server
/ functions
Functions
596 in github.com/BarcodeAPI/server
⨍
Functions
596
◇
Types & classes
118
↓ 219 callers
Method
getHeader
(String header)
src/test/java/org/barcodeapi/test/ServerTestBase.java:164
↓ 171 callers
Method
put
(String key, CachedObject value)
src/main/java/org/barcodeapi/server/cache/ObjectCache.java:71
↓ 145 callers
Method
getResponseCode
()
src/test/java/org/barcodeapi/test/ServerTestBase.java:159
↓ 119 callers
Method
apiGet
(String path)
src/test/java/org/barcodeapi/test/ServerTestBase.java:89
↓ 55 callers
Method
encode
(String data)
src/test/java/org/barcodeapi/test/ServerTestBase.java:76
↓ 38 callers
Method
setHeader
(String key, String val)
src/test/java/org/barcodeapi/test/ServerTestBase.java:71
↓ 30 callers
Method
getStats
()
src/main/java/org/barcodeapi/server/core/RestHandler.java:69
↓ 27 callers
Method
getStatusCode
()
src/main/java/org/barcodeapi/server/core/GenerationException.java:49
↓ 25 callers
Method
getCache
(String name)
src/main/java/org/barcodeapi/server/cache/ObjectCache.java:222
↓ 25 callers
Function
trackingEvent
* Tracking event handler
resources/ext/js/ui.js:168
↓ 23 callers
Method
serverGet
(String path)
src/test/java/org/barcodeapi/test/ServerTestBase.java:113
↓ 21 callers
Method
initHandler
Initialize a new handler to be served by Jetty
src/main/java/org/barcodeapi/core/ServerLauncher.java:179
↓ 20 callers
Method
get
(String key)
src/main/java/org/barcodeapi/server/cache/ObjectCache.java:81
↓ 17 callers
Method
getName
()
src/main/java/org/barcodeapi/server/core/CodeType.java:124
↓ 16 callers
Method
fromURI
Returns a BarcodeRequest object for the given URI. @param uri the resource identifier @return the barcode request object @throws GenerationException
src/main/java/org/barcodeapi/server/gen/BarcodeRequest.java:185
↓ 14 callers
Method
get
Retrieve application configuration. @param cfg configuration type @return the cached configuration object
src/main/java/org/barcodeapi/core/Config.java:44
↓ 13 callers
Method
getOptions
Returns a map of options used to generate the barcode. @return a map of request options
src/main/java/org/barcodeapi/server/gen/BarcodeRequest.java:128
↓ 13 callers
Method
getRequest
Returns the raw request. @return the raw request
src/main/java/org/barcodeapi/server/core/RequestContext.java:214
↓ 13 callers
Function
uiAddListener
* Add an event listener to a UI element.
resources/ext/js/ui.js:157
↓ 12 callers
Method
getData
Returns the requested data content. @return the requested data content
src/main/java/org/barcodeapi/server/gen/BarcodeRequest.java:83
↓ 11 callers
Function
uiShowHide
* Show or Hide UI elements based on configured options.
resources/ext/js/ui.js:146
↓ 10 callers
Method
getLimiter
(Subscriber sub, String address)
src/main/java/org/barcodeapi/server/cache/LimiterCache.java:27
↓ 10 callers
Method
getTokens
Returns the Tokens controller object. @return the tokens controller object
src/main/java/org/barcodeapi/server/cache/CachedLimiter.java:98
↓ 9 callers
Method
getCallerID
Returns the caller associated with the limiter. @return caller
src/main/java/org/barcodeapi/server/cache/CachedLimiter.java:80
↓ 9 callers
Method
inst
()
src/main/java/org/barcodeapi/server/core/CodeTypes.java:23
↓ 8 callers
Method
getCost
Returns the token cost for the request. @return the barcode token cost
src/main/java/org/barcodeapi/server/gen/BarcodeRequest.java:101
↓ 8 callers
Method
getKey
Returns the key for the session. @return the key for the session
src/main/java/org/barcodeapi/server/cache/CachedSession.java:52
↓ 8 callers
Method
remove
(String key)
src/main/java/org/barcodeapi/server/cache/ObjectCache.java:118
↓ 7 callers
Method
getMethod
Returns the method for the request. @return the method for the request
src/main/java/org/barcodeapi/server/core/RequestContext.java:259
↓ 7 callers
Method
getReputation
Returns the Reputation object. @return the reputation object
src/main/java/org/barcodeapi/server/cache/CachedLimiter.java:89
↓ 7 callers
Method
getTypes
Returns a list of all supported types. @return a list of all supported types
src/main/java/org/barcodeapi/server/core/CodeTypes.java:73
↓ 7 callers
Method
getURI
(int id)
src/test/java/org/barcodeapi/test/core/TestRateLimiter.java:19
↓ 6 callers
Method
getDefaults
()
src/main/java/org/barcodeapi/server/core/CodeType.java:208
↓ 6 callers
Method
getExceptionType
()
src/main/java/org/barcodeapi/server/core/GenerationException.java:66
↓ 6 callers
Method
getType
Returns the CodeType associated with the generator. @return associated CodeType
src/main/java/org/barcodeapi/server/gen/CodeGenerator.java:23
↓ 6 callers
Method
getType
Returns the requested barcode type. @return the requested barcode type
src/main/java/org/barcodeapi/server/gen/BarcodeRequest.java:74
↓ 6 callers
Method
has
(String key)
src/main/java/org/barcodeapi/server/cache/ObjectCache.java:77
↓ 6 callers
Method
raw
()
src/main/java/org/barcodeapi/server/cache/ObjectCache.java:66
↓ 6 callers
Method
reload
Reload subscriber info from configuration on disk.
src/main/java/org/barcodeapi/server/cache/SubscriberCache.java:37
↓ 5 callers
Method
count
()
src/main/java/org/barcodeapi/server/cache/ObjectCache.java:91
↓ 5 callers
Method
getAccessCount
Returns the number of time the object has been accessed. @return number of touches
src/main/java/org/barcodeapi/server/cache/CachedObject.java:43
↓ 5 callers
Method
getTimeExpires
Return the time (in milliseconds) the object will expire. @return time object will expire
src/main/java/org/barcodeapi/server/cache/CachedObject.java:70
↓ 5 callers
Method
toJSON
(CodeType type)
src/main/java/org/barcodeapi/server/core/CodeType.java:217
↓ 4 callers
Function
buildBarcodeURL
* Called each time we should generate a new barcode.
resources/ext/js/index.js:313
↓ 4 callers
Method
expireOldObjects
()
src/main/java/org/barcodeapi/server/cache/ObjectCache.java:96
↓ 4 callers
Method
getBarcodeData
Returns the barcode image data. @return the barcode image data
src/main/java/org/barcodeapi/server/cache/CachedBarcode.java:59
↓ 4 callers
Method
getBodySize
Returns the length of the additional content. @return the length of the additional content
src/main/java/org/barcodeapi/server/core/RequestContext.java:296
↓ 4 callers
Method
getCheckDigit
()
src/main/java/org/barcodeapi/server/core/CodeType.java:164
↓ 4 callers
Method
getCount
Returns the current number of tokens the caller has. @return number of tokens the caller has
src/main/java/org/barcodeapi/server/core/Tokens.java:108
↓ 4 callers
Method
getCustomer
()
src/main/java/org/barcodeapi/server/cache/Subscriber.java:44
↓ 4 callers
Method
getInstance
Returns an instance of the CodeGenerators map. @return an instance of the CodeGenerators map
src/main/java/org/barcodeapi/server/core/CodeGenerators.java:31
↓ 4 callers
Method
getLimit
()
src/main/java/org/barcodeapi/server/cache/Subscriber.java:60
↓ 4 callers
Method
getName
Returns the name of the background task. @return the name of the background task
src/main/java/org/barcodeapi/server/core/BackgroundTask.java:39
↓ 4 callers
Method
getSession
Returns a user session object for the provided session key. @param key the session key @return the user session object
src/main/java/org/barcodeapi/server/core/SessionHelper.java:33
↓ 4 callers
Method
getTimeCreated
Returns the time the object was initially created. @return time object was created
src/main/java/org/barcodeapi/server/cache/CachedObject.java:52
↓ 4 callers
Method
getType
Returns the CodeType object for a give name. @param name the name of the CodeType @return the CodeType object
src/main/java/org/barcodeapi/server/core/CodeTypes.java:84
↓ 4 callers
Method
isAbuser
()
src/main/java/org/barcodeapi/server/core/Reputation.java:69
↓ 4 callers
Method
isComplex
Returns true if the barcode is complex. @return the barcode is complex
src/main/java/org/barcodeapi/server/gen/BarcodeRequest.java:92
↓ 4 callers
Method
touch
Touch the object. Updates the access count and time.
src/main/java/org/barcodeapi/server/cache/CachedObject.java:119
↓ 4 callers
Method
value
()
src/main/java/org/barcodeapi/server/core/Reputation.java:65
↓ 3 callers
Method
asJSON
Returns the subscriber info as a JSON object. @return the subscriber info in JSON format
src/main/java/org/barcodeapi/server/cache/Subscriber.java:85
↓ 3 callers
Method
change
(double delta)
src/main/java/org/barcodeapi/server/core/Reputation.java:100
↓ 3 callers
Method
getBarcodeStringEncoded
Returns an encoded string representing the data encoded in the barcode. @return an encoded barcode text string
src/main/java/org/barcodeapi/server/cache/CachedBarcode.java:90
↓ 3 callers
Method
getCountStr
Returns the current number of tokens the caller has. @return number of tokens the caller has
src/main/java/org/barcodeapi/server/core/Tokens.java:117
↓ 3 callers
Method
getHash
Returns the hash of the share data, this is used as the access key. @return the hash of the share data
src/main/java/org/barcodeapi/server/cache/CachedShare.java:74
↓ 3 callers
Method
getLimiter
Returns the limiter for the request. @return the limiter for the request
src/main/java/org/barcodeapi/server/core/RequestContext.java:333
↓ 3 callers
Method
getResponse
()
src/test/java/org/barcodeapi/test/ServerTestBase.java:169
↓ 3 callers
Method
getResponseAsJSON
()
src/test/java/org/barcodeapi/test/ServerTestBase.java:174
↓ 3 callers
Method
getSubscriber
Returns the subscriber of the request. @return the subscriber of the request
src/main/java/org/barcodeapi/server/core/RequestContext.java:351
↓ 3 callers
Method
getTargets
()
src/main/java/org/barcodeapi/server/core/CodeType.java:176
↓ 3 callers
Method
getTimestamp
Returns the time the request was initiated. @return time request initiated
src/main/java/org/barcodeapi/server/core/RequestContext.java:223
↓ 3 callers
Function
getType
* Get a barcode type object from a target..
resources/ext/js/index.js:670
↓ 3 callers
Method
getTypeFromData
Returns a CodeType object best suited for the given data string. @param data @return
src/main/java/org/barcodeapi/server/core/TypeSelector.java:50
↓ 3 callers
Method
isEnforced
()
src/main/java/org/barcodeapi/server/cache/Subscriber.java:56
↓ 3 callers
Method
isShortLived
Returns true if the cached object is short lived. @return object is short lived
src/main/java/org/barcodeapi/server/cache/CachedObject.java:138
↓ 3 callers
Method
parse
(String accept)
src/main/java/org/barcodeapi/server/core/RequestContext.java:52
↓ 3 callers
Method
request
(String method, String path)
src/test/java/org/barcodeapi/test/ServerTestBase.java:128
↓ 3 callers
Method
requestBarcode
(String uri)
src/main/java/org/barcodeapi/server/gen/BarcodeGenerator.java:31
↓ 3 callers
Method
saveSnapshot
()
src/main/java/org/barcodeapi/server/cache/ObjectCache.java:124
↓ 3 callers
Method
update
(boolean valid)
src/main/java/org/barcodeapi/server/core/Reputation.java:73
↓ 3 callers
Function
updateBarcodeImage
* Update the barcode image with the specified URL.
resources/ext/js/index.js:363
↓ 2 callers
Function
addFromInput
* Add user text from the input field.
resources/ext/js/multi.js:81
↓ 2 callers
Function
addFromText
* Render a barcode request.
resources/ext/js/multi.js:100
↓ 2 callers
Method
clearCache
()
src/main/java/org/barcodeapi/server/cache/ObjectCache.java:204
↓ 2 callers
Function
delayUpdateBarcode
* Delay generation of Barcode * Allows typing into text field without requesting every change.
resources/ext/js/index.js:427
↓ 2 callers
Method
dist
Retrieves the name of the configuration distribution currently in use. @return name of the configuration distribution in use
src/main/java/org/barcodeapi/core/Config.java:34
↓ 2 callers
Method
encodeBase64
Returns the barcode data encoded as Base64. @return barcode data in Base64 format
src/main/java/org/barcodeapi/server/cache/CachedBarcode.java:110
↓ 2 callers
Method
enforceChecksum
()
src/main/java/org/barcodeapi/server/core/CodeType.java:168
↓ 2 callers
Method
formatUser
(String user, String hash)
src/main/java/org/barcodeapi/core/utils/AuthUtils.java:24
↓ 2 callers
Method
getAllowNonprinting
()
src/main/java/org/barcodeapi/server/core/CodeType.java:172
↓ 2 callers
Method
getApps
()
src/main/java/org/barcodeapi/server/cache/Subscriber.java:76
↓ 2 callers
Method
getBarcodeType
Returns the name of the barcode type. @return the name of the barcode type
src/main/java/org/barcodeapi/server/cache/CachedBarcode.java:49
↓ 2 callers
Method
getCostBase
()
src/main/java/org/barcodeapi/server/core/CodeType.java:180
↓ 2 callers
Method
getCostMultiplier
()
src/main/java/org/barcodeapi/server/core/CodeType.java:188
↓ 2 callers
Method
getCostPerChar
()
src/main/java/org/barcodeapi/server/core/CodeType.java:184
↓ 2 callers
Method
getExamples
()
src/main/java/org/barcodeapi/server/core/CodeType.java:192
↓ 2 callers
Method
getGeneratorPool
Returns the generation pool for the given CodeType. @param type type of pooler to get @return the generation pool
src/main/java/org/barcodeapi/server/core/CodeGenerators.java:90
↓ 2 callers
Method
getIPs
()
src/main/java/org/barcodeapi/server/cache/Subscriber.java:68
↓ 2 callers
Method
getKeys
()
src/main/java/org/barcodeapi/server/cache/Subscriber.java:72
↓ 2 callers
Method
getMaxBatch
()
src/main/java/org/barcodeapi/server/cache/Subscriber.java:64
next →
1–100 of 596, ranked by callers