com.esf.net.dnsproxy.service
Class DnsProxySecurityFeature

java.lang.Object
  extended by com.esf.net.dnsproxy.service.DnsProxySecurityFeature

public class DnsProxySecurityFeature
extends java.lang.Object

Defines DNS-proxy security feature

Author:
ilya.binshtok

Constructor Summary
DnsProxySecurityFeature(java.lang.String name, java.lang.String value)
          DnsProxySecurityFeature constructor
 
Method Summary
 java.lang.String getName()
          Answers name of security feature.
 java.lang.String getValue()
          Answers value of this security feature.
static boolean isSupported(java.lang.String name)
          Checks if this supplied security feature is supported.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DnsProxySecurityFeature

public DnsProxySecurityFeature(java.lang.String name,
                               java.lang.String value)
DnsProxySecurityFeature constructor

Parameters:
name - Name of the security feature, as String
value - Value of the security feature, as String
Method Detail

getName

public java.lang.String getName()
Answers name of security feature.

Returns:
name

getValue

public java.lang.String getValue()
Answers value of this security feature.

Returns:
value

isSupported

public static boolean isSupported(java.lang.String name)
Checks if this supplied security feature is supported.

Parameters:
name - as String
Returns:
true - security feature is supported
false - security feature is not supported