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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPortName
(String portName) void
addSoapHeaders
(String localpart, String namespaceuri) void
addSoapRole
(String soapRole) boolean
getNamespaceuri
(String localpart) getPortName
(int i) int
getSoapRole
(int i) int
int
hashCode()
void
setHandlerclass
(String handlerclass) void
setProperty
(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
Set a configured property.- Parameters:
name
- The property namevalue
- The property value
-
getSoapRole
-
getSoapRolesSize
public int getSoapRolesSize() -
addSoapRole
-
getPortName
-
getPortNamesSize
public int getPortNamesSize() -
addPortName
-
toString
Return a String representation of this object. -
hashCode
public int hashCode()- Overrides:
hashCode
in classResourceBase
-
equals
- Overrides:
equals
in classResourceBase
-