org.mindswap.pellet.dig
Class PelletDIGServer

java.lang.Object
  extended by org.mortbay.http.handler.AbstractHttpHandler
      extended by org.mindswap.pellet.dig.PelletDIGServer
All Implemented Interfaces:
java.io.Serializable, org.mortbay.http.HttpHandler, org.mortbay.util.LifeCycle

Deprecated. DIG functionality is deprecated and will be remove in the next major release

@Deprecated
public class PelletDIGServer
extends org.mortbay.http.handler.AbstractHttpHandler
implements org.mortbay.http.HttpHandler

An implementation of DIG server. This is a simple HTTP server that listens for the DIG commands and processes them through PelletDIGReasoner. The port that the server uses can be selected by the command line option:

 Usage: java PelletDIGServer [-port portNum]
  -port portNum           The port number user by the server (default
                          port number used is 8081)
  -help                   Print this information
 

Author:
Evren Sirin
See Also:
Serialized Form

Field Summary
static int DEFAULT_PORT
          Deprecated.  
 
Constructor Summary
PelletDIGServer()
          Deprecated.  
PelletDIGServer(int port)
          Deprecated.  
 
Method Summary
 void handle(java.lang.String pathInContext, java.lang.String pathParams, org.mortbay.http.HttpRequest request, org.mortbay.http.HttpResponse response)
          Deprecated.  
 void run()
          Deprecated.  
 
Methods inherited from class org.mortbay.http.handler.AbstractHttpHandler
getHttpContext, getName, handleTrace, initialize, isStarted, setName, start, stop, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mortbay.http.HttpHandler
getHttpContext, getName, initialize
 
Methods inherited from interface org.mortbay.util.LifeCycle
isStarted, start, stop
 

Field Detail

DEFAULT_PORT

public static int DEFAULT_PORT
Deprecated. 
Constructor Detail

PelletDIGServer

public PelletDIGServer(int port)
Deprecated. 

PelletDIGServer

public PelletDIGServer()
Deprecated. 
Method Detail

handle

public void handle(java.lang.String pathInContext,
                   java.lang.String pathParams,
                   org.mortbay.http.HttpRequest request,
                   org.mortbay.http.HttpResponse response)
Deprecated. 
Specified by:
handle in interface org.mortbay.http.HttpHandler

run

public void run()
Deprecated. 


Copyright © 2004 Evren Sirin. All Rights Reserved.