java.lang.Object
io.helidon.builder.config.spi.GeneratedConfigBeanBase
io.helidon.nima.webserver.http1.AbstractHttp1Config
- All Implemented Interfaces:
ConfigProvider,GeneratedConfigBeanCommon,Http1Config
- Direct Known Subclasses:
DefaultHttp1Config
@Generated(value="io.helidon.builder.config.processor.ConfigBeanBuilderCreator",
comments="version=1")
public abstract class AbstractHttp1Config
extends GeneratedConfigBeanBase
implements Http1Config
Abstract implementation w/ builder for
Http1Config.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractHttp1Config.Builder<B extends AbstractHttp1Config.Builder<B,T>, T extends Http1Config> Fluent API builder forT. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor using the builder argument. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>The map of meta attributes describing each element of this type.static Class<?>Returns theConfigBeantype.A single receive listener, this value is computed.A single send listener, this value is computed.booleanWhen true WebServer answers to expect continue with 100 continue immediately, not waiting for user to actually request the data.booleaninthashCode()intMaximal size of received headers in bytes.intMaximal size of received HTTP prologue (GET /path HTTP/1.1).Connection receive event listeners for HTTP/1.1.booleanLogging of received packets.Requested URI discovery settings.Connection send event listeners for HTTP/1.1.booleansendLog()Logging of sent packets.toString()protected StringProduces the inner portion of the toString() output (i.e., what is between the parens).booleanWhether to validate headers.booleanIf set to false, any path is accepted (even containing illegal characters).<T> voidvisitAttributes(io.helidon.builder.AttributeVisitor<T> visitor, T userDefinedCtx) Methods inherited from class io.helidon.builder.config.spi.GeneratedConfigBeanBase
__config, __instanceId, __instanceId
-
Constructor Details
-
AbstractHttp1Config
Constructor using the builder argument.- Parameters:
b- the builder
-
-
Method Details
-
maxPrologueLength
public int maxPrologueLength()Description copied from interface:Http1ConfigMaximal size of received HTTP prologue (GET /path HTTP/1.1).- Specified by:
maxPrologueLengthin interfaceHttp1Config- Returns:
- maximal size in bytes
-
maxHeadersSize
public int maxHeadersSize()Description copied from interface:Http1ConfigMaximal size of received headers in bytes.- Specified by:
maxHeadersSizein interfaceHttp1Config- Returns:
- maximal header size
-
validateHeaders
public boolean validateHeaders()Description copied from interface:Http1ConfigWhether to validate headers. If set to false, any value is accepted, otherwise validates headers + known headers are validated by format (content length is always validated as it is part of protocol processing (other headers may be validated if features use them)).- Specified by:
validateHeadersin interfaceHttp1Config- Returns:
- whether to validate headers
-
validatePath
public boolean validatePath()Description copied from interface:Http1ConfigIf set to false, any path is accepted (even containing illegal characters).- Specified by:
validatePathin interfaceHttp1Config- Returns:
- whether to validate path
-
receiveLog
public boolean receiveLog()Description copied from interface:Http1ConfigLogging of received packets. Uses trace and debug levels on logger ofHttp1LoggingConnectionListenerwith suffix of.recv`.- Specified by:
receiveLogin interfaceHttp1Config- Returns:
trueif logging should be enabled for received packets,falseif no logging should be done
-
sendLog
public boolean sendLog()Description copied from interface:Http1ConfigLogging of sent packets. Uses trace and debug levels on logger ofHttp1LoggingConnectionListenerwith suffix of.send`.- Specified by:
sendLogin interfaceHttp1Config- Returns:
trueif logging should be enabled for sent packets,falseif no logging should be done
-
continueImmediately
public boolean continueImmediately()Description copied from interface:Http1ConfigWhen true WebServer answers to expect continue with 100 continue immediately, not waiting for user to actually request the data.- Specified by:
continueImmediatelyin interfaceHttp1Config- Returns:
- if
trueanswer with 100 continue immediately after expect continue
-
requestedUriDiscovery
Description copied from interface:Http1ConfigRequested URI discovery settings.- Specified by:
requestedUriDiscoveryin interfaceHttp1Config- Returns:
- settings for computing the requested URI
-
sendListeners
Description copied from interface:Http1ConfigConnection send event listeners for HTTP/1.1.- Specified by:
sendListenersin interfaceHttp1Config- Returns:
- send event listeners
-
receiveListeners
Description copied from interface:Http1ConfigConnection receive event listeners for HTTP/1.1.- Specified by:
receiveListenersin interfaceHttp1Config- Returns:
- receive event listeners
-
compositeSendListener
Description copied from interface:Http1ConfigA single send listener, this value is computed.- Specified by:
compositeSendListenerin interfaceHttp1Config- Returns:
- send listener
-
compositeReceiveListener
Description copied from interface:Http1ConfigA single receive listener, this value is computed.- Specified by:
compositeReceiveListenerin interfaceHttp1Config- Returns:
- receive listener
-
__configBeanType
- Specified by:
__configBeanTypein interfaceGeneratedConfigBeanCommon
-
__thisConfigBeanType
Returns theConfigBeantype.- Returns:
- the config bean type
-
__metaAttributes
The map of meta attributes describing each element of this type.- Returns:
- the map of meta attributes using the key being the attribute name
-
toString
-
toStringInner
Produces the inner portion of the toString() output (i.e., what is between the parens).- Returns:
- portion of the toString output
-
hashCode
public int hashCode() -
equals
-
visitAttributes
public <T> void visitAttributes(io.helidon.builder.AttributeVisitor<T> visitor, T userDefinedCtx) - Specified by:
visitAttributesin interfaceGeneratedConfigBeanCommon
-