Class NewConnectionPoolSpec.ConnNrHeader
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.javadsl.model.headers.CustomHeader
org.apache.pekko.http.scaladsl.model.headers.CustomHeader
org.apache.pekko.http.impl.engine.client.NewConnectionPoolSpec.ConnNrHeader
- All Implemented Interfaces:
- Serializable,- Renderable,- ToStringRenderable,- scala.Equals,- scala.Product
- Enclosing class:
- NewConnectionPoolSpec
public class NewConnectionPoolSpec.ConnNrHeader
extends CustomHeader
implements scala.Product, Serializable
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeaderHttpHeader.ParsingResult, HttpHeader.ParsingResult$
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract static Rapply(T1 v1) name()Returns the name of the header.intnr()booleanReturns true if and only if the header is to be rendered in requests.booleanReturns true if and only if the header is to be rendered in responses.static StringtoString()value()Returns the String representation of the value of the header.Methods inherited from class org.apache.pekko.http.scaladsl.model.headers.CustomHeaderlowercaseName, renderMethods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeaderfastFind, is, isNot, parse, unapply, unsafeToStringMethods inherited from class org.apache.pekko.http.javadsl.model.HttpHeaderparseMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderabletoString
- 
Constructor Details- 
ConnNrHeaderpublic ConnNrHeader(int nr) 
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1) 
- 
toString
- 
nrpublic int nr()
- 
renderInRequestspublic boolean renderInRequests()Description copied from class:HttpHeaderReturns true if and only if the header is to be rendered in requests.- Specified by:
- renderInRequestsin class- HttpHeader
 
- 
renderInResponsespublic boolean renderInResponses()Description copied from class:HttpHeaderReturns true if and only if the header is to be rendered in responses.- Specified by:
- renderInResponsesin class- HttpHeader
 
- 
nameDescription copied from class:HttpHeaderReturns the name of the header.- Specified by:
- namein class- CustomHeader
 
- 
valueDescription copied from class:HttpHeaderReturns the String representation of the value of the header.- Specified by:
- valuein class- CustomHeader
 
 
-