You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
639 B
25 lines
639 B
package com.fr.plugin.xx.zyjn.decode.encode; |
|
|
|
import javax.servlet.ServletOutputStream; |
|
import javax.servlet.http.HttpServletResponse; |
|
import javax.servlet.http.HttpServletResponseWrapper; |
|
import java.io.IOException; |
|
|
|
/** |
|
* @Author xx |
|
* @Date 2022/3/3 |
|
* @Description |
|
**/ |
|
public class EncryptResponse extends HttpServletResponseWrapper { |
|
|
|
public EncryptResponse(HttpServletResponse response) { |
|
super(response); |
|
} |
|
|
|
@Override |
|
public ServletOutputStream getOutputStream()throws IOException { |
|
ServletOutputStream original = super.getOutputStream(); |
|
return new EncryptOutputStream(original); |
|
} |
|
|
|
} |