Class WebXmlServletMapping

java.lang.Object
cloud.piranha.webapp.impl.WebXmlServletMapping

public class WebXmlServletMapping
extends java.lang.Object
The web.xml servlet-mapping
Author:
Manfred Riem ([email protected])
  • Constructor Summary

    Constructors 
    Constructor Description
    WebXmlServletMapping​(java.lang.String servletName, java.lang.String urlPattern)
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getServletName()
    Get the servlet name.
    java.lang.String getUrlPattern()
    Get the URL pattern.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebXmlServletMapping

      public WebXmlServletMapping​(java.lang.String servletName, java.lang.String urlPattern)
      Constructor.
      Parameters:
      servletName - the servlet name.
      urlPattern - the URL pattern.
  • Method Details

    • getServletName

      public java.lang.String getServletName()
      Get the servlet name.
      Returns:
      the servlet name.
    • getUrlPattern

      public java.lang.String getUrlPattern()
      Get the URL pattern.
      Returns:
      the URL pattern.