undertow-docs's People
Forkers
darranl jstourac simon04 shishirchaturvedi maolala msfm chery-qualset-hcd-ca-gov bdw429s puggianjv bernardosulzbach tofflos masakikun wyulong fl4via asergeev-sc gunnarmorling reddocs tomjkidd baranowbundertow-docs's Issues
an excellent framework, but lack a good doc. pity!
PathTemplateHandler description points to deprecated functionality.
Undertow's 2.0 docs state:
Path Template
Similar to the path handler, however the path template handler allows you to use URI template expressions in the path, for example /rest/{name}. The value of the relevant path template items are stored as an attachment on the exchange, under the io.undertow.server.handlers.PathTemplateHandler#PATH_TEMPLATE_MATCH attachment key.
ref: http://undertow.io/undertow-docs/undertow-docs-2.0.0/index.html#built-in-handlers
However when I navigate to the PathTemplateHandler I see that the PATH_TEMPLATE_MATCH is deprecated.
/** @deprecated */
@Deprecated
public static final AttachmentKey<PathTemplateHandler.PathTemplateMatch> PATH_TEMPLATE_MATCH = AttachmentKey.create(PathTemplateHandler.PathTemplateMatch.class);
The docs should reflect non-deprecated functionality here.
For reference I am using the following versions of undertow in Maven:
<properties>
<undertow.version>2.0.15.Final</undertow.version>
</properties>
<dependencies>
<dependency>
<groupId>io.undertow</groupId>
<artifactId>undertow-core</artifactId>
<version>${undertow.version}</version>
</dependency>
<dependency>
<groupId>io.undertow</groupId>
<artifactId>undertow-servlet</artifactId>
<version>${undertow.version}</version>
</dependency>
<dependency>
<groupId>io.undertow</groupId>
<artifactId>undertow-websockets-jsr</artifactId>
<version>${undertow.version}</version>
</dependency>
</dependencies>
about work-thread setting.
Why workerThreads = ioThreads * 8,
Instead of *9 or *10 or other?
Broken link
In http://undertow.io/undertow-docs/undertow-docs-1.4.0/index.html#security, the link to Servlet Security (http://undertow.io/undertow-docs/servlet/security.html) is broken -- 404.
Is it supposed to refer to http://undertow.io/undertow-docs/undertow-docs-1.4.0/index.html#servlet-security ?
worker
https://undertow.io/ uses a certificate for jboss.org
Error Handling issue
Just one tip about error handling, if you dispatch the request like this:
if (exchange.isInIoThread()) {
exchange.dispatch(this);
return;
}
You are not able to handle the error by using the outer handler, one simple workaround is:
if (exchange.isInIoThread()) {
exchange.dispatch(new ErrorHandler(this));
return;
}
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.