public class HttpServletRequestContext extends Object implements NiFiWebRequestContext
| Modifier and Type | Field and Description |
|---|---|
private UiExtensionType |
extensionType |
private static String |
ID_PARAM |
private javax.servlet.http.HttpServletRequest |
request |
| Constructor and Description |
|---|
HttpServletRequestContext(UiExtensionType extensionType,
javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
private X509Certificate |
extractClientCertificate(javax.servlet.http.HttpServletRequest request)
Utility methods that have been copied into this class to reduce the
dependency footprint of this artifact.
|
private String |
extractPrincipal(X509Certificate cert) |
private String |
formatProxyDn(String dn) |
UiExtensionType |
getExtensionType() |
String |
getId() |
String |
getProxiedEntitiesChain() |
String |
getScheme() |
private static final String ID_PARAM
private final UiExtensionType extensionType
private final javax.servlet.http.HttpServletRequest request
public HttpServletRequestContext(UiExtensionType extensionType, javax.servlet.http.HttpServletRequest request)
public UiExtensionType getExtensionType()
getExtensionType in interface NiFiWebRequestContextpublic String getProxiedEntitiesChain()
getProxiedEntitiesChain in interface NiFiWebRequestContextpublic String getScheme()
getScheme in interface NiFiWebRequestContextpublic String getId()
getId in interface NiFiWebRequestContextprivate X509Certificate extractClientCertificate(javax.servlet.http.HttpServletRequest request)
private String extractPrincipal(X509Certificate cert)
Copyright © 2016 Apache NiFi Project. All rights reserved.