element in the mapping file, if present.
Field Summary |
private java.lang.String |
contentType
The contentType of the resource. |
private java.lang.String |
resource
The value of the request parameter that points to the resource. |
Method Summary |
java.lang.String |
getContentType()
Accessor for contentType field. |
java.lang.String |
getResource()
Accessor for resource field. |
void |
setContentType(java.lang.String inContentType)
Mutator for contentType field. |
void |
setResource(java.lang.String inResource)
Mutator for resource field. |
java.lang.String |
toString()
Overriden toString method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
resource
private java.lang.String resource
- The value of the request parameter that points to the resource.
contentType
private java.lang.String contentType
- The contentType of the resource.
ResourceServerServlet.ResourceMapping
public ResourceServerServlet.ResourceMapping()
getResource
public java.lang.String getResource()
- Accessor for resource field.
- Returns:
- String Current value of resource Field.
setResource
public void setResource(java.lang.String inResource)
- Mutator for resource field.
- Parameters:
inResource
- New value of resource field.
getContentType
public java.lang.String getContentType()
- Accessor for contentType field.
- Returns:
- String Current value of contentType Field.
setContentType
public void setContentType(java.lang.String inContentType)
- Mutator for contentType field.
- Parameters:
inContentType
- New value of contentType field.
toString
public java.lang.String toString()
- Overriden toString method.
- Overrides:
toString
in class java.lang.Object
- Returns:
- A reflexively-built string representation of this bean.
Copyright © 2005 Frank W. Zammetti