| | package org.ntlab.citrusserver.resources; |
---|
| | import jakarta.ws.rs.*; |
---|
| | import jakarta.ws.rs.core.MediaType; |
---|
| | import jakarta.ws.rs.core.Response; |
---|
| | import javax.ws.rs.*; |
---|
| | import javax.ws.rs.core.MediaType; |
---|
| | import javax.ws.rs.core.Response; |
---|
| | import org.ntlab.citrusserver.entities.Account; |
---|
| | import org.ntlab.citrusserver.repositories.*; |
---|
| | import org.springframework.beans.factory.annotation.Autowired; |
---|
| | //import org.springframework.http.HttpStatus; |
---|
| |
---|
| | import java.util.Set; |
---|
| | |
---|
| | @Path("/accounts") |
---|
| | @Component //accountRestのインスタンスを一個作る |
---|
| | |
---|
| | public class AccountsRest { |
---|
| | private final AccountManager accountManager; //finalは書き換えられない |
---|
| | private final BookManager bookManager; |
---|
| | private final TodoManager todoManager; |
---|
| |
---|
| | |