java.lang.Object
swim.io.http.AbstractHttpService
- All Implemented Interfaces:
FlowContext
,HttpService
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract HttpServer
void
didAccept
(HttpServer server) void
didBind()
void
void
Returns the currentFlowControl
state of the underlying network channel.void
flowControl
(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 aflowModifier
delta.void
setHttpServiceContext
(HttpServiceContext context) void
unbind()
-
Field Details
-
context
-
-
Constructor Details
-
AbstractHttpService
public AbstractHttpService()
-
-
Method Details
-
httpServiceContext
- Specified by:
httpServiceContext
in interfaceHttpService
-
setHttpServiceContext
- Specified by:
setHttpServiceContext
in interfaceHttpService
-
createServer
- Specified by:
createServer
in interfaceHttpService
-
didBind
public void didBind()- Specified by:
didBind
in interfaceHttpService
-
didAccept
- Specified by:
didAccept
in interfaceHttpService
-
didUnbind
public void didUnbind()- Specified by:
didUnbind
in interfaceHttpService
-
didFail
- Specified by:
didFail
in interfaceHttpService
-
flowControl
Description copied from interface:FlowContext
Returns the currentFlowControl
state of the underlying network channel.- Specified by:
flowControl
in interfaceFlowContext
-
flowControl
Description copied from interface:FlowContext
Enqueues an atomic replacement of the underlying network channel's flow control state with a newflowControl
.- Specified by:
flowControl
in interfaceFlowContext
-
flowControl
Description copied from interface:FlowContext
Enqueues an atomic modification to the underlying network channel's flow control state by applying aflowModifier
delta.- Specified by:
flowControl
in interfaceFlowContext
-
httpSettings
-
localAddress
-
unbind
public void unbind()
-