Class AbstractMockRegistration

java.lang.Object
com.foreach.across.test.AbstractMockRegistration
All Implemented Interfaces:
jakarta.servlet.Registration, jakarta.servlet.Registration.Dynamic
Direct Known Subclasses:
MockFilterRegistration, MockServletRegistration

public abstract class AbstractMockRegistration extends Object implements jakarta.servlet.Registration.Dynamic
Since:
1.1.2
Author:
Arne Vandamme
  • Constructor Details

  • Method Details

    • getServletContext

      public MockAcrossServletContext getServletContext()
    • getName

      public String getName()
      Specified by:
      getName in interface jakarta.servlet.Registration
    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface jakarta.servlet.Registration
    • setAsyncSupported

      public void setAsyncSupported(boolean isAsyncSupported)
      Specified by:
      setAsyncSupported in interface jakarta.servlet.Registration.Dynamic
    • isAsyncSupported

      public boolean isAsyncSupported()
    • setInitParameter

      public boolean setInitParameter(String name, String value)
      Specified by:
      setInitParameter in interface jakarta.servlet.Registration
    • getInitParameter

      public String getInitParameter(String name)
      Specified by:
      getInitParameter in interface jakarta.servlet.Registration
    • setInitParameters

      public Set<String> setInitParameters(Map<String,String> initParameters)
      Specified by:
      setInitParameters in interface jakarta.servlet.Registration
    • getInitParameters

      public Map<String,String> getInitParameters()
      Specified by:
      getInitParameters in interface jakarta.servlet.Registration
    • getInitParameterNames

      public Enumeration<String> getInitParameterNames()