@RestController
public class TADemoRestController
extends java.lang.Object
Constructor and Description |
---|
TADemoRestController() |
Modifier and Type | Method and Description |
---|---|
TADemoResult |
tademo()
REST Endpoint that has a non pay per request PaymentRequired annotation.
|
TADemoResult |
tademoNoPayment()
Same REST Endpoint without payment required
|
@PaymentRequired(articleId="tademo1", payPerRequest=true) @RequestMapping(value="/tademo") public TADemoResult tademo()
@RequestMapping(value="/tademonopayment") public TADemoResult tademoNoPayment()