Class ContextHandler
- java.lang.Object
-
- org.apache.tomcat.util.descriptor.web.ResourceBase
-
- org.apache.tomcat.util.descriptor.web.ContextHandler
-
- All Implemented Interfaces:
Serializable,Injectable
public class ContextHandler extends ResourceBase
Representation of a handler reference for a web service, as represented in a<handler>element in the deployment descriptor.- Author:
- Fabien Carrion
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContextHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPortName(String portName)voidaddSoapHeaders(String localpart, String namespaceuri)voidaddSoapRole(String soapRole)booleanequals(Object obj)StringgetHandlerclass()Iterator<String>getLocalparts()StringgetNamespaceuri(String localpart)StringgetPortName(int i)intgetPortNamesSize()StringgetSoapRole(int i)intgetSoapRolesSize()inthashCode()voidsetHandlerclass(String handlerclass)voidsetProperty(String name, String value)Set a configured property.StringtoString()Return a String representation of this object.-
Methods inherited from class org.apache.tomcat.util.descriptor.web.ResourceBase
addInjectionTarget, getDescription, getInjectionTargets, getLookupName, getName, getNamingResources, getProperty, getType, listProperties, removeProperty, setDescription, setLookupName, setName, setNamingResources, setProperty, setType
-
-
-
-
Method Detail
-
getHandlerclass
public String getHandlerclass()
-
setHandlerclass
public void setHandlerclass(String handlerclass)
-
setProperty
public void setProperty(String name, String value)
Set a configured property.- Parameters:
name- The property namevalue- The property value
-
getSoapRole
public String getSoapRole(int i)
-
getSoapRolesSize
public int getSoapRolesSize()
-
addSoapRole
public void addSoapRole(String soapRole)
-
getPortName
public String getPortName(int i)
-
getPortNamesSize
public int getPortNamesSize()
-
addPortName
public void addPortName(String portName)
-
toString
public String toString()
Return a String representation of this object.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classResourceBase
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classResourceBase
-
-