[BAEL-14088] - Moved code for RequestBody and ResponseBody annotations article
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package com.baeldung.services;
|
||||
|
||||
import com.baeldung.transfer.LoginForm;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class ExampleService {
|
||||
|
||||
public boolean fakeAuthenticate(LoginForm lf) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user