Package com.linecorp.armeria.server
Class ServiceOptionsBuilder
java.lang.Object
com.linecorp.armeria.server.ServiceOptionsBuilder
Creates a new
ServiceOptions
with the specified parameters.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a newly createdServiceOptions
based on the properties of this builder.maxRequestLength
(long maxRequestLength) Returns the server-side maximum length of a request.requestAutoAbortDelayMillis
(long requestAutoAbortDelayMillis) Sets the amount of time to wait before aborting anHttpRequest
when its correspondingHttpResponse
is complete.requestTimeoutMillis
(long requestTimeoutMillis) Returns the server-side timeout of a request in milliseconds.
-
Method Details
-
requestTimeoutMillis
Returns the server-side timeout of a request in milliseconds. -
maxRequestLength
Returns the server-side maximum length of a request. -
requestAutoAbortDelayMillis
Sets the amount of time to wait before aborting anHttpRequest
when its correspondingHttpResponse
is complete. -
build
Returns a newly createdServiceOptions
based on the properties of this builder.
-