Commit graph

23 commits

Author SHA1 Message Date
jeffcheasey88
9cedf6898f RouteBinder -> When declaring a Route, developper can now auto-bind other types than [Matcher, Context, HttpReader, HttpWriter]. Currently, the value will be bind with an interceptor. 2025-05-01 19:28:08 +02:00
jeffcheasey88
12f2561921 StrictReader (will be optimise later) -> use a 1 byte buffer to read data, so it can read bytes when needed without skiping any 2025-04-11 14:39:33 +02:00
jeffcheasey88
7e4cc9f425 Refractor Authenticator -> was visibly not finished previously 2025-01-24 23:15:15 +01:00
jeffcheasey88
8a6b744519 Move JWT system out of router & add possibilité to custom internal Authenticator 2024-10-14 16:10:45 +02:00
jeffcheasey88
9193e0d9d3 Fix callup stacktrace when inner call on RegisterPackages 2024-09-23 18:03:22 +02:00
jeffcheasey88
9f11825f97 RegisterPackages -> ignore other files in compiled runtime directory 2024-09-23 03:33:05 +02:00
jeffcheasey88
c06cc46787 Refractor Dependency Injector -> Add public methods for developper's usage, optimise searching by using correctly the cache, add toString() method for debugs 2024-09-20 23:38:20 +02:00
jeffcheasey88
2cf4363e25 Add Constroller system; a class that contains 0-N methods with Route's annotation; can have Matcher, Context, Reader or Write, or none of them 2024-09-17 13:00:52 +02:00
jeffcheasey88
b47ffac3b1 Exception : Add target constructor + add exception when named dependency not found 2024-09-17 11:04:55 +02:00
jeffcheasey88
25a384cc63 Catch Errors on routes 2024-09-01 21:24:12 +02:00
jeffcheasey88
b1575e5b52 Update Dependencies Injections | Add possibility to give differente object's instance for the same object's type 2024-06-28 21:01:15 +02:00
jeffcheasey88
2c9897a7c5 Add route auto-registering (scan package + dependency injection) 2024-06-06 01:43:12 +02:00
jeffcheasey88
600de755ca JWT -> import & export private key 2024-04-16 11:51:22 +02:00
jeffcheasey88
5be25735ae Catch Exception in a logger 2024-03-28 20:33:27 +01:00
jeffcheasey88
d6ca7c5092 Add Route Interceptor system 2024-03-13 11:07:47 +01:00
jeffcheasey88
bda04a188b Add WebSocket Authentification 2023-09-23 17:40:51 +02:00
jeffcheasey88
b58934cff8 Adapt to catch InvalidJwtException (?) 2023-09-18 12:03:26 +02:00
jeffcheasey88
b06ed20afd Fix error 500 2023-09-09 20:24:01 +02:00
jeffcheasey88
d9d602bb83 Add error 500 2023-09-08 21:33:18 +02:00
jeffcheasey88
d77fe329b8 Optimise route finding (remove maps to use array and add optional re-ordering routes by number of call) 2023-09-07 21:33:21 +02:00
jeffcheasey88
ab33fd465e Add logger (for route calling) 2023-09-07 20:26:29 +02:00
jeffcheasey88
d8e5948fa2 implement stop method to stop the running socket server 2023-08-31 20:33:13 +02:00
jeffcheasey88
f735a7d6bf refractor package for maven repository & add Context & generic getting user & take response code & add default headers 2023-08-29 16:11:37 +02:00
Renamed from src/be/jeffcheasey88/peeratcode/framework/Router.java (Browse further)