12345678910111213141516171819202122232425262728293031323334353637383940 |
- package hello;
- import javax.servlet.annotation.*;
- import com.techempower.gemini.*;
- /**
- * Main Servlet to be used by the GeminiHello application. Upon
- * receiving a request, this Servlet creates a Context object and
- * then invokes the Dispatcher. The Dispatcher determines what happens
- * next.
- *
- * @see com.techempower.gemini.InfrastructureServlet
- *
- * Development history:
- * 2012-04-19 - mh - Created
- *
- * @author mhixson
- */
- @SuppressWarnings("serial")
- @WebServlet(name="Gh", urlPatterns="*")
- public class GhServlet
- extends InfrastructureServlet
- {
- //
- // Public member methods.
- //
- /**
- * Gets a GeminiApplication object for this application.
- */
- @Override
- public GhApplication getApplication()
- {
- return GhApplication.getInstance();
- }
- } // End GhServlet.
|