|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.odata4j.cxf.producer.server.ODataCxfServer
public class ODataCxfServer
OData server using the CXF JAX-RS implementation and Jetty as HTTP server.
Constructor Summary | |
---|---|
ODataCxfServer(String appBaseUri)
|
|
ODataCxfServer(String appBaseUri,
Class<? extends Application> odataApp,
Class<? extends Application> rootApp)
|
Method Summary | |
---|---|
ODataCxfServer |
addJettyRequestHandler(org.eclipse.jetty.server.Handler handler)
|
ODataServer |
setODataApplication(Class<? extends Application> odataApp)
Sets the OData application. |
ODataServer |
setRootApplication(Class<? extends Application> rootApp)
Sets the root application. |
ODataServer |
start()
Starts the OData server. |
ODataServer |
stop()
Stops the OData server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ODataCxfServer(String appBaseUri)
public ODataCxfServer(String appBaseUri, Class<? extends Application> odataApp, Class<? extends Application> rootApp)
Method Detail |
---|
public ODataCxfServer addJettyRequestHandler(org.eclipse.jetty.server.Handler handler)
public ODataServer setODataApplication(Class<? extends Application> odataApp)
ODataServer
setODataApplication
in interface ODataServer
odataApp
- the OData application class
AbstractODataApplication
,
DefaultODataApplication
public ODataServer setRootApplication(Class<? extends Application> rootApp)
ODataServer
setRootApplication
in interface ODataServer
rootApp
- the root application class
RootApplication
public ODataServer start()
ODataServer
start
in interface ODataServer
public ODataServer stop()
ODataServer
stop
in interface ODataServer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |