Nouvelles Regex : CLIENT_SIGN_OUT validée
This commit is contained in:
parent
a2419d0ba1
commit
182fc39ebe
@ -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";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user