*
*/
+ @Deprecated
public Servlet getServlet(String name) throws ServletException;
*
*/
+ @Deprecated
public Enumeration<Servlet> getServlets();
*
*/
+ @Deprecated
public Enumeration<String> getServletNames();
*
*/
+ @Deprecated
public void log(Exception exception, String msg);
*
*/
+ @Deprecated
public String getRealPath(String path);
* @deprecated As of Version 3.0 of the Java Servlet API
*/
+ @Deprecated
public String getRealPath(String path) {
return this.request.getRealPath(path);
}
* replacement.
*/
+@Deprecated
public interface SingleThreadModel {
// No methods
}
*
*/
+ @Deprecated
public UnavailableException(Servlet servlet, String msg) {
super(msg);
this.servlet = servlet;
*
*/
+ @Deprecated
public UnavailableException(int seconds, Servlet servlet, String msg) {
super(msg);
this.servlet = servlet;
*
*/
+ @Deprecated
public Servlet getServlet() {
return servlet;
}
*
*/
+ @Deprecated
public boolean isRequestedSessionIdFromUrl();
* on the wrapped request object.
* @deprecated As of Version 3.0 of the Java Servlet API
*/
+ @Deprecated
public boolean isRequestedSessionIdFromUrl() {
return this._getHttpServletRequest().isRequestedSessionIdFromUrl();
}
* the unchanged URL otherwise.
*/
+ @Deprecated
public String encodeUrl(String url);
/**
* the unchanged URL otherwise.
*/
+ @Deprecated
public String encodeRedirectUrl(String url);
/**
* @param sm the status message
*/
+ @Deprecated
public void setStatus(int sc, String sm);
* on the wrapped response object.
* @deprecated As of Version 3.0 of the Java Servlet API
*/
+ @Deprecated
public String encodeUrl(String url) {
return this._getHttpServletResponse().encodeUrl(url);
}
* on the wrapped response object.
* @deprecated As of Version 3.0 of the Java Servlet API
*/
+ @Deprecated
public String encodeRedirectUrl(String url) {
return this._getHttpServletResponse().encodeRedirectUrl(url);
}
* on the wrapped response object.
* @deprecated As of Version 3.0 of the Java Servlet API
*/
- public void setStatus(int sc, String sm) {
+ @Deprecated
+ public void setStatus(int sc, String sm) {
this._getHttpServletResponse().setStatus(sc, sm);
}
*
*/
+ @Deprecated
public HttpSessionContext getSessionContext();
*
*/
+ @Deprecated
public Object getValue(String name);
*
*/
+ @Deprecated
public String[] getValueNames();
*
*/
+ @Deprecated
public void putValue(String name, Object value);
* invalidated session
*/
+ @Deprecated
public void removeValue(String name);
*/
+@Deprecated
public interface HttpSessionContext {
/**
*
*/
+ @Deprecated
public HttpSession getSession(String sessionId);
*
*/
+ @Deprecated
public Enumeration<String> getIds();
}
*/
+@Deprecated
public class HttpUtils {
private static final String LSTRING_FILE =
* @return the <code>Throwable</code> that caused this JSP exception
*/
+ @Deprecated
public Throwable getRootCause() {
return getCause();
}
* @since 2.0
* @deprecated
*/
+@Deprecated
public class ELException extends Exception {
/**
* @deprecated
*/
+@Deprecated
public class ELParseException extends ELException {
//-------------------------------------
* @since 2.0
* @deprecated
*/
+@Deprecated
public abstract class Expression {
/**
* @since 2.0
* @deprecated
*/
+@Deprecated
public abstract class ExpressionEvaluator {
/**
* @since 2.0
* @deprecated
*/
+@Deprecated
public interface FunctionMapper {
/**
* Resolves the specified local name and prefix into a Java.lang.Method.
* @since 2.0
* @deprecated
*/
+@Deprecated
public interface VariableResolver
{
//-------------------------------------
* or IterationTag.EVAL_BODY_AGAIN.
*/
+ @Deprecated
public final static int EVAL_BODY_TAG = 2;
/**
* @param protocol The protocol used by the cluster
* @deprecated
*/
+ @Deprecated
public void setProtocol(String protocol);
/**
* @return The protocol
* @deprecated
*/
+ @Deprecated
public String getProtocol();
// --------------------------------------------------------- Public Methods
* instantiated for any reason
* @deprecated
*/
+ @Deprecated
public Session createSession();
* @deprecated As of version 2.1 of the Java Servlet API, use
* <code>ServletContext.getRealPath()</code>.
*/
+ @Deprecated
public String getRealPath(String path) {
if (context == null)
* @deprecated As of Version 2.1 of the Java Servlet API, use
* <code>isRequestedSessionIdFromURL()</code> instead.
*/
+ @Deprecated
public boolean isRequestedSessionIdFromUrl() {
return (isRequestedSessionIdFromURL());
}
* @deprecated As of Version 2.1 of the Java Servlet API, use
* <code>encodeRedirectURL()</code> instead.
*/
+ @Deprecated
public String encodeRedirectUrl(String url) {
return (encodeRedirectURL(url));
}
* @deprecated As of Version 2.1 of the Java Servlet API, use
* <code>encodeURL()</code> instead.
*/
+ @Deprecated
public String encodeUrl(String url) {
return (encodeURL(url));
}
* has been deprecated due to the ambiguous meaning of the message
* parameter.
*/
+ @Deprecated
public void setStatus(int status, String message) {
if (isCommitted())
/**
* @deprecated As of Java Servlet API 2.1, with no direct replacement.
*/
+ @Deprecated
public Servlet getServlet(String name) {
return (null);
/**
* @deprecated As of Java Servlet API 2.1, with no direct replacement.
*/
+ @Deprecated
public Enumeration<String> getServletNames() {
return (new Enumerator<String>(emptyString));
}
/**
* @deprecated As of Java Servlet API 2.1, with no direct replacement.
*/
+ @Deprecated
public Enumeration<Servlet> getServlets() {
return (new Enumerator<Servlet>(emptyServlet));
}
* @deprecated As of Java Servlet API 2.1, use
* <code>log(String, Throwable)</code> instead
*/
+ @Deprecated
public void log(Exception exception, String message) {
context.getLogger().error(message, exception);
/**
* @deprecated
*/
+ @Deprecated
public Servlet getServlet(String name)
throws ServletException {
if (SecurityUtil.isPackageProtectionEnabled()) {
/**
* @deprecated
*/
+ @Deprecated
public Enumeration<Servlet> getServlets() {
if (SecurityUtil.isPackageProtectionEnabled()) {
return (Enumeration<Servlet>) doPrivileged("getServlets", null);
/**
* @deprecated
*/
+ @Deprecated
public Enumeration<String> getServletNames() {
if (SecurityUtil.isPackageProtectionEnabled()) {
return (Enumeration<String>) doPrivileged("getServletNames", null);
/**
* @deprecated
*/
+ @Deprecated
public void log(Exception exception, String msg) {
if (SecurityUtil.isPackageProtectionEnabled()) {
doPrivileged("log", new Class[]{Exception.class, String.class},
* @param msg The new message
* @deprecated
*/
+ @Deprecated
public void setStatus(int sc, String msg) {
if (!included)
public String getProtocol() { return null; }
public BufferedReader getReader() throws IOException { return null; }
/** @deprecated */
+ @Deprecated
public String getRealPath(String path) { return null; }
public String getRemoteAddr() { return null; }
public String getRemoteHost() { return null; }
public boolean isRequestedSessionIdFromCookie() { return false; }
public boolean isRequestedSessionIdFromURL() { return false; }
/** @deprecated */
+ @Deprecated
public boolean isRequestedSessionIdFromUrl() { return false; }
public boolean isRequestedSessionIdValid() { return false; }
public boolean isUserInRole(String role) { return false; }
public boolean containsHeader(String name) { return false; }
public String encodeRedirectURL(String url) { return null; }
/** @deprecated */
+ @Deprecated
public String encodeRedirectUrl(String url) { return null; }
public String encodeURL(String url) { return null; }
/** @deprecated */
+ @Deprecated
public String encodeUrl(String url) { return null; }
public void sendAcknowledgement() throws IOException {}
public void sendError(int status) throws IOException {}
public void setIntHeader(String name, int value) {}
public void setStatus(int status) {}
/** @deprecated */
+ @Deprecated
public void setStatus(int status, String message) {}
public Collection<String> getHeaders(String name) { return null; }
}
* will be removed in a future version of this API.
*/
+@Deprecated
final class StandardSessionContext
implements HttpSessionContext {
* must return an empty <code>Enumeration</code> and will be
* removed in a future version of the API.
*/
+ @Deprecated
public Enumeration<String> getIds() {
return (new Enumerator<String>(dummy));
}
* must return null and will be removed in a future version of
* the API.
*/
+ @Deprecated
public HttpSession getSession(String id) {
return (null);
}
* @deprecated use getManagerTemplate().getClass().getName() instead.
* @return String
*/
+ @Deprecated
public String getManagerClassName() {
return managerTemplate.getClass().getName();
}
* @deprecated use nested <Manager> element inside the cluster config instead.
* @param managerClassName String
*/
+ @Deprecated
public void setManagerClassName(String managerClassName) {
log.warn("setManagerClassName is deprecated, use nested <Manager> element inside the <Cluster> element instead, this request will be ignored.");
}
* setter for the <code>appName</code> member variable
* @deprecated JAAS should use the <code>Engine</code> (domain) name and webpp/host overrides
*/
+ @Deprecated
public void setAppName(String name) {
appName = name;
}
* instantiated for any reason
* @deprecated
*/
+ @Deprecated
public Session createSession() {
return createSession(null);
}
* replacement. It will be removed in a future version of the
* Java Servlet API.
*/
+ @Deprecated
public HttpSessionContext getSessionContext() {
if (sessionContext == null)
* @deprecated As of Version 2.2, this method is replaced by
* <code>getAttribute()</code>
*/
+ @Deprecated
public Object getValue(String name) {
return (getAttribute(name));
* @deprecated As of Version 2.2, this method is replaced by
* <code>getAttributeNames()</code>
*/
+ @Deprecated
public String[] getValueNames() {
if (!isValidInternal())
* @deprecated As of Version 2.2, this method is replaced by
* <code>setAttribute()</code>
*/
+ @Deprecated
public void putValue(String name, Object value) {
setAttribute(name, value);
* @deprecated As of Version 2.2, this method is replaced by
* <code>removeAttribute()</code>
*/
+ @Deprecated
public void removeValue(String name) {
removeAttribute(name);
* interface will be removed in a future version of this API.
*/
+@Deprecated
final class StandardSessionContext implements HttpSessionContext {
* This method must return an empty <code>Enumeration</code>
* and will be removed in a future version of the API.
*/
+ @Deprecated
public Enumeration<String> getIds() {
return (new Enumerator<String>(dummy));
* This method must return null and will be removed in a
* future version of the API.
*/
+ @Deprecated
public HttpSession getSession(String id) {
return (null);
/**
* @deprecated
*/
+ @Deprecated
public HttpSessionContext getSessionContext() {
return session.getSessionContext();
}
/**
* @deprecated
*/
+ @Deprecated
public Object getValue(String name) {
return session.getAttribute(name);
}
/**
* @deprecated
*/
+ @Deprecated
public String[] getValueNames() {
return session.getValueNames();
}
/**
* @deprecated
*/
+ @Deprecated
public void putValue(String name, Object value) {
session.setAttribute(name, value);
}
/**
* @deprecated
*/
+ @Deprecated
public void removeValue(String name) {
session.removeAttribute(name);
}
* working directory if it has not been set.
* @deprecated Use initDirs()
*/
+ @Deprecated
public void setCatalinaBase() {
initDirs();
}
* working directory if it has not been set.
* @deprecated Use initDirs()
*/
+ @Deprecated
public void setCatalinaHome() {
initDirs();
}
* @return - four bytes in an array
* @deprecated use toBytes(boolean,byte[],int)
*/
+ @Deprecated
public static byte[] toBytes(boolean bool) {
byte[] b = new byte[1] ;
return toBytes(bool,b,0);
* @return - four bytes in an array
* @deprecated use toBytes(int,byte[],int)
*/
+ @Deprecated
public static byte[] toBytes(int n) {
return toBytes(n,new byte[4],0);
}
* @return - eight bytes in an array
* @deprecated use toBytes(long,byte[],int)
*/
+ @Deprecated
public static byte[] toBytes(long n) {
return toBytes(n,new byte[8],0);
}
* @deprecated use setAddress
* @param addr String
*/
+ @Deprecated
public void setMcastAddr(String addr) {
setAddress(addr);
}
* @deprecated use getAddress
* @return String
*/
+ @Deprecated
public String getMcastAddr() {
return getAddress();
}
* @deprecated use getBind
* @return String
*/
+ @Deprecated
public String getMcastBindAddress() {
return getBind();
}
* @deprecated use setPort
* @param port int
*/
+ @Deprecated
public void setMcastPort(int port) {
setPort(port);
}
* @deprecated use getPort()
* @return int
*/
+ @Deprecated
public int getMcastPort() {
return getPort();
}
* @deprecated use setFrequency
* @param time long
*/
+ @Deprecated
public void setMcastFrequency(long time) {
setFrequency(time);
}
* @deprecated use getFrequency
* @return long
*/
+ @Deprecated
public long getMcastFrequency() {
return getFrequency();
}
* @deprecated use getDropTime
* @return long
*/
+ @Deprecated
public long getMcastDropTime() {
return getDropTime();
}
* @deprecated use getSoTimeout
* @return int
*/
+ @Deprecated
public int getMcastSoTimeout() {
return getSoTimeout();
}
* @deprecated use setSoTimeout
* @param mcastSoTimeout int
*/
+ @Deprecated
public void setMcastSoTimeout(int mcastSoTimeout) {
setSoTimeout(mcastSoTimeout);
}
* @deprecated use getTtl
* @return int
*/
+ @Deprecated
public int getMcastTTL() {
return getTtl();
}
* @deprecated use setTtl
* @param mcastTTL int
*/
+ @Deprecated
public void setMcastTTL(int mcastTTL) {
setTtl(mcastTTL);
}
* @deprecated use getMinThreads()/getMaxThreads()
* @return int
*/
+ @Deprecated
public int getTcpThreadCount() {
return getMaxThreads();
}
* @deprecated use setPort
* @param tcpListenPort int
*/
+ @Deprecated
public void setTcpListenPort(int tcpListenPort) {
setPort(tcpListenPort);
}
* @deprecated use setAddress
* @param tcpListenHost String
*/
+ @Deprecated
public void setTcpListenAddress(String tcpListenHost) {
setAddress(tcpListenHost);
}
* @deprecated use setMaxThreads/setMinThreads
* @param tcpThreadCount int
*/
+ @Deprecated
public void setTcpThreadCount(int tcpThreadCount) {
setMaxThreads(tcpThreadCount);
setMinThreads(tcpThreadCount);
* @deprecated use getPort
* @return int
*/
+ @Deprecated
public int getTcpListenPort() {
return getPort();
}
* @deprecated use getSelectorTimeout
* @return long
*/
+ @Deprecated
public long getTcpSelectorTimeout() {
return getSelectorTimeout();
}
* @deprecated use getAddress
* @return String
*/
+ @Deprecated
public String getTcpListenAddress() {
return getAddress();
}
* @deprecated use setSelectorTimeout
* @param selTimeout long
*/
+ @Deprecated
public void setTcpSelectorTimeout(long selTimeout) {
setSelectorTimeout(selTimeout);
}
* @see #getEndColumn
*/
- public int getColumn() {
+ @Deprecated
+public int getColumn() {
return bufcolumn[bufpos];
}
* @see #getEndLine
*/
- public int getLine() {
+ @Deprecated
+public int getLine() {
return bufline[bufpos];
}
*
* @deprecated This method has been deprecated with no replacement
*/
+ @Deprecated
public Servlet getServlet(String name) throws ServletException {
return (null);
*
* @deprecated This method has been deprecated with no replacement
*/
+ @Deprecated
public Enumeration<String> getServletNames() {
return (new Vector<String>().elements());
*
* @deprecated This method has been deprecated with no replacement
*/
+ @Deprecated
public Enumeration<Servlet> getServlets() {
return (new Vector<Servlet>().elements());
*
* @deprecated Use log(String,Throwable) instead
*/
+ @Deprecated
public void log(Exception exception, String message) {
log(message, exception);
* @param lastModified New last modified date value
* @deprecated
*/
+ @Deprecated
public void setLastModified(Date lastModified) {
setLastModifiedDate(lastModified);
}
* method with <code>namespace</code> and <code>name</code>
* parameters instead.
*/
+ @Deprecated
public void begin(Attributes attributes) throws Exception {
// The default implementation does nothing
}
* with <code>namespace</code> and <code>name</code> parameters
* instead.
*/
+ @Deprecated
public void body(String text) throws Exception {
// The default implementation does nothing
}
* @deprecated Use the {@link #end(String,String) end} method with
* <code>namespace</code> and <code>name</code> parameters instead.
*/
+ @Deprecated
public void end() throws Exception {
// The default implementation does nothing
}
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetNextRule(String methodName)} instead.
*/
+ @Deprecated
public SetNextRule(Digester digester, String methodName) {
this(methodName);
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetNextRule(String methodName,String paramType)} instead.
*/
+ @Deprecated
public SetNextRule(Digester digester, String methodName,
String paramType) {
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetPropertiesRule()} instead.
*/
+ @Deprecated
public SetPropertiesRule(Digester digester) {
this();
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetPropertyRule(String name, String value)} instead.
*/
+ @Deprecated
public SetPropertyRule(Digester digester, String name, String value) {
this(name, value);
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetRootRule(String methodName)} instead.
*/
+ @Deprecated
public SetRootRule(Digester digester, String methodName) {
this(methodName);
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetRootRule(String methodName,String paramType)} instead.
*/
+ @Deprecated
public SetRootRule(Digester digester, String methodName,
String paramType) {
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetTopRule(String methodName)} instead.
*/
+ @Deprecated
public SetTopRule(Digester digester, String methodName) {
this(methodName);
* @deprecated The digester instance is now set in the {@link Digester#addRule} method.
* Use {@link #SetTopRule(String methodName, String paramType)} instead.
*/
+ @Deprecated
public SetTopRule(Digester digester, String methodName,
String paramType) {