[Design of Messaging on JBoss (Messaging/JBoss)] - Re: Netty HTTP transport
by ataylor
anonymous wrote : I forgot to mention that the header name is case insensitive. TreeMap with a custom Comparator should be used perhaps?
ok, cool.
anonymous wrote :
| Commas are interpreted as header value separators only when explicitly specified in the HTTP specification AFAIK. I think we don't need to take care of commas and left it to the user application.
Ok, so all i have to cope with is multiline headers?
anonymous wrote : What do you think about making it non-enum?
fine with me, I'll change it
anonymous wrote : When you create a new URI instance, you can specify query parameters and get them by calling URI.getQuery(). Of course, it's not a convenient form and it requires additional processing. My point is we don't need to hold duplicate information though. We could provide two helper classes:
|
| a) UriBuilder - helps a user to build a URI easily.
|
| UriBuilder ub = new UriBuilder("http://www.jboss.org/hello");
| ub.addParameter("name", "Andy");
| URI uri = ub.toUri();
|
| b) UriQueryDecoder - helps a user to decode the query string
|
| UriQueryDecoder uqd = new UriQueryDecoder(uri);
| uqd.getParameter("name");
Ok, so I'll add these and then use them in decode/encode?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186923#4186923
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186923
17 years, 5 months
[Design of JBoss Build System] - Dependencies via jboss-as-thirdparty
by ALRubinger
I'm looking to bring *all* of the JBossAS dependencies into my project via org.jboss.jbossas:jboss-as-thirdparty.
So I've got a POM with:
<!-- Dependencies -->
| <dependencies>
|
| <!-- Bring in JBossAS Dependencies Transitively via 3rdparty -->
| <dependency>
| <groupId>org.jboss.jbossas</groupId>
| <artifactId>jboss-as-thirdparty</artifactId>
| <version>${version.org.jboss.jbossas}</version>
| <type>pom</type>
| </dependency>
|
| </dependencies>
...upon "mvn dependency:tree", getting:
Missing:
| ----------
| 1) jboss.jbossts:jbossts-tools:jboss-sar:4.4.0.GA
|
| ...
|
| Path to dependency:
| 1) org.jboss.embedded:jboss-embedded-as:jar:0.1.0-SNAPSHOT
| 2) org.jboss.jbossas:jboss-as-thirdparty:pom:5.0.0-SNAPSHOT
| 3) jboss.jbossts:jbossts-tools:jboss-sar:4.4.0.GA
|
| 2) org.jboss.jaxr:juddi-service:jboss-sar:1.2.1.GA
|
| ...
|
| Path to dependency:
| 1) org.jboss.embedded:jboss-embedded-as:jar:0.1.0-SNAPSHOT
| 2) org.jboss.jbossas:jboss-as-thirdparty:pom:5.0.0-SNAPSHOT
| 3) org.jboss.jaxr:juddi-service:jboss-sar:1.2.1.GA
What's up, doc?
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186917#4186917
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186917
17 years, 5 months