Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.coherence.rest.server
Class DefaultHttpServer

java.lang.Object
  extended by com.tangosol.coherence.rest.server.AbstractHttpServer
      extended by com.tangosol.coherence.rest.server.DefaultHttpServer

All Implemented Interfaces:
HttpServer

public class DefaultHttpServer
extends AbstractHttpServer

Implementation of HttpServer that uses Sun's lightweight HTTP server to handle requests.

This implementation is not recommended for production environments.

Author:
as 2011.06.08

Field Summary
protected  com.sun.net.httpserver.HttpServer m_server
          HTTP server instance.

 

Fields inherited from class com.tangosol.coherence.rest.server.AbstractHttpServer
DEFAULT_ADDRESS, DEFAULT_PORT, m_nPort, m_resourceConfig, m_sAddr

 

Constructor Summary
DefaultHttpServer()
           

 

Method Summary
 void start()
          Start the server.
 void stop()
          Stop the server.

 

Methods inherited from class com.tangosol.coherence.rest.server.AbstractHttpServer
getLocalAddress, getLocalPort, getResourceConfig, setLocalAddress, setLocalPort, setResourceConfig

 

Field Detail

m_server

protected com.sun.net.httpserver.HttpServer m_server
HTTP server instance.

Constructor Detail

DefaultHttpServer

public DefaultHttpServer()

Method Detail

start

public void start()
Start the server.

stop

public void stop()
Stop the server.

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.