| Package | Description |
|---|---|
| org.rhq.plugins.apache.util |
| Modifier and Type | Method and Description |
|---|---|
HttpdAddressUtility.Address |
HttpdAddressUtility.getHttpdInternalMainServerAddressRepresentation(ApacheDirectiveTree runtimeConfig) |
HttpdAddressUtility.Address |
HttpdAddressUtility.getHttpdInternalVirtualHostAddressRepresentation(ApacheDirectiveTree runtimeConfig,
String virtualHost,
String serverName) |
HttpdAddressUtility.Address |
HttpdAddressUtility.getMainServerSampleAddress(ApacheDirectiveTree ag,
String limitToHost,
int limitToPort)
This just constructs a first available address under which the server or one of its virtual hosts can be reached.
|
HttpdAddressUtility.Address |
HttpdAddressUtility.getVirtualHostSampleAddress(ApacheDirectiveTree ag,
String virtualHost,
String serverName,
boolean legacyWildcardHostHandling)
This constructs an address on which given virtual host can be accessed.
|
static HttpdAddressUtility.Address |
HttpdAddressUtility.Address.parse(String address)
A simple parser of the provided address into host and port
sections.
|
static HttpdAddressUtility.Address |
HttpdAddressUtility.Address.parse(String address,
String defaultScheme)
Parses given address into an Address object and assigns a default scheme if none
is present in the address itself.
|
static HttpdAddressUtility.Address |
HttpdAddressUtility.parseListen(String listenValue) |
| Modifier and Type | Method and Description |
|---|---|
abstract List<HttpdAddressUtility.Address> |
HttpdAddressUtility.getAllMainServerAddresses(ApacheDirectiveTree ag,
boolean substituteWildcards)
This returns all the addresses the server listens on.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
HttpdAddressUtility.isAddressConforming(HttpdAddressUtility.Address listen,
String limitingHost,
int limitingPort,
boolean snmpModuleCompatibleMode)
Checks that given address represents a possibly wildcarded limitingHost and limitingPort values.
|
boolean |
HttpdAddressUtility.Address.matches(HttpdAddressUtility.Address other,
boolean matchSchemes)
This differs from equals in the way that it considers wildcard values:
wildcard host matches any host
default host matches default host
wildcard port matches any port
undefined port matches undefined port
The addresses match if both address and port match.
|
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.