edu.mit.stellar.images
Class UploadImageToStore

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byedu.mit.stellar.images.UploadImageToStore
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class UploadImageToStore
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Field Summary
(package private)  java.lang.String baseDir
           
(package private)  java.lang.String imageMagickDir
           
(package private)  java.lang.String mediumImageUrl
           
(package private)  java.lang.String thumbnailUrl
           
(package private)  java.lang.String urlBase
           
 
Constructor Summary
UploadImageToStore()
           
 
Method Summary
 void destroy()
          Destruction of the servlet.
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 java.lang.String getServletInfo()
          Returns information about the servlet, such as author, version, and copyright.
 java.lang.String getUploadJournal()
           
 void init()
          Initialization of the servlet.
 void setUploadJournal(java.lang.String newUploadJournal)
           
 
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, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseDir

java.lang.String baseDir

urlBase

java.lang.String urlBase

imageMagickDir

java.lang.String imageMagickDir

mediumImageUrl

java.lang.String mediumImageUrl

thumbnailUrl

java.lang.String thumbnailUrl
Constructor Detail

UploadImageToStore

public UploadImageToStore()
Method Detail

getUploadJournal

public java.lang.String getUploadJournal()
Returns:

setUploadJournal

public void setUploadJournal(java.lang.String newUploadJournal)

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

init

public void init()
          throws javax.servlet.ServletException
Initialization of the servlet.

Throws:
javax.servlet.ServletException - if an error occure

destroy

public void destroy()
Destruction of the servlet.


getServletInfo

public java.lang.String getServletInfo()
Returns information about the servlet, such as author, version, and copyright.

Returns:
String information about this servlet


Copyright 2005-2005-2006 MIT AMPS. All Rights Reserved.