Package io.micronaut.runtime.http.scope
Interface RequestAware
- All Known Implementing Classes:
HttpLocalizedMessageSource
public interface RequestAware
An interface that may be implemented by
RequestScope beans to allow
access to the current request.- Since:
- 1.3.0
- Author:
- James Kleeh
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetRequest(HttpRequest<?> request) Provides the request directly after bean creation.
-
Method Details
-
setRequest
Provides the request directly after bean creation.- Parameters:
request- The current request
-