diff options
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FilterMapping.java')
-rw-r--r-- | plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FilterMapping.java | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FilterMapping.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FilterMapping.java deleted file mode 100644 index 7ff065410..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/webapplication/FilterMapping.java +++ /dev/null @@ -1,104 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.j2ee.webapplication; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jst.j2ee.common.J2EEEObject; -/** - * Declaration of the filter mappings in this web application. The container uses the filter-mapping declarations to decide which filters to apply to a request, and in what order. The container matches the request URI to a Servlet in the normal way. To determine which filters to apply it matches filter-mapping declarations either on servlet-name, or on url-pattern for each filter-mapping element, depending on which style is used. The order in which filters are invoked is the order in which filter-mapping declarations that match a request URI for a servlet appear in the list of filter-mapping elements.The filter-name value must be the value of the <filtername> sub-elements of one of the <filter> declarations in the deployment descriptor. - * - * @invariant The filter-name value must be the value of the Filter::name of one of the Filter declarations in the deployment descriptor. - * @generated - */ -public interface FilterMapping extends J2EEEObject { - -/** - * Returns the name of the servlet that this mapping applies to. - */ -public String getServletName(); -/** - * Sets the name of the servlet that this mapping applies to. - */ -public void setServletName(String servletName); - /** - * @generated This field/method will be replaced during code generation - * @return The value of the UrlPattern attribute - * The url-pattern element contains the url pattern of the mapping. Must follow - * the rules specified in Section 10 of the Servlet API Specification. - */ - String getUrlPattern(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the UrlPattern attribute - */ - void setUrlPattern(String value); - - /** - * Returns the value of the '<em><b>Dispatcher Type</b></em>' attribute list. - * The list contents are of type {@link org.eclipse.jst.j2ee.webapplication.DispatcherType}. - * The literals are from the enumeration {@link org.eclipse.jst.j2ee.webapplication.DispatcherType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Dispatcher Type</em>' attribute list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Dispatcher Type</em>' attribute list. - * @see org.eclipse.jst.j2ee.webapplication.DispatcherType - * @see org.eclipse.jst.j2ee.webapplication.WebapplicationPackage#getFilterMapping_DispatcherType() - * @model type="org.eclipse.jst.j2ee.webapplication.DispatcherType" upper="4" - * @generated - */ - EList getDispatcherType(); - - /** - * @generated This field/method will be replaced during code generation - * @return The Filter reference - * The filter being mapped - */ - Filter getFilter(); - - /** - * @generated This field/method will be replaced during code generation - * @param l The new value of the Filter reference - */ - void setFilter(Filter value); - - /** - * @generated This field/method will be replaced during code generation - * @return The Servlet reference - * An optional servlet that is mapped by a filter mapping. servletName is used to - * resolve the servlet reference. - */ - Servlet getServlet(); - - /** - * @generated This field/method will be replaced during code generation - * @param l The new value of the Servlet reference - */ - void setServlet(Servlet value); - -} - - - - - - - - - - - - - - |