public class UriPathMerger extends Object
Constructor and Description |
---|
UriPathMerger() |
Modifier and Type | Method and Description |
---|---|
URI |
merge(URI destinationUri,
URI requestUri)
Merges two
URI paths, checking that both URIs have the same scheme, host and port. |
public URI merge(URI destinationUri, URI requestUri) throws DestinationPathsNotMergeableException
URI
paths, checking that both URIs
have the same scheme, host and port.destinationUri
- The URI
pointing to the destination.requestUri
- The URI
identifying the request.URI
, representing the given request executed on the given destination.DestinationPathsNotMergeableException
- If either of the supplied URIs are null
or if the URIs differ in the used schema, host, or
port.Copyright © 2018 SAP SE. All rights reserved.