public interface HttpUriBuilder
| Modifier and Type | Method and Description |
|---|---|
HttpUriBuilder |
addPathSegment(String pathSegment)
Add path segment appending to current path
|
HttpUriBuilder |
addQueryParameter(String name,
String value)
Add query parameter using specified name and value
|
URI |
build()
Build URI based on current component elements
|
HttpUriBuilder |
encodedPath(String encodedPath)
Set path with segments encoded according to URL standard requirements
|
HttpUriBuilder |
host(String host)
Set URI host address
|
HttpUriBuilder |
port(int port)
Set URI port number
|
HttpUriBuilder |
scheme(String scheme)
Set URI scheme as http or https
|
URI build()
HttpUriBuilder scheme(String scheme)
scheme - URI schemeHttpUriBuilder host(String host)
host - Host addressHttpUriBuilder port(int port)
port - Port numberHttpUriBuilder encodedPath(String encodedPath)
encodedPath - URL-encoded pathHttpUriBuilder addPathSegment(String pathSegment)
pathSegment - Path segmentHttpUriBuilder addQueryParameter(String name, String value)
name - Query parameter namevalue - Query parameter value can be nullCopyright © 2023 Apache NiFi Project. All rights reserved.