Comments (3)
The current upgradeContext
property is marked as internal - it means that it shouldn't be visible for you in the first place, so as a root cause I'd mark this as a bug, because it's missing the @JvmSynthetic
annotation. If we'd like to open that part of the API, it might be good idea to investigate the pros/cons of doing this, because maybe it'd make more sense to expose only some particular functions like e.g. mentioned path()
- that's the approach we already use for half of the methods in this class.
from javalin.
Ah yeah @tipsy did mention this in Discord but I just forgot to mention that here. Feel free to adjust this to be a Bug then, with another Issue span off discussing the lack of API method for Ws related contexts if that'd how you'd like to manage this? :)
from javalin.
The current upgradeContext property is marked as internal - it means that it shouldn't be visible for you in the first place, so as a root cause I'd mark this as a bug,
I agree that this is a bug, but unfortunately we can't add this annotation now (the method has been public for years). So I chose feature request rather than bug.
from javalin.
Related Issues (20)
- Confusing `Ws{{Action}}Context.matchedPath()` functionality
- Errors during `wsBeforeUpgrade` do not invoke the Request Logger HOT 1
- Support for multiple Request Loggers HOT 4
- WebSocket RequestLogger `onUpgrade`
- Define `wsBeforeUpgrade` via WsConfig HOT 2
- new Javalin.startAndJoin() method HOT 2
- "AccessManager" in Javalin 6 is buggy, beforeMatched and before HOT 6
- Javalin 5.6.4 crashes on java 17, while 5.6.3 works fine HOT 7
- NoClassDefFoundError for several Jetty classes on `Javalin#stop` HOT 2
- Configure multiple OpenAPI files for the Swagger UI plugin in Javalin HOT 3
- handle function called twice HOT 2
- Can the underlying HTTP be switched to Netty to improve QPS throughput? HOT 1
- Before handlers are executed even though another path already matched? HOT 2
- CorsPlugin `reflectClientOrigin` doesn't work in `Before handlers` HOT 4
- Consider introduce a configurable Timeout for JavalinTest
- ⏫ Upgrade to Micrometer 1.13 HOT 4
- Add slim Docker image temple to readme examples HOT 1
- Brotli Compression not enabling HOT 4
- Excessive null checks degrading performance HOT 3
- How to increase the Response Header size? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javalin.