Class ContextHandler
java.lang.Object
org.apache.tomcat.util.descriptor.web.ResourceBase
org.apache.tomcat.util.descriptor.web.ContextHandler
- All Implemented Interfaces:
- Serializable,- Injectable
Representation of a handler reference for a web service, as
 represented in a 
<handler> element in the
 deployment descriptor.- Author:
- Fabien Carrion
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddPortName(String portName) voidaddSoapHeaders(String localpart, String namespaceuri) voidaddSoapRole(String soapRole) booleangetNamespaceuri(String localpart) getPortName(int i) intgetSoapRole(int i) intinthashCode()voidsetHandlerclass(String handlerclass) voidsetProperty(String name, String value) Set a configured property.toString()Return a String representation of this object.Methods inherited from class org.apache.tomcat.util.descriptor.web.ResourceBaseaddInjectionTarget, getDescription, getInjectionTargets, getLookupName, getName, getNamingResources, getProperty, getType, listProperties, removeProperty, setDescription, setLookupName, setName, setNamingResources, setProperty, setType
- 
Constructor Details- 
ContextHandlerpublic ContextHandler()
 
- 
- 
Method Details- 
getHandlerclass
- 
setHandlerclass
- 
getLocalparts
- 
getNamespaceuri
- 
addSoapHeaders
- 
setPropertySet a configured property.- Parameters:
- name- The property name
- value- The property value
 
- 
getSoapRole
- 
getSoapRolesSizepublic int getSoapRolesSize()
- 
addSoapRole
- 
getPortName
- 
getPortNamesSizepublic int getPortNamesSize()
- 
addPortName
- 
toStringReturn a String representation of this object.
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- ResourceBase
 
- 
equals- Overrides:
- equalsin class- ResourceBase
 
 
-