public final class TargetDescriptor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
Logger |
| Constructor and Description |
|---|
TargetDescriptor(org.apache.http.HttpHost target,
String targetPath,
int prefixDiscardCount)
Primary constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPrefixDiscardCount()
Returns the number of prefix characters of the incoming request uri *path* that should be removed before appending the remaining characters to end of
target + targetPath. |
org.apache.http.HttpHost |
getTarget()
Returns the remote Target server FQDN
|
String |
getTargetPath()
Returns the path to a resource 'root' on the
target (which would typically be an empty string "", but is not required to be so). |
public TargetDescriptor(org.apache.http.HttpHost target,
String targetPath,
int prefixDiscardCount)
target - The remote Target server FQDNtargetPath - The path to a resource 'root' on the target (which would typically be an empty string "", but is not required to be so).prefixDiscardCount - How many prefix characters of the incoming request uri *path* should be removed before appending the remaining to the target + targetPath.public org.apache.http.HttpHost getTarget()
public String getTargetPath()
target (which would typically be an empty string "", but is not required to be so).public int getPrefixDiscardCount()
target + targetPath.Copyright © 2015–2024 Frank Stock. All rights reserved.