Jonathan Cobb
d2360429c1
add HttpUtil.isBrowser
4 years ago
Jonathan Cobb
f04e3f5f86
add format_price handlebars helper
4 years ago
Jonathan Cobb
b6e60fe977
fix rand_ip bug, strip leading slash
4 years ago
Jonathan Cobb
51d700f6fe
add rand_ip handlebars helper
4 years ago
Jonathan Cobb
622fcee160
add more network/hostname utilities
4 years ago
Jonathan Cobb
fc87156268
add sha256expr handlebars helper
4 years ago
Jonathan Cobb
a39467dbcd
add ZillaRuntime.lazyGet
4 years ago
Jonathan Cobb
b6eb1dc57a
add NullOutputStream
4 years ago
Jonathan Cobb
cbd3cec3fc
touch values when accessed
4 years ago
Jonathan Cobb
cd10cd4a5f
ArrayUtil: fix bug in singletonArray, add copyAndReverse
4 years ago
Jonathan Cobb
d5cd6289fa
make match replacement less likely to collide with data
4 years ago
Jonathan Cobb
2de884b2c1
allow insertion of match anywhere in the replacement
4 years ago
Jonathan Cobb
565b0e251a
add ability to prefix replacement with matched text
4 years ago
Jonathan Cobb
29153b8ddc
add CacheLookupException
4 years ago
Jonathan Cobb
57bf440c0a
add terminateQuietly
4 years ago
Jonathan Cobb
f9ae13d05f
always print error
4 years ago
Jonathan Cobb
5a5a91a337
add theadName utility method
4 years ago
Jonathan Cobb
67e2571def
add another await variant
4 years ago
Jonathan Cobb
b2f8b5e687
fix timeout check in await
4 years ago
Jonathan Cobb
a01ed790b6
allow short/zero timeout await
4 years ago
Jonathan Cobb
946d62be17
add .jar mapping
4 years ago
Jonathan Cobb
549884d63d
add stacktrace(Thread)
4 years ago
Jonathan Cobb
c99a437ba4
log stacktrace when forcibly terminating thread
4 years ago
Jonathan Cobb
1594a1ade1
use specialized exception for interrupted sleep
4 years ago
Jonathan Cobb
ac68a28f18
add sleep log
4 years ago
Jonathan Cobb
f8909de835
clarify interrupted sleep log
4 years ago
Jonathan Cobb
009a52edb5
add BigDecimal constants
4 years ago
Jonathan Cobb
77a8875358
rename NullInputStream constant
4 years ago
Jonathan Cobb
c9c5f37387
cache forName lookups
4 years ago
Jonathan Cobb
f6e069150b
add SCHEME_FILE constant
4 years ago
Jonathan Cobb
1d463c0364
add file scheme
4 years ago
Jonathan Cobb
2ee619625e
await now supports caller-supplied sleepInterval and sleepCallback
4 years ago
Jonathan Cobb
009c2ee462
avoid NPE in shortError
4 years ago
Jonathan Cobb
cbd62f426d
componentize host regexes
4 years ago
Jonathan Cobb
e5d7abc4b5
add notEmpty
4 years ago
Kristijan Mitrovic
b127394383
Fix expiration in ExpirationMap ( #2 )
Fix expiration time check in ExpirationMap
Add helper methods for checking past and future timestamp
Co-authored-by: Kristijan Mitrovic <kmitrovic@itekako.com>
Reviewed-on: https://git.bubblev.org/bubblev/cobbzilla-utils/pulls/2
4 years ago
Jonathan Cobb
5e49b6e3e4
add utility to copy directory from resources to filesystem
4 years ago
Kristijan Mitrovic
45579ec840
Add host to domain transformation method ( #1 )
Add host to domain transformation method
Co-authored-by: Kristijan Mitrovic <kmitrovic@itekako.com>
Reviewed-on: https://git.bubblev.org/bubblev/cobbzilla-utils/pulls/1
4 years ago
Jonathan Cobb
156aed329e
whitespace nit
4 years ago
Jonathan Cobb
825ce0905f
ByteLimitedInputStream now throws IOException if stream limit exceeded
4 years ago
Jonathan Cobb
a168473a88
use chunked encoding to send large file
4 years ago
Jonathan Cobb
96ad0b3762
write headers before opening output stream
4 years ago
Jonathan Cobb
50ac0bf0dd
add support for multipart uploads
4 years ago
Jonathan Cobb
2b3bd69e5b
only send upload if there is data
4 years ago
Jonathan Cobb
8404e7baec
fix call to setOutput
4 years ago
Jonathan Cobb
d962fe6f2b
support HttpUtil.post/put with streamed response
4 years ago
Jonathan Cobb
1bdd2482ba
add HttpUtil.get that takes two sets of headers
4 years ago
Jonathan Cobb
2d2f7169b6
update handlebars utils, // means integer division
4 years ago
Jonathan Cobb
cd654568ba
add alias for get, easier for static imports
4 years ago
Jonathan Cobb
922b01b65c
add URIUtil.toUriOrNull
4 years ago