|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.transport.http.netty.server.NettyHttpServerEngine
public class NettyHttpServerEngine
Constructor Summary | |
---|---|
NettyHttpServerEngine()
|
|
NettyHttpServerEngine(String host,
int port)
|
Method Summary | |
---|---|
void |
addServant(URL url,
NettyHttpHandler handler)
|
protected void |
checkRegistedContext(URL url)
|
void |
finalizeConfig()
|
String |
getHost()
|
int |
getMaxChunkContentSize()
|
int |
getPort()
|
String |
getProtocol()
|
int |
getReadIdleTime()
|
NettyHttpHandler |
getServant(URL url)
Get a previously registered servant. |
ThreadingParameters |
getThreadingParameters()
|
TLSServerParameters |
getTlsServerParameters()
This method returns the programmatically set TLSServerParameters, not the TLSServerParametersType, which is the JAXB generated type used in SpringConfiguration. |
int |
getWriteIdleTime()
|
boolean |
isSessionSupport()
|
void |
removeServant(URL url)
Remove a previously registered servant. |
void |
setHost(String host)
|
void |
setMaxChunkContentSize(int maxChunkContentSize)
|
void |
setPort(int port)
|
void |
setProtocol(String protocol)
|
void |
setReadIdleTime(int readIdleTime)
|
void |
setSessionSupport(boolean session)
|
void |
setThreadingParameters(ThreadingParameters params)
|
void |
setTlsServerParameters(TLSServerParameters params)
This method is used to programmatically set the TLSServerParameters. |
void |
setWriteIdleTime(int writeIdleTime)
|
void |
shutdown()
|
protected io.netty.channel.Channel |
startServer()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NettyHttpServerEngine()
public NettyHttpServerEngine(String host, int port)
Method Detail |
---|
public String getProtocol()
public void setProtocol(String protocol)
@PostConstruct public void finalizeConfig()
public void setTlsServerParameters(TLSServerParameters params)
public TLSServerParameters getTlsServerParameters()
public void setThreadingParameters(ThreadingParameters params)
public ThreadingParameters getThreadingParameters()
protected io.netty.channel.Channel startServer()
protected void checkRegistedContext(URL url)
public void addServant(URL url, NettyHttpHandler handler)
addServant
in interface ServerEngine
public void removeServant(URL url)
ServerEngine
removeServant
in interface ServerEngine
url
- the URL the servant was registered against.public NettyHttpHandler getServant(URL url)
ServerEngine
getServant
in interface ServerEngine
url
- the associated URL
public void shutdown()
public int getReadIdleTime()
public void setReadIdleTime(int readIdleTime)
public int getWriteIdleTime()
public void setWriteIdleTime(int writeIdleTime)
public boolean isSessionSupport()
public void setSessionSupport(boolean session)
public int getMaxChunkContentSize()
public void setMaxChunkContentSize(int maxChunkContentSize)
public int getPort()
public void setPort(int port)
public void setHost(String host)
public String getHost()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |