|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AggregateLifeCycle
org.eclipse.jetty.server.AbstractConnector
org.eclipse.jetty.nested.NestedConnector
public class NestedConnector
Nested Jetty Connector
This Jetty Connector allows a jetty instance to be nested inside another servlet container.
Requests received by the outer servlet container should be passed to jetty using the service(ServletRequest, ServletResponse) method of this connector.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener |
| Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle |
|---|
org.eclipse.jetty.util.component.LifeCycle.Listener |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jetty.server.AbstractConnector |
|---|
_buffers, _lowResourceMaxIdleTime, _maxIdleTime, _soLingerTime |
| Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING |
| Constructor Summary | |
|---|---|
NestedConnector()
|
|
| Method Summary | |
|---|---|
protected void |
accept(int acceptorID)
|
void |
close()
|
Object |
getConnection()
|
int |
getLocalPort()
|
void |
open()
|
void |
service(javax.servlet.ServletRequest outerRequest,
javax.servlet.ServletResponse outerResponse)
Service a request of the outer servlet container by passing it to the nested instance of Jetty. |
| Methods inherited from class org.eclipse.jetty.util.component.AggregateLifeCycle |
|---|
addBean, addBean, contains, destroy, dump, dump, dump, dump, dump, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanage |
| Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle |
|---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| Methods inherited from interface org.eclipse.jetty.util.component.Dumpable |
|---|
dump, dump |
| Constructor Detail |
|---|
public NestedConnector()
| Method Detail |
|---|
public void open()
throws IOException
IOException
public void close()
throws IOException
IOExceptionpublic int getLocalPort()
public Object getConnection()
protected void accept(int acceptorID)
throws IOException,
InterruptedException
accept in class AbstractConnectorIOException
InterruptedException
public void service(javax.servlet.ServletRequest outerRequest,
javax.servlet.ServletResponse outerResponse)
throws IOException,
javax.servlet.ServletException
outerRequest - outerResponse -
IOException
javax.servlet.ServletException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||