thredds.bufrtables
Class BtServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by thredds.bufrtables.BtServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class BtServlet
extends javax.servlet.http.HttpServlet

NOT USED - replaced with spring beans

See Also:
Serialized Form

Field Summary
protected  String contentPath
           
protected  org.slf4j.Logger log
           
 
Constructor Summary
BtServlet()
           
 
Method Summary
 void destroy()
           
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          GET handles the case where its a remote URL (dods or http)
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          POST handles uploaded files
 void init()
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.slf4j.Logger log

contentPath

protected String contentPath
Constructor Detail

BtServlet

public BtServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException,
                  IOException
GET handles the case where its a remote URL (dods or http)

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
req - request
res - response
Throws:
javax.servlet.ServletException
IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException,
                   IOException
POST handles uploaded files

Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
req - request
res - response
Throws:
javax.servlet.ServletException
IOException


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.