This repository was archived by the owner on Jul 31, 2022. It is now read-only.
Releases: Ktt-Development/simplehttpserver
Releases · Ktt-Development/simplehttpserver
03.04.00
03.03.00
Changes
⭐ New Features
- Added Throttled Handler #39 (@Katsute)
- Replace #createTemporaryContext with TemporaryHandler #38 (@Katsute)
- Made HttpSession a server method #37 (@Katsute)
- Changed SimpleHttpHandler from abstract to interface #35 (@Katsute)
- Authenticator added to #createContext #34 (@Katsute)
- Http Cookie Builder #32 (@Katsute)
🔧 Optimizations
- Added Throttled Handler #39 (@Katsute)
- Replace #createTemporaryContext with TemporaryHandler #38 (@Katsute)
- Made HttpSession a server method #37 (@Katsute)
- Added NullPointerException on missing Cookie key and value #27 (@Katsute)
- Added no cache to SSE #26 (@Katsute)
📄 Documentation
03.02.00
03.01.01
03.01.00
Changes
- added new
SSEHandlerfor server sent events - added
#getOutputStreamtoSimpleHttpExchange - output streams now no longer close unless
SimpleHttpExchange#close()is run or if the stream is closed.
Development
- added
finalkeyword to some methods - removed debug string from
RedirectHandler
03.00.01
03.00.00
02.00.00
Jitpack not supported for this version
v2 is a complete overhaul; any project using older versions will not work with this version
- Added
SimpleHttpCookie - Added
HttpSession - Added
#toString()for all classes - Replaced
HttpServerwithSimpleHttpServer- Added method to get handlers given a context
- Changed
#createContext(...)so it returnsHttpContext - Added temporary contexts
contexts that delete themselves after one exchange and/or after expiry
- Replace
RequestPacketwithSimpleHttpExchange- Added methods for context, principal, scheme, authority, context, and fragment
- Added methods to get and set cookies
- Added parameter to
#send(...)for gzip (was enabled by default) - Added missing get/set attribute
- Optimized initialization
- Optimized get/post
- Replaced
RequestHandlerwith extendedSimpleHttpHandlerwhich now extendsHttpHandler - Replaced
AuthenticatorwithSimpleHttpExchangeAuthenticator - Changed
PredicateHandlerso it extendsSimpleHttpHandler- Optimized how predicate was handled
- Changed
RootHandlerso it extendsSimpleHttpHandler - Changed
RedirectHandlerso it extendsSimpleHttpHandler
- Merged
FilePreHandlerandFilePostHandlertoFileHandlerwhich now extendsSimpleHttpHandler- Merged
FileNameAdapterandFileBytesAdaptertoFileHandlerAdapter - Optimized pre/post
- Merged
- Optimized how context standardization was formatted
01.02.00
Jitpack not supported for this version
- Added simplified http server
- Added simplified http exchange
- Added simplified exchange hander
- Added methods for GET / POST requests
- Added support for multipart/form-data
- Added redirect handler
- Added predicate handler
- Added file handler
- Added default handle for missing directories
- Added root/index handler
- Added static http codes
- Added context map to http