rewrite-api-servlet 2.0.0.Beta3

org.ocpsoft.rewrite.servlet
Class ServletRegistration

java.lang.Object
  extended by org.ocpsoft.rewrite.servlet.ServletRegistration

public class ServletRegistration
extends Object

Similar to javax.servlet.ServletRegistration. But as the original is only available in Servlet 3.0 and new we use or own.

Author:
Christian Kaltepoth

Constructor Summary
ServletRegistration()
           
 
Method Summary
 void addMapping(String mapping)
          Add a mapping to this ServletRegistration.
 void addMappings(Collection<String> mappings)
          Add all given mappings to this ServletRegistration.
 String getClassName()
          Get the Class name of this ServletRegistration.
 List<String> getMappings()
          Get the mappings for this ServletRegistration.
 void setClassName(String className)
          Set the Class name of this ServletRegistration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletRegistration

public ServletRegistration()
Method Detail

getClassName

public String getClassName()
Get the Class name of this ServletRegistration.


setClassName

public void setClassName(String className)
Set the Class name of this ServletRegistration.


getMappings

public List<String> getMappings()
Get the mappings for this ServletRegistration.


addMapping

public void addMapping(String mapping)
Add a mapping to this ServletRegistration.


addMappings

public void addMappings(Collection<String> mappings)
Add all given mappings to this ServletRegistration.


rewrite-api-servlet 2.0.0.Beta3

Copyright © 2013 OCPsoft. All Rights Reserved.