public class AdvertisedServer extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MANAGER_ADDRESS
Manager-Address header
|
static String |
MANAGER_HOST
Manager-Host header
|
static String |
MANAGER_PROTOCOL
Manager-Protocol header
|
static String |
MANAGER_URL
Manager-Url header
|
static String |
MANAGER_VERSION
Manager-Version header
|
Modifier | Constructor and Description |
---|---|
protected |
AdvertisedServer(String server) |
Modifier and Type | Method and Description |
---|---|
Date |
getDate()
Get Date of the last Advertise message
|
String |
getParameter(String name)
Get Advertise parameter
|
int |
getStatusCode()
Get Status code of the last Advertise message
|
String |
getStatusDescription()
Get Status description of the last Advertise message
|
protected void |
setDate(Date date)
Set the Date of the last Advertise message
|
protected void |
setParameter(String name,
String value)
Set the Header
|
protected boolean |
setStatus(int status,
String desc) |
String |
toString() |
public static String MANAGER_ADDRESS
public static String MANAGER_URL
public static String MANAGER_PROTOCOL
public static String MANAGER_VERSION
public static String MANAGER_HOST
protected AdvertisedServer(String server)
protected boolean setStatus(int status, String desc)
protected void setDate(Date date)
public Date getDate()
public int getStatusCode()
public String getStatusDescription()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.