gistoolkit.server.mapservice
Class ResponseThread

java.lang.Object
  extended byjava.lang.Thread
      extended bygistoolkit.server.mapservice.ResponseThread
All Implemented Interfaces:
java.lang.Runnable

public class ResponseThread
extends java.lang.Thread

Used for reading data coming from the input stream from the client, performing some action, and returning the data back to the client via the output stream.


Field Summary
static java.lang.String CALLED_URL_PARAMETER
           
static java.lang.String SERVICE_NAME_PARAMETER
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ResponseThread(WebMapService inService, java.net.Socket inSocket)
          Creates new ResponseThread
 
Method Summary
static MapRequest getMapRequest(Request inRequest)
          Create the map request given the request, and return it.
 void run()
          Read the data in and write the result out.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SERVICE_NAME_PARAMETER

public static final java.lang.String SERVICE_NAME_PARAMETER
See Also:
Constant Field Values

CALLED_URL_PARAMETER

public static final java.lang.String CALLED_URL_PARAMETER
See Also:
Constant Field Values
Constructor Detail

ResponseThread

public ResponseThread(WebMapService inService,
                      java.net.Socket inSocket)
Creates new ResponseThread

Method Detail

run

public void run()
Read the data in and write the result out.


getMapRequest

public static MapRequest getMapRequest(Request inRequest)
                                throws java.lang.Exception
Create the map request given the request, and return it.

Throws:
java.lang.Exception