|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inspect.DnsResponseCached
public class DnsResponseCached
Represents cached DNS response.
Constructor Summary | |
---|---|
DnsResponseCached(DnsResponse response,
java.util.Date date)
Creates cached DNS response. |
|
DnsResponseCached(DnsResponse response,
int days)
Creates cached DNS response. |
Method Summary | |
---|---|
java.util.Date |
getDate()
Gets date that this DNS record will expire from cache. |
DnsResponse |
getResponse()
Gets DNS response from cache. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DnsResponseCached(DnsResponse response, java.util.Date date)
response
- a DnsResponsedate
- the date to expire response from cachepublic DnsResponseCached(DnsResponse response, int days)
response
- a DnsResponsedays
- the number of days until expiration of response from cacheMethod Detail |
---|
public DnsResponse getResponse()
public java.util.Date getDate()
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |