| org.jboss.mq.il.ServerILJMXService org.jboss.mq.il.http.HTTPServerILService
HTTPServerILService | public class HTTPServerILService extends ServerILJMXService implements HTTPServerILServiceMBean(Code) | | Implements the ServerILJMXService which is used to manage the HTTP/S IL.
author: Nathan Phelps (nathan@jboss.org) version: $Revision: 57198 $ |
HTTPServerILService | public HTTPServerILService()(Code) | | |
getClientConnectionProperties | public Properties getClientConnectionProperties()(Code) | | |
getRestInterval | public int getRestInterval()(Code) | | Get the HTTPIL default RestInterval
|
getTimeOut | public int getTimeOut()(Code) | | Get the HTTPIL default timeout
|
getURL | public String getURL()(Code) | | 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).
|
getURLHostName | public String getURLHostName()(Code) | | Get the HTTPIL URLHostName.
|
getURLPort | public int getURLPort()(Code) | | Get the HTTPIL URLPort.
The default is 8080
|
getURLPrefix | public String getURLPrefix()(Code) | | Get the HTTPIL URLPrefix. I.E. "http://" or "https://"
The default is "http://"
|
getURLSuffix | public String getURLSuffix()(Code) | | Get the HTTPIL URLSuffix. I.E. The section of the URL after the port
The default is "jbossmq-httpil/HTTPServerILServlet"
|
getUseHostName | public boolean getUseHostName()(Code) | | 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
|
setRestInterval | public void setRestInterval(int restInterval)(Code) | | 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.
|
setTimeOut | public void setTimeOut(int timeout)(Code) | | 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.
|
setURL | public void setURL(String url)(Code) | | 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).
|
setURLHostName | public void setURLHostName(String hostname)(Code) | | Set the HTTPIL URLName.
|
setURLPort | public void setURLPort(int port)(Code) | | Set the HTTPIL URLPort.
The default is 8080
|
setURLPrefix | public void setURLPrefix(String prefix)(Code) | | Set the HTTPIL URLPrefix. I.E. "http://" or "https://"
The default is "http://"
|
setURLSuffix | public void setURLSuffix(String suffix)(Code) | | Set the HTTPIL URLSuffix. I.E. The section of the URL after the port
The default is "jbossmq-httpil/HTTPServerILServlet"
|
setUseHostName | public void setUseHostName(boolean value)(Code) | | 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
|
stopService | public void stopService()(Code) | | |
|
|