Class V3Mapper

java.lang.Object
org.glassfish.grizzly.http.server.util.Mapper
org.glassfish.internal.grizzly.ContextMapper
org.glassfish.internal.grizzly.V3Mapper

@Service @ContractsProvided({V3Mapper.class,org.glassfish.grizzly.http.server.util.Mapper.class}) public class V3Mapper extends ContextMapper
Extended that Mapper that prevent the WebContainer to unregister the current Mapper configuration.
Author:
Jeanfrancois Arcand
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.glassfish.grizzly.http.server.util.Mapper

    org.glassfish.grizzly.http.server.util.Mapper.Context, org.glassfish.grizzly.http.server.util.Mapper.ContextList, org.glassfish.grizzly.http.server.util.Mapper.Host, org.glassfish.grizzly.http.server.util.Mapper.MapElement, org.glassfish.grizzly.http.server.util.Mapper.Wrapper
  • Field Summary

    Fields inherited from class org.glassfish.internal.grizzly.ContextMapper

    adapter, logger

    Fields inherited from class org.glassfish.grizzly.http.server.util.Mapper

    context, defaultHostName, hosts
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    V3Mapper(Logger logger)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addContext(String hostName, String path, Object context, String[] welcomeResources, org.glassfish.grizzly.http.server.naming.NamingContext resources)
    void
    addHost(String name, String[] aliases, Object host)
    void
    addWrapper(String hostName, String contextPath, String path, Object wrapper, boolean jspWildCard)

    Methods inherited from class org.glassfish.internal.grizzly.ContextMapper

    addWrapper, getHttpHandler, getId, removeHost, setHttpHandler, setId

    Methods inherited from class org.glassfish.grizzly.http.server.util.Mapper

    addContext, addWrapper, addWrapper, addWrapper, addWrapper, addWrapper, addWrapper, addWrapper, allowReplacement, getContextNames, getDefaultHostName, getHosts, getPort, getWrapperNames, getWrappersString, map, map, map, mapUriWithSemicolon, mapUriWithSemicolon, removeContext, removeWrapper, removeWrapper, removeWrapper, setAllowReplacement, setContext, setDefaultContextPath, setDefaultHostName, setPort

    Methods inherited from class java.lang.Object

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

    • V3Mapper

      public V3Mapper()
    • V3Mapper

      public V3Mapper(Logger logger)
  • Method Details

    • addWrapper

      public void addWrapper(String hostName, String contextPath, String path, Object wrapper, boolean jspWildCard)
      Overrides:
      addWrapper in class org.glassfish.grizzly.http.server.util.Mapper
    • addHost

      public void addHost(String name, String[] aliases, Object host)
      Overrides:
      addHost in class ContextMapper
    • addContext

      public void addContext(String hostName, String path, Object context, String[] welcomeResources, org.glassfish.grizzly.http.server.naming.NamingContext resources)
      Overrides:
      addContext in class ContextMapper