public class InboundHeaderConfigurationBuilder extends AbstractPathConfigurationChildBuilder
Provides a set of options regarding the request headers for a specific request.
| Modifier and Type | Method and Description |
|---|---|
InboundHeaderConfigurationBuilder |
header(String name,
String... value)
Defines a header that will be used to identify requests for a specific path.
|
InboundHeaderConfigurationBuilder |
requestedWith(String value)
The name of the header used to identify the source of the request.
|
authenticateWith, authorizeWith, getBuilder, redirectTo, unprotectedallPaths, forGroup, forPath, forPath, restrictivebuild, create, http, identity, idmConfig, readFrom, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallPaths, forGroup, forPath, forPath, restrictivebuild, http, identity, idmConfigpublic InboundHeaderConfigurationBuilder requestedWith(String value)
The name of the header used to identify the source of the request. For insance, usefull to identify whether a request came or not from an Ajax client.
This method uses the @{link InboundHeaderConfiguration.X_REQUESTED_WITH_HEADER_NAME}.
value - public InboundHeaderConfigurationBuilder header(String name, String... value)
Defines a header that will be used to identify requests for a specific path.
When a header is defined, it will be used to match a specific request.
name - value - Copyright © 2018 JBoss by Red Hat. All rights reserved.