Nouvelles Regex : CLIENT_SIGN_OUT validée

This commit is contained in:
Maximilien LEDOUX 2022-03-19 13:09:44 +01:00
parent a2419d0ba1
commit 182fc39ebe

View File

@ -2,13 +2,16 @@ package lightcontainer.protocol.rules.reader;
import lightcontainer.domains.client.Context; import lightcontainer.domains.client.Context;
import lightcontainer.protocol.ProtocolReader; import lightcontainer.protocol.ProtocolReader;
import lightcontainer.protocol.StandardizedDefinitions;
import static lightcontainer.protocol.StandardizedDefinitions.CLIENT_SIGN_OUT;
/** /**
* Règle demandant la déconnexion du client * Règle demandant la déconnexion du client
*/ */
public class SignoutRule extends ProtocolReader { public class SignoutRule extends ProtocolReader {
//"^SIGNOUT\r\n$"
private static final String PATTERN = "^SIGNOUT\r\n$"; private static final String PATTERN = CLIENT_SIGN_OUT;
public static final String NAME = "SIGNOUT"; public static final String NAME = "SIGNOUT";