javawebparts.servlet
Class ResourceServerServlet.ResourceMapping

java.lang.Object
  |
  +--javawebparts.servlet.ResourceServerServlet.ResourceMapping
Enclosing class:
ResourceServerServlet

public static class ResourceServerServlet.ResourceMapping
extends java.lang.Object

ResourceMapping is an inner class which holds the information for each 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.
 
Constructor Summary
ResourceServerServlet.ResourceMapping()
           
 
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
 

Field Detail

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.

Constructor Detail

ResourceServerServlet.ResourceMapping

public ResourceServerServlet.ResourceMapping()
Method Detail

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