Package org.atmosphere.cpr
Class AtmosphereResponseImpl.Builder
java.lang.Object
org.atmosphere.cpr.AtmosphereResponseImpl.Builder
- All Implemented Interfaces:
AtmosphereResponse.Builder
- Enclosing class:
AtmosphereResponseImpl
public static final class AtmosphereResponseImpl.Builder
extends Object
implements AtmosphereResponse.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasyncIOWriter(AsyncIOWriter asyncIOWriter) build()destroyable(boolean isRecyclable) request(AtmosphereRequest atmosphereRequest) response(jakarta.servlet.http.HttpServletResponse res) status(int status) statusMessage(String statusMessage) writeHeader(boolean writeStatusAndHeader)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destroyable
- Specified by:
destroyablein interfaceAtmosphereResponse.Builder
-
asyncIOWriter
- Specified by:
asyncIOWriterin interfaceAtmosphereResponse.Builder
-
status
- Specified by:
statusin interfaceAtmosphereResponse.Builder
-
statusMessage
- Specified by:
statusMessagein interfaceAtmosphereResponse.Builder
-
request
- Specified by:
requestin interfaceAtmosphereResponse.Builder
-
build
- Specified by:
buildin interfaceAtmosphereResponse.Builder
-
header
- Specified by:
headerin interfaceAtmosphereResponse.Builder
-
writeHeader
- Specified by:
writeHeaderin interfaceAtmosphereResponse.Builder
-
response
- Specified by:
responsein interfaceAtmosphereResponse.Builder
-