fixed javadoc

This commit is contained in:
Greg Wilkins 2016-09-02 15:53:07 +10:00
parent 58c3b30f9e
commit 8edc5f73a2
5 changed files with 5 additions and 6 deletions

View File

@ -69,7 +69,7 @@ public class HostPortHttpField extends HttpField
/* ------------------------------------------------------------ */
/** Get the port.
* @param defaultPort
* @param defaultPort The default port to return if no port set
* @return the port
*/
public int getPort(int defaultPort)

View File

@ -73,7 +73,7 @@ public interface HttpContent
* @param maxBuffer The maximum buffer to allocated for this request. For cached content, a larger buffer may have
* previously been allocated and returned by the {@link HttpContent#getDirectBuffer()} or {@link HttpContent#getIndirectBuffer()} calls.
* @return A {@link HttpContent}
* @throws IOException
* @throws IOException IO Exception reading content
*/
HttpContent getContent(String path,int maxBuffer) throws IOException;
}

View File

@ -315,7 +315,7 @@ public class HttpFields implements Iterable<HttpField>
/**
* Add comma separated values, but only if not already
* present.
* @param header The header to add the value(s) to
* @param name The header to add the value(s) to
* @param values The value(s) to add
* @return True if headers were modified
*/

View File

@ -177,8 +177,8 @@ public class HttpURI
/* ------------------------------------------------------------ */
/** Parse according to https://tools.ietf.org/html/rfc7230#section-5.3
* @param method
* @param uri
* @param method The method to parse the URI against (used to allow CONNECT exceptions)
* @param uri The URI to parse
*/
public void parseRequestTarget(String method,String uri)
{

View File

@ -51,7 +51,6 @@ public enum PathSpecGroup
MIDDLE_GLOB,
/**
* For path specs that have a hardcoded prefix and a trailing wildcard glob.
* <p>
*
* <pre>
* "/downloads/*" - servlet spec