From 4014532bf936a6c24b21ffba00c83645e56069ec Mon Sep 17 00:00:00 2001 From: Christopher Broderick Date: Fri, 31 Aug 2018 20:43:24 +0100 Subject: [PATCH] Fix javadoc errors --- .../main/java/org/openas2/util/HTTPUtil.java | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Server/src/main/java/org/openas2/util/HTTPUtil.java b/Server/src/main/java/org/openas2/util/HTTPUtil.java index 1fa92f23..71f14adc 100644 --- a/Server/src/main/java/org/openas2/util/HTTPUtil.java +++ b/Server/src/main/java/org/openas2/util/HTTPUtil.java @@ -253,7 +253,9 @@ public static byte[] readData(InputStream inStream, OutputStream outStream, Mess } /** - * @param msg The message containing the + * Cleans specific headers to ensure AS2 compatibility + * + * @param hdrs Headers to be cleaned */ public static void cleanIdHeaders(InternetHeaders hdrs) { // Handle the case where the AS2 ID could be encapsulated in double quotes per RFC4130 @@ -312,13 +314,16 @@ public static String[] readRequest(InputStream in) throws IOException { * @param method GET, PUT, POST, DELETE, etc * @param url * The remote connection string - * @param HTTP - * headers to be sent - * @param paramString + * @param headers + * HTTP headers to be sent + * @param params * Parameters for the get. Can be null. - * @param contentType - * Content-Type attribute string for the {@link paramString}. Can be - * null + * @param inputStream + * Source stream for retrieving request data + * @param options + * Any additional options for affecting request behaviour. Can be null. + * @param noChunkMaxSize + * The maximum size before chunking would need to be utilised. 0 disables check for chunking * @return ResponseWrapper * @throws Exception */