Package de.trustable.ca3s.core.web.rest
Class AcmeOrderViewResource
- java.lang.Object
-
- de.trustable.ca3s.core.web.rest.AcmeOrderViewResource
-
-
Constructor Summary
Constructors Constructor Description AcmeOrderViewResource(AcmeOrderService acmeOrderService, AcmeOrderUtil acmeOrderUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<List<AcmeChallengeView>>getAcmeChallenges(Long id)GET /acmeOrderViews/:id/challenges: get all challenges for order "id" .org.springframework.http.ResponseEntity<AcmeOrderView>getacmeOrder(Long id)GET /acmeOrderViews/:id: get the "id" ACME order.List<AcmeOrderView>getAllAcmeOrderViews()GET /acmeOrderViews: get all ACME orders.
-
-
-
Constructor Detail
-
AcmeOrderViewResource
public AcmeOrderViewResource(AcmeOrderService acmeOrderService, AcmeOrderUtil acmeOrderUtil)
-
-
Method Detail
-
getAllAcmeOrderViews
@GetMapping("/acmeOrderViews") public List<AcmeOrderView> getAllAcmeOrderViews()GET /acmeOrderViews: get all ACME orders.- Returns:
- the
ResponseEntitywith status200 (OK)and the list of ACME accounts in body.
-
getacmeOrder
@GetMapping("/acmeOrderViews/{id}") public org.springframework.http.ResponseEntity<AcmeOrderView> getacmeOrder(@PathVariable Long id)GET /acmeOrderViews/:id: get the "id" ACME order.- Parameters:
id- the id of the ACME account to retrieve.- Returns:
- the
ResponseEntitywith status200 (OK)and with body the ACME account, or with status404 (Not Found).
-
getAcmeChallenges
@GetMapping("/acmeOrderView/{id}/challenges") public org.springframework.http.ResponseEntity<List<AcmeChallengeView>> getAcmeChallenges(@PathVariable Long id)GET /acmeOrderViews/:id/challenges: get all challenges for order "id" .- Parameters:
id- the id of the ACME order to retrieve.- Returns:
- the
ResponseEntitywith status200 (OK)and with body the ACME order, or with status404 (Not Found).
-
-