Skip to content

Commit 9fff85b

Browse files
committed
fixes #104 fix javadoc warnings
1 parent eb1865d commit 9fff85b

File tree

6 files changed

+10
-1
lines changed

6 files changed

+10
-1
lines changed

src/main/java/com/networknt/aws/lambda/LightLambdaExchange.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ public int getStatusCode() {
172172
* Terminates the request portion of the exchange and invokes the exchangeRequestCompleteListeners.
173173
* You cannot finalize a request that has already been finalized.
174174
*
175+
* @param fromListener - if the call is from a listener, do not invoke listeners again.
175176
* @return - returns the complete and final request event.
176177
*/
177178
public APIGatewayProxyRequestEvent getFinalizedRequest(boolean fromListener) {
@@ -203,6 +204,7 @@ public APIGatewayProxyRequestEvent getFinalizedRequest(boolean fromListener) {
203204
* Terminates the response portion of the exchange and invokes the exchangeResponseCompleteListeners.
204205
* You cannot finalize a response that has already been finalized.
205206
*
207+
* @param fromListener - if the call is from a listener, do not invoke listeners again.
206208
* @return - returns the complete and final response event.
207209
*/
208210
public APIGatewayProxyResponseEvent getFinalizedResponse(boolean fromListener) {

src/main/java/com/networknt/aws/lambda/cache/DynamoDbCacheManager.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ private void createCacheTable(String tableName) {
187187

188188
/**
189189
* DEBUG FUNCTION - will be changed or deprecated in the future.
190+
* @param tableName - name of the table
191+
* @throws InterruptedException - exception
190192
*/
191193
public void deleteTable(String tableName) throws InterruptedException {
192194

@@ -203,6 +205,7 @@ public void deleteTable(String tableName) throws InterruptedException {
203205
/**
204206
* Checks to see if the table exists.
205207
*
208+
* @param tableName - name of the table
206209
* @return - returns true if the table exists
207210
*/
208211
public boolean doesTableExist(String tableName) {

src/main/java/com/networknt/aws/lambda/handler/LambdaHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public interface LambdaHandler {
3030

3131
/**
3232
* Indicate if this middleware handler is asynchronous or not.
33+
* @return boolean true if asynchronous
3334
*/
3435
boolean isAsynchronous();
3536

src/main/java/com/networknt/aws/lambda/handler/MiddlewareHandler.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ public interface MiddlewareHandler extends LambdaHandler {
44

55
/**
66
* Indicate if this middleware handler will continue on failure or not.
7+
* @return boolean true if continue on failure
78
*/
89
boolean isContinueOnFailure();
910

1011
/**
1112
* Indicate if this middleware handler is audited or not.
13+
* @return boolean true if audited
1214
*/
1315
boolean isAudited();
1416

src/main/java/com/networknt/aws/lambda/handler/middleware/router/LambdaRouterMiddleware.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ private Map<String, String> convertJdkHeaderToMap(final Map<String, List<String>
163163
/**
164164
* Builds a complete request path string for our router request.
165165
*
166+
* @param urlRewriteRules - the list of url rewrite rules
166167
* @param requestPath - the original request path
167168
* @return - targetRequestPath the target request path string
168169
*/

src/main/java/com/networknt/aws/lambda/handler/middleware/token/TokenMiddleware.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public TokenMiddleware() {
4747

4848
/**
4949
* This constructor should only be used for testing. Hence, it is marked as deprecated.
50-
* @param cfg
50+
* @param cfg config
5151
*/
5252
@Deprecated
5353
public TokenMiddleware(TokenConfig cfg) {

0 commit comments

Comments
 (0)