17 lines
534 B
ReStructuredText
17 lines
534 B
ReStructuredText
.. _-extractRequest-java-:
|
|
|
|
extractRequest
|
|
==============
|
|
|
|
Description
|
|
-----------
|
|
Extracts the complete ``HttpRequest`` instance.
|
|
|
|
Use ``extractRequest`` to extract just the complete URI of the request. Usually there's little use of
|
|
extracting the complete request because extracting of most of the aspects of HttpRequests is handled by specialized
|
|
directives. See :ref:`Request Directives-java`.
|
|
|
|
Example
|
|
-------
|
|
|
|
.. includecode:: ../../../../code/docs/http/javadsl/server/directives/BasicDirectivesExamplesTest.java#extractRequest
|