Refactor "aws" module
This commit is contained in:
parent
e32e9d6f7d
commit
c5b7b8f464
@ -1,4 +1,4 @@
|
|||||||
package com.baeldung;
|
package com.baeldung.lambda;
|
||||||
|
|
||||||
import com.amazonaws.services.lambda.runtime.Context;
|
import com.amazonaws.services.lambda.runtime.Context;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.baeldung;
|
package com.baeldung.lambda;
|
||||||
|
|
||||||
import com.amazonaws.services.lambda.runtime.Context;
|
import com.amazonaws.services.lambda.runtime.Context;
|
||||||
import com.amazonaws.services.lambda.runtime.RequestHandler;
|
import com.amazonaws.services.lambda.runtime.RequestHandler;
|
@ -1,14 +1,13 @@
|
|||||||
package com.baeldung;
|
package com.baeldung.lambda;
|
||||||
|
|
||||||
|
import com.amazonaws.services.lambda.runtime.Context;
|
||||||
|
import com.amazonaws.services.lambda.runtime.RequestStreamHandler;
|
||||||
|
import org.apache.commons.io.IOUtils;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
|
|
||||||
import org.apache.commons.io.IOUtils;
|
|
||||||
|
|
||||||
import com.amazonaws.services.lambda.runtime.Context;
|
|
||||||
import com.amazonaws.services.lambda.runtime.RequestStreamHandler;
|
|
||||||
|
|
||||||
public class LambdaRequestStreamHandler implements RequestStreamHandler {
|
public class LambdaRequestStreamHandler implements RequestStreamHandler {
|
||||||
|
|
||||||
public void handleRequest(InputStream inputStream, OutputStream outputStream, Context context) throws IOException {
|
public void handleRequest(InputStream inputStream, OutputStream outputStream, Context context) throws IOException {
|
Loading…
x
Reference in New Issue
Block a user