Package net.officefloor.web.rest.build
Interface HttpInputInterceptor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Overrides the default linking of the HttpInput to its service
OfficeSectionInput. Allows intercepting logic to be
inserted before the RestMethod handling is invoked.
This is typically useful for Security, CORS or other aspects that wrap RestMethod execution.
-
Method Summary
Modifier and TypeMethodDescriptionvoidintercept(HttpInputInterceptorContext context) Intercepts theHttpInputto the service section, optionally inserting intermediate logic.
-
Method Details
-
intercept
Intercepts theHttpInputto the service section, optionally inserting intermediate logic.- Parameters:
context-HttpInputInterceptorContext.
-