All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ratpack.thymeleaf.internal.ThymeleafServletContextAdapter Maven / Gradle / Ivy

/*
 * Copyright 2015 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package ratpack.thymeleaf.internal;

import javax.servlet.*;
import javax.servlet.descriptor.JspConfigDescriptor;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Enumeration;
import java.util.EventListener;
import java.util.Map;
import java.util.Set;

public class ThymeleafServletContextAdapter implements ServletContext {
  @Override
  public String getContextPath() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public ServletContext getContext(String uripath) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public int getMajorVersion() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public int getMinorVersion() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public int getEffectiveMajorVersion() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public int getEffectiveMinorVersion() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public String getMimeType(String file) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public Set getResourcePaths(String path) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public URL getResource(String path) throws MalformedURLException {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public InputStream getResourceAsStream(String path) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public RequestDispatcher getRequestDispatcher(String path) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public RequestDispatcher getNamedDispatcher(String name) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  @Deprecated
  public Servlet getServlet(String name) throws ServletException {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  @Deprecated
  public Enumeration getServlets() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  @Deprecated
  public Enumeration getServletNames() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public void log(String msg) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  @Deprecated
  public void log(Exception exception, String msg) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public void log(String message, Throwable throwable) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public String getRealPath(String path) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public String getServerInfo() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public String getInitParameter(String name) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public Enumeration getInitParameterNames() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public boolean setInitParameter(String name, String value) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public Object getAttribute(String name) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public Enumeration getAttributeNames() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public void setAttribute(String name, Object object) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public void removeAttribute(String name) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public String getServletContextName() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public ServletRegistration.Dynamic addServlet(String servletName, String className) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public ServletRegistration.Dynamic addServlet(String servletName, Servlet servlet) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public ServletRegistration.Dynamic addServlet(String servletName, Class servletClass) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public  T createServlet(Class clazz) throws ServletException {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public ServletRegistration getServletRegistration(String servletName) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public Map getServletRegistrations() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public FilterRegistration.Dynamic addFilter(String filterName, String className) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public FilterRegistration.Dynamic addFilter(String filterName, Filter filter) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public FilterRegistration.Dynamic addFilter(String filterName, Class filterClass) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public  T createFilter(Class clazz) throws ServletException {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public FilterRegistration getFilterRegistration(String filterName) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public Map getFilterRegistrations() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public SessionCookieConfig getSessionCookieConfig() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public void setSessionTrackingModes(Set sessionTrackingModes) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public Set getDefaultSessionTrackingModes() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public Set getEffectiveSessionTrackingModes() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public void addListener(String className) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public  void addListener(T t) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public void addListener(Class listenerClass) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public  T createListener(Class clazz) throws ServletException {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public JspConfigDescriptor getJspConfigDescriptor() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public ClassLoader getClassLoader() {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public void declareRoles(String... roleNames) {
    throw new UnsupportedOperationException("Not implemented");
  }

  @Override
  public String getVirtualServerName() {
    throw new UnsupportedOperationException("Not implemented");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy