Package io.micronaut.runtime.http.scope
Interface RequestAware
public interface RequestAware
An interface that may be implemented by
RequestScope beans to allow
access to the current request.- Since:
- 1.3.0
-
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
-