R
- request message typeP
- response message typeM
- message parameters typepublic interface MessageHeaders<R extends RequestBody,P extends ResponseBody,M extends MessageParameters> extends UntypedResponseMessageHeaders<R,M>
RequestBody
s to ResponseBody
s types and contains meta-data required for their http headers.
Implementations must be state-less.
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description for this header.
|
Class<P> |
getResponseClass()
Returns the class of the response message.
|
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus |
getResponseStatusCode()
Returns the http status code for the response.
|
default Collection<Class<?>> |
getResponseTypeParameters()
Returns the collection of type parameters for the response type.
|
acceptsFileUploads, getRequestClass, getUnresolvedMessageParameters
getHttpMethod, getTargetRestEndpointURL
Class<P> getResponseClass()
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
default Collection<Class<?>> getResponseTypeParameters()
String getDescription()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.