Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
37309218
Unverified
Commit
37309218
authored
Mar 23, 2017
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Links to sample zuul filters.
For more advanced filter examples. fixes gh-1748
parent
03740f13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
spring-cloud-netflix.adoc
docs/src/main/asciidoc/spring-cloud-netflix.adoc
+4
-0
No files found.
docs/src/main/asciidoc/spring-cloud-netflix.adoc
View file @
37309218
...
@@ -1893,6 +1893,10 @@ Route filters:
...
@@ -1893,6 +1893,10 @@ Route filters:
*
`
SimpleHostRoutingFilter
`:
This
filter
sends
requests
to
predetermined
URLs
via
an
Apache
HttpClient
.
URLs
are
found
in
`
RequestContext
.
getRouteHost
()`.
*
`
SimpleHostRoutingFilter
`:
This
filter
sends
requests
to
predetermined
URLs
via
an
Apache
HttpClient
.
URLs
are
found
in
`
RequestContext
.
getRouteHost
()`.
====
Custom
Zuul
Filter
examples
Most
of
the
following
"How to Write"
examples
below
are
included
https
://
github
.
com
/
spring
-
cloud
-
samples
/
sample
-
zuul
-
filters
[
Sample
Zuul
Filters
]
project
.
There
are
also
examples
of
manipulating
the
request
or
response
body
in
that
repository
.
====
How
to
Write
a
Pre
Filter
====
How
to
Write
a
Pre
Filter
Pre
filters
are
used
to
set
up
data
in
the
`
RequestContext
`
for
use
in
filters
downstream
.
The
main
use
case
is
to
set
information
required
for
route
filters
.
Pre
filters
are
used
to
set
up
data
in
the
`
RequestContext
`
for
use
in
filters
downstream
.
The
main
use
case
is
to
set
information
required
for
route
filters
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment