This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private final Filter filter; | |
| private boolean enabled; | |
| + private volatile FilterChain filterChain; | |
| FilterWrapper(Filter filter) { | |
| this.filter = filter; | |
| } | |
| public void enable() { | |
| + if (!enabled && filterChain != null) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.DataOutputStream; | |
| import java.io.IOException; | |
| import java.io.UnsupportedEncodingException; | |
| import java.nio.charset.Charset; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.logging.Level; | |
| import java.util.logging.Logger; | |
| import org.glassfish.grizzly.Buffer; | |
| import org.glassfish.grizzly.Connection; |