-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/hiroxpepe/blog-examproject
- Loading branch information
Showing
50 changed files
with
4,356 additions
and
286 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,9 +16,10 @@ | |
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
import javax.inject.Inject; | ||
import javax.servlet.http.HttpServletRequest; | ||
|
||
import lombok.NonNull; | ||
import lombok.RequiredArgsConstructor; | ||
import lombok.extern.slf4j.Slf4j; | ||
import lombok.val; | ||
import org.apache.commons.lang.exception.ExceptionUtils; | ||
|
@@ -46,20 +47,21 @@ | |
* @author h.adachi | ||
*/ | ||
@Slf4j | ||
@RequiredArgsConstructor | ||
@Controller | ||
public class EntryController { | ||
|
||
@Inject | ||
private final ApplicationContext context = null; | ||
@NonNull | ||
private final ApplicationContext context; | ||
|
||
@Inject | ||
private final HttpServletRequest request = null; | ||
@NonNull | ||
private final HttpServletRequest request; | ||
|
||
@Inject | ||
private final Mapper mapper = null; | ||
@NonNull | ||
private final Mapper mapper; | ||
|
||
@Inject | ||
private final EntryService entryService = null; | ||
@NonNull | ||
private final EntryService entryService; | ||
|
||
/////////////////////////////////////////////////////////////////////////// | ||
// public methods | ||
|
@@ -73,11 +75,11 @@ public class EntryController { | |
method=RequestMethod.GET | ||
) | ||
public void doForm( | ||
@CookieValue(value="__exmp_blog_username", defaultValue="") | ||
@CookieValue(value="__exmp_blog_username", defaultValue="anonymous") | ||
String username, | ||
@CookieValue(value="__exmp_blog_password", defaultValue="") | ||
@CookieValue(value="__exmp_blog_password", defaultValue="password") | ||
String password, | ||
@CookieValue(value="__exmp_blog_email", defaultValue="") | ||
@CookieValue(value="__exmp_blog_email", defaultValue="[email protected]") | ||
String email, | ||
Model model | ||
) { | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.