mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 16:15:23 +00:00
docs: updates to several patterns
This commit is contained in:
1 parent
4652842c94
commit
584e949714
70 files changed
+347
-479
No files matched your search
@@ -88,7 +88,7 @@ public class App {
|
||||
}
|
||||
```
|
||||
|
||||
The LoginHandler is responsible for handling login requests. When a user logs in, a session identifier is created and stored for future requests in a list.
|
||||
The `LoginHandler` is responsible for handling login requests. When a user logs in, a session identifier is created and stored for future requests in a list.
|
||||
|
||||
```java
|
||||
public class LoginHandler {
|
||||
@@ -107,7 +107,7 @@ public class LoginHandler {
|
||||
}
|
||||
```
|
||||
|
||||
The LogoutHandler is responsible for handling logout requests. When a user logs out, the session identifier is deleted from the list along with the appropriate user session data.
|
||||
The `LogoutHandler` is responsible for handling logout requests. When a user logs out, the session identifier is deleted from the list along with the appropriate user session data.
|
||||
|
||||
```java
|
||||
public class LogoutHandler {
|
||||
|
||||
Reference in new issue
Block a user