diff --git a/pom.xml b/pom.xml
index 422cd79..c6698c6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
io.sinistral
proteus-core
- 0.1.0
+ 0.1.1
proteus core
Proteus is an extremely light, fast, and flexible Java REST API framework built atop Undertow.
http://github.com/noboomu/proteus
@@ -136,7 +136,7 @@
ossrh
https://oss.sonatype.org/
- false
+ true
@@ -146,7 +146,7 @@
true
false
- release
+ ossrh
deploy
@@ -344,6 +344,7 @@
ossrh
https://oss.sonatype.org/service/local/staging/deploy/maven2/
+ https://oss.sonatype.org/content/groups/public/io/sinistral/proteus-core
\ No newline at end of file
diff --git a/src/main/java/io/sinistral/proteus/server/ServerRequest.java b/src/main/java/io/sinistral/proteus/server/ServerRequest.java
index cf2fa68..2f9b5cc 100644
--- a/src/main/java/io/sinistral/proteus/server/ServerRequest.java
+++ b/src/main/java/io/sinistral/proteus/server/ServerRequest.java
@@ -103,7 +103,7 @@ public Deque files(final String name)
/**
* @param key
- * @return
+ * @return the attachment
* @see io.undertow.util.AbstractAttachable#getAttachment(io.undertow.util.AttachmentKey)
*/
public T getAttachment(AttachmentKey key)
@@ -112,7 +112,7 @@ public T getAttachment(AttachmentKey key)
}
/**
- * @return
+ * @return the inetSocketAddress
* @see io.undertow.server.HttpServerExchange#getDestinationAddress()
*/
public InetSocketAddress getDestinationAddress()
@@ -121,7 +121,7 @@ public InetSocketAddress getDestinationAddress()
}
/**
- * @return
+ * @return the query parameters
* @see io.undertow.server.HttpServerExchange#getQueryParameters()
*/
public Map> getQueryParameters()
@@ -130,7 +130,7 @@ public Map> getQueryParameters()
}
/**
- * @return
+ * @return the path parameters
* @see io.undertow.server.HttpServerExchange#getPathParameters()
*/
public Map> getPathParameters()
diff --git a/src/main/java/io/sinistral/proteus/server/ServerResponse.java b/src/main/java/io/sinistral/proteus/server/ServerResponse.java
index cb9d2c3..fcec027 100644
--- a/src/main/java/io/sinistral/proteus/server/ServerResponse.java
+++ b/src/main/java/io/sinistral/proteus/server/ServerResponse.java
@@ -3,10 +3,7 @@
*/
package io.sinistral.proteus.server;
-import java.io.OutputStream;
import java.nio.ByteBuffer;
-import java.nio.channels.Channels;
-import java.nio.charset.Charset;
import java.util.HashMap;
import java.util.Map;
@@ -18,7 +15,6 @@
import com.jsoniter.output.JsonStream;
import io.sinistral.proteus.server.predicates.ServerPredicates;
-import io.undertow.io.AsyncSenderImpl;
import io.undertow.io.IoCallback;
import io.undertow.server.HttpHandler;
import io.undertow.server.HttpServerExchange;
@@ -31,7 +27,6 @@
/**
* @author jbauer
- * @TODO ParameterizevServerResponse TypeLiteral relevant Jsoniter encoder This will remove the lookup and shave some time. Experiment with a ThreadLocal JsonStream and AsciiStream. Refer to JsonStream serialization
*/
public class ServerResponse
{
@@ -98,8 +93,8 @@ public IoCallback getIoCallback()
}
/**
- * @param callback
- * the callback to set
+ * @param ioCallback
+ * the ioCallback to set
*/
public void setIoCallback(IoCallback ioCallback)
{
diff --git a/src/main/java/io/sinistral/proteus/server/handlers/DefaultHttpHandler.java b/src/main/java/io/sinistral/proteus/server/handlers/DefaultHttpHandler.java
index d6d3929..c23d967 100644
--- a/src/main/java/io/sinistral/proteus/server/handlers/DefaultHttpHandler.java
+++ b/src/main/java/io/sinistral/proteus/server/handlers/DefaultHttpHandler.java
@@ -35,11 +35,7 @@ public class DefaultHttpHandler implements HttpHandler
protected final HeaderMap headers = new HeaderMap();
-
- /**
- * @param defaultResponseListener
- * @param router
- */
+
@Inject
public DefaultHttpHandler(Config config)
{
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 d5c2068..3246ce4 100644
--- a/src/main/java/io/sinistral/proteus/server/handlers/HandlerGenerator.java
+++ b/src/main/java/io/sinistral/proteus/server/handlers/HandlerGenerator.java
@@ -10,7 +10,6 @@
import java.lang.reflect.Type;
import java.net.URI;
import java.net.URL;
-import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@@ -63,11 +62,7 @@
import net.openhft.compiler.CompilerUtils;
/**
- * @author jbauer
- @TODO
- Binary data in query
- Clean this UP!!!
-
+ * @author jbauer
*/
public class HandlerGenerator
{