(method, path string)
| 357 | } |
| 358 | |
| 359 | func (c *ControllerActivator) isReservedMethodHandler(method, path string) bool { |
| 360 | for _, routes := range c.routes { |
| 361 | for _, r := range routes { |
| 362 | if r.Method == method && r.Path == path { |
| 363 | return true |
| 364 | } |
| 365 | } |
| 366 | } |
| 367 | |
| 368 | return false |
| 369 | } |
| 370 | |
| 371 | func (c *ControllerActivator) markAsWebsocket() { |
| 372 | c.servesWebsocket = true |