Skip to content

Commit

Permalink
Javadoc cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
noboomu committed May 2, 2017
1 parent e591ab3 commit b32ae92
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 25 deletions.
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.sinistral</groupId>
<artifactId>proteus-core</artifactId>
<version>0.1.0</version>
<version>0.1.1</version>
<name>proteus core</name>
<description>Proteus is an extremely light, fast, and flexible Java REST API framework built atop Undertow.</description>
<url>http://github.com/noboomu/proteus</url>
Expand Down Expand Up @@ -136,7 +136,7 @@
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
Expand All @@ -146,7 +146,7 @@
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<releaseProfiles>ossrh</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
Expand Down Expand Up @@ -344,6 +344,7 @@
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<downloadUrl>https://oss.sonatype.org/content/groups/public/io/sinistral/proteus-core</downloadUrl>
</distributionManagement>

</project>
8 changes: 4 additions & 4 deletions src/main/java/io/sinistral/proteus/server/ServerRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public Deque<FormData.FormValue> files(final String name)

/**
* @param key
* @return
* @return the attachment
* @see io.undertow.util.AbstractAttachable#getAttachment(io.undertow.util.AttachmentKey)
*/
public <T> T getAttachment(AttachmentKey<T> key)
Expand All @@ -112,7 +112,7 @@ public <T> T getAttachment(AttachmentKey<T> key)
}

/**
* @return
* @return the inetSocketAddress
* @see io.undertow.server.HttpServerExchange#getDestinationAddress()
*/
public InetSocketAddress getDestinationAddress()
Expand All @@ -121,7 +121,7 @@ public InetSocketAddress getDestinationAddress()
}

/**
* @return
* @return the query parameters
* @see io.undertow.server.HttpServerExchange#getQueryParameters()
*/
public Map<String, Deque<String>> getQueryParameters()
Expand All @@ -130,7 +130,7 @@ public Map<String, Deque<String>> getQueryParameters()
}

/**
* @return
* @return the path parameters
* @see io.undertow.server.HttpServerExchange#getPathParameters()
*/
public Map<String, Deque<String>> getPathParameters()
Expand Down
9 changes: 2 additions & 7 deletions src/main/java/io/sinistral/proteus/server/ServerResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;
Expand All @@ -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<T>
{
Expand Down Expand Up @@ -98,8 +93,8 @@ public IoCallback getIoCallback()
}

/**
* @param callback
* the callback to set
* @param ioCallback
* the ioCallback to set
*/
public void setIoCallback(IoCallback ioCallback)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ public class DefaultHttpHandler implements HttpHandler

protected final HeaderMap headers = new HeaderMap();


/**
* @param defaultResponseListener
* @param router
*/

@Inject
public DefaultHttpHandler(Config config)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -63,11 +62,7 @@
import net.openhft.compiler.CompilerUtils;

/**
* @author jbauer
@TODO
Binary data in query
Clean this UP!!!
* @author jbauer
*/
public class HandlerGenerator
{
Expand Down

0 comments on commit b32ae92

Please sign in to comment.