Package org.apache.nifi.web
Interface NiFiWebRequestContext
- All Known Subinterfaces:
NiFiWebConfigurationRequestContext
public interface NiFiWebRequestContext
Contextual details required to make a request from a UI extension.
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
The id of the component.The request protocol scheme (http or https).
-
Method Details
-
getExtensionType
UiExtensionType getExtensionType()- Returns:
- the type of UI extension is making the request
-
getScheme
String getScheme()The request protocol scheme (http or https). When scheme is https, the X509Certificate can be used for subsequent remote requests.- Returns:
- the protocol scheme
-
getId
String getId()The id of the component.- Returns:
- the ID
-