.. _-provide-java-: provide ======= Description ----------- Provides a constant value to the inner route. The `provide` directive is used as a building block for :ref:`Custom Directives-java` to provide a single value to the inner route. See :ref:`ProvideDirectives-java` for an overview of similar directives. Example ------- .. includecode:: ../../../../code/docs/http/javadsl/server/directives/BasicDirectivesExamplesTest.java#provide