public class Servlet extends Object
Constructor and Description |
---|
Servlet(String name,
String contextRoot) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
URI |
getBaseURI()
Get the URI to the Servlet's context.
|
String |
getContextRoot() |
URI |
getFullURI()
Get the URI to the Servlet.
|
String |
getName() |
int |
hashCode() |
String |
toString() |
public String getName()
public String getContextRoot()
public URI getBaseURI()
public URI getFullURI()
public int hashCode()
hashCode
in class Object
IllegalStateException
- if host is null#setParent(HTTPContext)}
,
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
IllegalStateException
- if host is null#setParent(HTTPContext)}
,
Object.equals(java.lang.Object)
Copyright © 2017 JBoss by Red Hat. All rights reserved.