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 Summary
Constructors -
Method Summary
Modifier 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.ResourceBase
addInjectionTarget, getDescription, getInjectionTargets, getLookupName, getName, getNamingResources, getProperty, getType, listProperties, removeProperty, setDescription, setLookupName, setName, setNamingResources, setProperty, setType
-
Constructor Details
-
ContextHandler
public ContextHandler()
-
-
Method Details
-
getHandlerclass
-
setHandlerclass
-
getLocalparts
-
getNamespaceuri
-
addSoapHeaders
-
setProperty
-
getSoapRole
-
getSoapRolesSize
public int getSoapRolesSize() -
addSoapRole
-
getPortName
-
getPortNamesSize
public int getPortNamesSize() -
addPortName
-
toString
-
hashCode
public int hashCode()- Overrides:
hashCodein classResourceBase
-
equals
- Overrides:
equalsin classResourceBase
-