diff --git a/pom.xml b/pom.xml
index dfd66f4..f127da9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,36 @@
4.0.0
io.sinistral
proteus-core
- 0.0.1-SNAPSHOT
+ 0.1.0
+ proteus core
+ Proteus is an extremely light, fast, and flexible Java REST API framework built atop Undertow.
+ http://proteus.sinistral.io
+ jar
+
+
+
+ MIT License
+ http://www.opensource.org/licenses/mit-license.php
+
+
+
+
+
+ Joshua Lee Bauer
+ bauer.j@gmail.com
+
+
+
+
+ scm:git:git://github.com/noboomu/proteus.git
+ scm:git:ssh://github.com:noboomu/proteus.git
+ http://github.com/noboomu/proteus/tree/master
+
+
+
+ UTF-8
+
+
@@ -24,6 +53,74 @@
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 2.2.1
+
+
+ attach-sources
+
+ jar-no-fork
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.9.1
+
+
+ attach-javadocs
+
+ jar
+
+
+ -Xdoclint:none
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 1.5
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+ gpg
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+ 1.6.7
+ true
+
+ ossrh
+ https://oss.sonatype.org/
+ false
+
+
+
+ org.apache.maven.plugins
+ maven-release-plugin
+ 2.5.3
+
+ true
+ false
+ release
+ deploy
+
+
org.eclipse.m2e
lifecycle-mapping
@@ -236,7 +333,11 @@
0.9.9-SNAPSHOT
-
- UTF-8
-
+
+
+ ossrh
+ https://oss.sonatype.org/content/repositories/snapshots
+
+
+
\ No newline at end of file
diff --git a/src/main/java/io/sinistral/proteus/server/handlers/HandlerGenerator.java b/src/main/java/io/sinistral/proteus/server/handlers/HandlerGenerator.java
index 15f9eec..d5c2068 100644
--- a/src/main/java/io/sinistral/proteus/server/handlers/HandlerGenerator.java
+++ b/src/main/java/io/sinistral/proteus/server/handlers/HandlerGenerator.java
@@ -503,32 +503,7 @@ else if (hasFromString)
protected Class> controllerClass;
-
- // public static void main(String[] args)
- // {
- // try
- // {
- // RouteGenerator generator = new RouteGenerator("io.sinistral.proteus.controllers.handlers","RouteHandlers");
- //
- // Set> classes = getApiClasses("io.sinistral.proteus.controllers",null);
- //
- // generator.generateRoutes(classes);
- //
- // StringBuilder sb = new StringBuilder();
- //
- // //generator.getRestRoutes().stream().forEachOrdered( r -> sb.append(r.toString() + "\n"));
- //
- // System.out.println(sb.toString());
- //
- // System.out.println("\n" + generator.sourceString);
- //
- // } catch (Exception e)
- // {
- // log.error(e.getMessage(),e);
- // }
- //
- // }
-
+
public HandlerGenerator(String packageName, Class> controllerClass)
{
this.packageName = packageName;
@@ -673,10 +648,8 @@ else if(t.equals(HttpServerExchange.class) || t.equals(ServerRequest.class))
}
-
- TypeHandler handler = TypeHandler.forType(t);
-
- System.out.println("handler: " + handler);
+
+
return true;
@@ -938,12 +911,10 @@ else if (t.equals(TypeHandler.OptionalListFromStringType) || t.equals(TypeHandle
Class> erasedType = (Class>)extractErasedType(type);
- //System.out.println("optionalist: erasedType: " + erasedType + " type: " + type + " pType: " + pType);
-
+
methodBuilder.addStatement(t.statement, pType, p.getName(), p.getName(), erasedType);
- //TypeHandler.addStatement(methodBuilder,p);
- }
+ }
else
{
TypeHandler.addStatement(methodBuilder, p);