Save This Page
Home » JBoss-5.1.0 » org » jboss » mq » il » http » [javadoc | source]
org.jboss.mq.il.http
public class: HTTPServerILService [javadoc | source]
java.lang.Object
   org.jboss.mq.il.ServerILJMXService
      org.jboss.mq.il.http.HTTPServerILService

All Implemented Interfaces:
    HTTPServerILServiceMBean

Implements the ServerILJMXService which is used to manage the HTTP/S IL.
Constructor:
 public HTTPServerILService() 
Method from org.jboss.mq.il.http.HTTPServerILService Summary:
getClientConnectionProperties,   getName,   getRestInterval,   getServerIL,   getTimeOut,   getURL,   getURLHostName,   getURLPort,   getURLPrefix,   getURLSuffix,   getUseHostName,   setRestInterval,   setTimeOut,   setURL,   setURLHostName,   setURLPort,   setURLPrefix,   setURLSuffix,   setUseHostName,   startService,   stopService
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.mq.il.http.HTTPServerILService Detail:
 public Properties getClientConnectionProperties() 
 public String getName() 
 public int getRestInterval() 
    Get the HTTPIL default RestInterval
 public ServerIL getServerIL() 
 public int getTimeOut() 
    Get the HTTPIL default timeout
 public String getURL() 
    Get the HTTPIL URL. This value takes precedence over any individual values set (i.e. the URLPrefix, URLSuffix, URLPort, etc.) It my be a actual URL or a propertyname which will be used on the client side to resolve the proper URL by calling System.getProperty(propertyname).
 public String getURLHostName() 
    Get the HTTPIL URLHostName.
 public int getURLPort() 
    Get the HTTPIL URLPort. The default is 8080
 public String getURLPrefix() 
    Get the HTTPIL URLPrefix. I.E. "http://" or "https://" The default is "http://"
 public String getURLSuffix() 
    Get the HTTPIL URLSuffix. I.E. The section of the URL after the port The default is "jbossmq-httpil/HTTPServerILServlet"
 public boolean getUseHostName() 
    Get the HTTPIL UseHostName flag. if true the default URL will include a hostname, if false it will include an IP adddress. The default is false
 public  void setRestInterval(int restInterval) 
    Set the HTTPIL default RestInterval--the number of seconds the ClientILService will sleep after each client request. The default is 0, but you can set this value in conjunction with the TimeOut value to implement a pure timed based polling mechanism. For example, you could simply do a short lived request by setting the TimeOut value to 0 and then setting the RestInterval to 60. This would cause the ClientILService to send a single non-blocking request to the server, return any messages if available, then sleep for 60 seconds, before issuing another request. Like the TimeOut value, this can be explicitly overriden on a given client by specifying the org.jboss.mq.il.http.restinterval with the number of seconds you wish to wait between requests.
 public  void setTimeOut(int timeout) 
    Set the HTTPIL default timeout--the number of seconds that the ClientILService HTTP requests will wait for messages. This can be overridden on the client by setting the system property org.jboss.mq.il.http.timeout to an int value of the number of seconds. NOTE: This value should be in seconds, not millis.
 public  void setURL(String url) 
    Set the HTTPIL URL. This value takes precedence over any individual values set (i.e. the URLPrefix, URLSuffix, URLPort, etc.) It my be a actual URL or a propertyname which will be used on the client side to resolve the proper URL by calling System.getProperty(propertyname).
 public  void setURLHostName(String hostname) 
    Set the HTTPIL URLName.
 public  void setURLPort(int port) 
    Set the HTTPIL URLPort. The default is 8080
 public  void setURLPrefix(String prefix) 
    Set the HTTPIL URLPrefix. I.E. "http://" or "https://" The default is "http://"
 public  void setURLSuffix(String suffix) 
    Set the HTTPIL URLSuffix. I.E. The section of the URL after the port The default is "jbossmq-httpil/HTTPServerILServlet"
 public  void setUseHostName(boolean value) 
    Set the HTTPIL UseHostName flag. if true the default URL will include a hostname, if false it will include an IP adddress. The default is false
 public  void startService() throws Exception 
 public  void stopService()