Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Releases: Ktt-Development/simplehttpserver

03.04.00

18 May 02:09
aad1086
Compare
Choose a tag to compare

Changes

⭐ New Features

🔧 Optimizations

  • Change SimpleHttpExchangeImpl so it extends SimpleHttpExchange #41 (@Katsute)
  • Change SimpleHttpServerImpl so it extends SimpleHttpServer #42 (@Katsute)

📄 Documentation

03.03.00

07 May 02:20
0730971
Compare
Choose a tag to compare

Changes

⭐ New Features

🔧 Optimizations

📄 Documentation

03.02.00

16 Apr 01:43
e2785bd
Compare
Choose a tag to compare

Changes

  • Implemented #22 (PredicateHandler now uses HttpExchange) (@Katsute)
  • Implemented #23 (#createContext() now throws IllegalArgumentException if not added to root / directory) (@Katsute)

03.01.01

13 Apr 23:00
2238292
Compare
Choose a tag to compare

Changes

  • This update only has development changes, no need to update dependency.

Development

  • removed junit
  • added SCM and URL to pom

03.01.00

09 Apr 23:09
be0d67d
Compare
Choose a tag to compare

Changes

  • added new SSEHandler for server sent events
  • added #getOutputStream to SimpleHttpExchange
  • output streams now no longer close unless SimpleHttpExchange#close() is run or if the stream is closed.

Development

  • added final keyword to some methods
  • removed debug string from RedirectHandler

03.00.01

08 Apr 03:07
8cd7e2d
Compare
Choose a tag to compare
03.00.01 Pre-release
Pre-release

Changes

  • Fixed memory leak in read (#15)
  • Fixed memory leak in write (#16)

Development

  • updated apache source plugin to 3.2.1
  • updated pom versioning

03.00.00

25 Mar 03:01
b8986ef
Compare
Choose a tag to compare
03.00.00 Pre-release
Pre-release

This update changes the top level directory from ktt/lib/httpserver to com/kttdevelopment/simplehttpserver

  • updated to support jitpack

02.00.00

18 Mar 17:49
5b2ebe7
Compare
Choose a tag to compare
02.00.00 Pre-release
Pre-release

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 HttpServer with SimpleHttpServer
    • Added method to get handlers given a context
    • Changed #createContext(...) so it returns HttpContext
    • Added temporary contexts

      contexts that delete themselves after one exchange and/or after expiry

  • Replace RequestPacket with SimpleHttpExchange
    • 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 RequestHandler with extended SimpleHttpHandler which now extends HttpHandler
  • Replaced Authenticator with SimpleHttpExchangeAuthenticator
  • Changed PredicateHandler so it extends SimpleHttpHandler
    • Optimized how predicate was handled
    • Changed RootHandler so it extends SimpleHttpHandler
    • Changed RedirectHandler so it extends SimpleHttpHandler
  • Merged FilePreHandler and FilePostHandler to FileHandler which now extends SimpleHttpHandler
    • Merged FileNameAdapter and FileBytesAdapter to FileHandlerAdapter
    • Optimized pre/post
  • Optimized how context standardization was formatted

01.02.00

15 Feb 17:52
Compare
Choose a tag to compare
01.02.00 Pre-release
Pre-release

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