org.ops4j.pax.web.extender.whiteboard.runtime
Class DefaultJspMapping

java.lang.Object
  extended by org.ops4j.pax.web.extender.whiteboard.runtime.DefaultJspMapping
All Implemented Interfaces:
JspMapping

public class DefaultJspMapping
extends java.lang.Object
implements JspMapping

Default implementation of JspMapping.

Since:
0.4.0, March 15, 2008
Author:
Alin Dreghiciu

Constructor Summary
DefaultJspMapping()
           
 
Method Summary
 java.lang.String getHttpContextId()
          Getter.
 java.lang.String[] getUrlPatterns()
          Getter.
 void setHttpContextId(java.lang.String httpContextId)
          Setter.
 void setUrlPatterns(java.lang.String... urlPatterns)
          Setter.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultJspMapping

public DefaultJspMapping()
Method Detail

getHttpContextId

public java.lang.String getHttpContextId()
Description copied from interface: JspMapping
Getter.

Specified by:
getHttpContextId in interface JspMapping
Returns:
id of the http context this jsp belongs to
See Also:
JspMapping.getHttpContextId()

getUrlPatterns

public java.lang.String[] getUrlPatterns()
Description copied from interface: JspMapping
Getter.

Specified by:
getUrlPatterns in interface JspMapping
Returns:
an array of url patterns this jsp support maps to. If null, a default "*.jsp" will be used.
See Also:
JspMapping.getUrlPatterns()

setHttpContextId

public void setHttpContextId(java.lang.String httpContextId)
Setter.

Parameters:
httpContextId - id of the http context this jsp belongs to

setUrlPatterns

public void setUrlPatterns(java.lang.String... urlPatterns)
Setter.

Parameters:
urlPatterns - array of url patterns

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.