ucar.unidata.idv
Class ImageServer.ImageRequestHandler

java.lang.Object
  extended by ucar.unidata.util.HttpServer.RequestHandler
      extended by ucar.unidata.idv.ImageServer.ImageRequestHandler
All Implemented Interfaces:
Runnable
Enclosing class:
ImageServer

public static class ImageServer.ImageRequestHandler
extends HttpServer.RequestHandler

Class ImageRequestHandler handles image server requests

Version:
$Revision: 1.15 $
Author:
IDV Development Team

Field Summary
 
Fields inherited from class ucar.unidata.util.HttpServer.RequestHandler
CRLF, LF, server
 
Constructor Summary
ImageServer.ImageRequestHandler(IntegratedDataViewer idv, HttpServer server, Socket socket)
          ctor
 
Method Summary
protected  void handleRequest(String path, Hashtable formArgs, Hashtable httpArgs, String content)
          Handle the request
protected  void handleRequestInner(String path, Hashtable formArgs, Hashtable httpArgs, String content)
          Really handle the request
 
Methods inherited from class ucar.unidata.util.HttpServer.RequestHandler
addArg, getOutputStream, getSocket, handleFileUpload, log, okToParseContent, parseArgs, redirect, run, writeBytes, writeHeader, writeHeaderArgs, writeHtml, writeLine, writeResult, writeResult, writeResult, writeResult, writeResult, writeResult, writeResult, writeXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageServer.ImageRequestHandler

public ImageServer.ImageRequestHandler(IntegratedDataViewer idv,
                                       HttpServer server,
                                       Socket socket)
                                throws Exception
ctor

Parameters:
idv - The idv
server - The server
socket - The connection
Throws:
Exception - On badness
Method Detail

handleRequest

protected void handleRequest(String path,
                             Hashtable formArgs,
                             Hashtable httpArgs,
                             String content)
                      throws Exception
Handle the request

Overrides:
handleRequest in class HttpServer.RequestHandler
Parameters:
path - unused
formArgs - the request args
httpArgs - unused
content - unused
Throws:
Exception - On badness

handleRequestInner

protected void handleRequestInner(String path,
                                  Hashtable formArgs,
                                  Hashtable httpArgs,
                                  String content)
                           throws Exception
Really handle the request

Parameters:
path - unused
formArgs - the request args
httpArgs - unused
content - unused
Throws:
Exception - On badness