Class Accept
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.javadsl.model.headers.Accept
- All Implemented Interfaces:
- Renderable,- ToStringRenderable
- Direct Known Subclasses:
- Accept
Model for the `Accept` header. Specification:
 http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-5.3.2
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeaderHttpHeader.ParsingResult, HttpHeader.ParsingResult$
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract booleanstatic Acceptcreate(MediaRange... mediaRanges) abstract Iterable<MediaRange>Methods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeaderfastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, valueMethods inherited from class org.apache.pekko.http.javadsl.model.HttpHeaderparse, renderInRequests, renderInResponsesMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.impl.util.RenderablerenderMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderabletoString
- 
Constructor Details- 
Acceptpublic Accept()
 
- 
- 
Method Details- 
getMediaRanges
- 
acceptsAllpublic abstract boolean acceptsAll()
- 
create
 
-