java.lang.Object
swim.io.http.AbstractHttpService
- All Implemented Interfaces:
FlowContext,HttpService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract HttpServervoiddidAccept(HttpServer server) voiddidBind()voidvoidReturns the currentFlowControlstate of the underlying network channel.voidflowControl(FlowControl flowControl) Enqueues an atomic replacement of the underlying network channel's flow control state with a newflowControl.flowControl(FlowModifier flowModifier) Enqueues an atomic modification to the underlying network channel's flow control state by applying aflowModifierdelta.voidsetHttpServiceContext(HttpServiceContext context) voidunbind()
-
Field Details
-
context
-
-
Constructor Details
-
AbstractHttpService
public AbstractHttpService()
-
-
Method Details
-
httpServiceContext
- Specified by:
httpServiceContextin interfaceHttpService
-
setHttpServiceContext
- Specified by:
setHttpServiceContextin interfaceHttpService
-
createServer
- Specified by:
createServerin interfaceHttpService
-
didBind
public void didBind()- Specified by:
didBindin interfaceHttpService
-
didAccept
- Specified by:
didAcceptin interfaceHttpService
-
didUnbind
public void didUnbind()- Specified by:
didUnbindin interfaceHttpService
-
didFail
- Specified by:
didFailin interfaceHttpService
-
flowControl
Description copied from interface:FlowContextReturns the currentFlowControlstate of the underlying network channel.- Specified by:
flowControlin interfaceFlowContext
-
flowControl
Description copied from interface:FlowContextEnqueues an atomic replacement of the underlying network channel's flow control state with a newflowControl.- Specified by:
flowControlin interfaceFlowContext
-
flowControl
Description copied from interface:FlowContextEnqueues an atomic modification to the underlying network channel's flow control state by applying aflowModifierdelta.- Specified by:
flowControlin interfaceFlowContext
-
httpSettings
-
localAddress
-
unbind
public void unbind()
-