org.w3c.www.protocol.http
Class HttpIDMManager

java.lang.Object
  |
  +--org.w3c.www.protocol.http.HttpManager
        |
        +--org.w3c.www.protocol.http.HttpIDMManager
All Implemented Interfaces:
org.w3c.util.PropertyMonitoring

public class HttpIDMManager
extends org.w3c.www.protocol.http.HttpManager


Field Summary
static boolean debug
           
 
Fields inherited from class org.w3c.www.protocol.http.HttpManager
ACCEPT_ENCODING_P, ACCEPT_LANGUAGE_P, ACCEPT_P, conn_count, conn_max, CONN_MAX_P, connectionsLru, DEFAULT_ACCEPT, DEFAULT_USER_AGENT, factory, filteng, FILTERS_PROP_P, lenient, LENIENT_P, MAX_STALE_P, MIN_FRESH_P, ONLY_IF_CACHED_P, props, PROXY_HOST_P, PROXY_PORT_P, PROXY_SET_P, SERVER_CLASS_P, serverclass, servers, template, timeout, TIMEOUT_P, USER_AGENT_P
 
Constructor Summary
HttpIDMManager()
           
 
Method Summary
static org.w3c.www.protocol.http.HttpManager getManager(java.util.Properties p)
           
protected  org.w3c.www.protocol.http.HttpServer lookupServer(java.lang.String host, int port, java.lang.String role)
           
 org.w3c.www.protocol.http.Reply runRequest(org.w3c.www.protocol.http.Request request)
          Run the given request, in synchronous mode.
 
Methods inherited from class org.w3c.www.protocol.http.HttpManager
, closeAnyConnection, createRequest, decrConnCount, deleteConnection, getConnection, getGlobalFilter, getGlobalHeader, getManager, getManager, getProperties, getReplyFactory, getServerKey, incrConnCount, isLenient, lookupServer, main, negotiateConnection, notifyConnection, notifyIdle, notifyUse, propertyChanged, setAllowUserInteraction, setFilter, setFilter, setGlobalHeader, setLenient, setMaxConnections, setProxy, setRequestTimeout, setTimeout, sync, tooManyConnections, updateProxy, usingProxy, waitForConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

public static boolean debug
Constructor Detail

HttpIDMManager

public HttpIDMManager()
Method Detail

getManager

public static org.w3c.www.protocol.http.HttpManager getManager(java.util.Properties p)

lookupServer

protected org.w3c.www.protocol.http.HttpServer lookupServer(java.lang.String host,
                                                            int port,
                                                            java.lang.String role)
                                                     throws org.w3c.www.protocol.http.HttpException
org.w3c.www.protocol.http.HttpException

runRequest

public org.w3c.www.protocol.http.Reply runRequest(org.w3c.www.protocol.http.Request request)
                                           throws org.w3c.www.protocol.http.HttpException
Run the given request, in synchronous mode. This method will launch the given request, and block the calling thread until the response headers are available.

Overrides:
runRequest in class org.w3c.www.protocol.http.HttpManager
Parameters:
request - The request to run.
Returns:
An instance of Reply, containing all the reply informations.
Throws:
HttpException - If something failed during request processing.


Copyright © 2003 DRIM Team. All Rights Reserved.