Package kos.api
Class HeaderParserStrategy
- java.lang.Object
-
- kos.api.HeaderParserStrategy
-
- All Implemented Interfaces:
PayloadSerializationStrategy
class HeaderParserStrategy extends Object implements PayloadSerializationStrategy
-
-
Field Summary
Fields Modifier and Type Field Description (package private) StringdefaultContentType(package private) CharSequenceheader(package private) KosContextkosContext
-
Constructor Summary
Constructors Constructor Description HeaderParserStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) StringparseContentTypeHeader(io.vertx.core.MultiMap headers)SerializerserializerFor(io.vertx.core.http.HttpServerRequest request)SerializerserializerFor(io.vertx.core.http.HttpServerResponse response)
-
-
-
Field Detail
-
kosContext
final KosContext kosContext
-
header
final CharSequence header
-
defaultContentType
final String defaultContentType
-
-
Method Detail
-
serializerFor
public Serializer serializerFor(io.vertx.core.http.HttpServerResponse response)
- Specified by:
serializerForin interfacePayloadSerializationStrategy
-
serializerFor
public Serializer serializerFor(io.vertx.core.http.HttpServerRequest request)
- Specified by:
serializerForin interfacePayloadSerializationStrategy
-
parseContentTypeHeader
String parseContentTypeHeader(io.vertx.core.MultiMap headers)
-
-