Author: asoldano
Date: 2014-01-27 09:19:12 -0500 (Mon, 27 Jan 2014)
New Revision: 18276
Modified:
projects/jaxws-undertow-httpspi/trunk/pom.xml
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHeaderMap.java
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHttpContext.java
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHttpExchange.java
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHttpHandler.java
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowServer.java
Log:
Upgrading to Undertow Beta33 and making some fields final
Modified: projects/jaxws-undertow-httpspi/trunk/pom.xml
===================================================================
--- projects/jaxws-undertow-httpspi/trunk/pom.xml 2014-01-26 21:35:31 UTC (rev 18275)
+++ projects/jaxws-undertow-httpspi/trunk/pom.xml 2014-01-27 14:19:12 UTC (rev 18276)
@@ -30,7 +30,7 @@
<junit.version>4.8.1</junit.version>
<cxf.version>2.7.8</cxf.version>
<servlet-api.version>1.0.2.Final</servlet-api.version>
- <io.undertow.version>1.0.0.Beta30</io.undertow.version>
+ <io.undertow.version>1.0.0.Beta33</io.undertow.version>
</properties>
<!-- Dependencies -->
Modified:
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHeaderMap.java
===================================================================
---
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHeaderMap.java 2014-01-26
21:35:31 UTC (rev 18275)
+++
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHeaderMap.java 2014-01-27
14:19:12 UTC (rev 18276)
@@ -37,9 +37,8 @@
public class UndertowHeaderMap implements Map<String, List<String>>
{
+ private final HeaderMap headerMap;
- private HeaderMap headerMap;
-
public UndertowHeaderMap(HeaderMap headerMap) {
this.headerMap = headerMap;
}
Modified:
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHttpContext.java
===================================================================
---
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHttpContext.java 2014-01-26
21:35:31 UTC (rev 18275)
+++
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHttpContext.java 2014-01-27
14:19:12 UTC (rev 18276)
@@ -35,9 +35,9 @@
//TODO:Look at HttpHandlerImpl - avoid to create duplicate UndertowHttpContext to publish
endpoint
public class UndertowHttpContext extends HttpContext
{
- private String handlerpath;
- private PathHandler pathHandler;
- private String path;
+ private final String handlerpath;
+ private final PathHandler pathHandler;
+ private final String path;
public UndertowHttpContext(PathHandler pathHandler, String contextPath, String path)
{
Modified:
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHttpExchange.java
===================================================================
---
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHttpExchange.java 2014-01-26
21:35:31 UTC (rev 18275)
+++
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHttpExchange.java 2014-01-27
14:19:12 UTC (rev 18276)
@@ -44,7 +44,7 @@
*/
public class UndertowHttpExchange extends HttpExchange
{
- private HttpServerExchange undertowExchange;
+ private final HttpServerExchange undertowExchange;
private UndertowHttpContext context;
Modified:
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHttpHandler.java
===================================================================
---
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHttpHandler.java 2014-01-26
21:35:31 UTC (rev 18275)
+++
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowHttpHandler.java 2014-01-27
14:19:12 UTC (rev 18276)
@@ -31,7 +31,7 @@
public class UndertowHttpHandler implements HttpHandler
{
- private javax.xml.ws.spi.http.HttpHandler spihandler;
+ private final javax.xml.ws.spi.http.HttpHandler spihandler;
public UndertowHttpHandler(javax.xml.ws.spi.http.HttpHandler handler)
{
Modified:
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowServer.java
===================================================================
---
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowServer.java 2014-01-26
21:35:31 UTC (rev 18275)
+++
projects/jaxws-undertow-httpspi/trunk/src/main/java/org/jboss/ws/undertow_httpspi/UndertowServer.java 2014-01-27
14:19:12 UTC (rev 18276)
@@ -32,13 +32,13 @@
*/
public class UndertowServer
{
- private Builder builder;
- private PathHandler pathHandler;
+ private final Builder builder;
+ private final PathHandler pathHandler;
private Undertow undertow;
public UndertowServer(int port, String host)
{
- builder = Undertow.builder().addListener(port, host);
+ builder = Undertow.builder().addHttpListener(port, host);
pathHandler = new PathHandler();
}
Show replies by date