Package akka.http.javadsl.model.headers
Class ContentType
java.lang.Object
akka.http.javadsl.model.HttpHeader
akka.http.scaladsl.model.HttpHeader
akka.http.javadsl.model.headers.ContentType
- All Implemented Interfaces:
Renderable
,ToStringRenderable
- Direct Known Subclasses:
Content$minusType
Model for the `Content-Type` header.
Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-3.1.1.5
-
Nested Class Summary
Nested classes/interfaces inherited from class akka.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract ContentType
static ContentType
create
(ContentType contentType) Methods inherited from class akka.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, value
Methods inherited from class akka.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponses
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface akka.http.impl.util.Renderable
render
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
ContentType
public ContentType()
-
-
Method Details
-
contentType
-
create
-