* Copyright (C) 2017 AT&T Intellectual Property. All rights
* reserved.
* ================================================================================
+ * Modifications Copyright (C) 2018 IBM.
+ * ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@Override
public void setWriteListener(WriteListener arg0) {
-
+ //this method does nothing
}
}
@Override
public void setReadListener(ReadListener arg0) {
-
+ // this method does nothing
}
}
InputStream is = req.getInputStream();
baos = new ByteArrayOutputStream();
- byte buf[] = new byte[1024];
+ byte[] buf = new byte[1024];
int letti;
while ((letti = is.read(buf)) > 0) {
baos.write(buf, 0, letti);
@Override
public void init(FilterConfig filterConfig) throws ServletException {
+ //this method does nothing
}
@Override
@Override
public void destroy() {
+ //this method does nothing
}
private String decompressGZIPByteArray(byte[] bytes) {