public interface ItsNat extends ItsNatUserData
The feature registry, (getFeature(String)
and setFeature(String,Object)
)
may be used to setup ItsNat. Current implementation
does not define any default configurable feature.
Modifier and Type | Method and Description |
---|---|
ItsNatServlet |
createItsNatServlet(javax.servlet.Servlet servlet)
Creates a new ItsNat servlet wrapping the specified servlet object.
|
java.lang.Object |
getFeature(java.lang.String name)
Returns the feature value of given name.
|
java.lang.String |
getVersion()
Returns the ItsNat version with format: X.X.X.X (this format may vary)
|
java.lang.Object |
setFeature(java.lang.String name,
java.lang.Object value)
Sets the feature value of given name.
|
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue
java.lang.String getVersion()
java.lang.Object getFeature(java.lang.String name)
name
- the feature name to search.java.lang.Object setFeature(java.lang.String name, java.lang.Object value)
name
- the feature name.value
- the feature value.ItsNatServlet createItsNatServlet(javax.servlet.Servlet servlet)
Current implementation only supports javax.servlet.http.HttpServlet
servlets,
and returns ItsNatHttpServlet
objects.
servlet
- the servlet to wrap.HttpServletWrapper.init(javax.servlet.ServletConfig)
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.