Class JobManagerEnvironmentHeaders
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.JobManagerEnvironmentHeaders
-
- All Implemented Interfaces:
RestHandlerSpecification,MessageHeaders<EmptyRequestBody,EnvironmentInfo,EmptyMessageParameters>,RuntimeMessageHeaders<EmptyRequestBody,EnvironmentInfo,EmptyMessageParameters>,UntypedResponseMessageHeaders<EmptyRequestBody,EmptyMessageParameters>
public class JobManagerEnvironmentHeaders extends Object implements RuntimeMessageHeaders<EmptyRequestBody,EnvironmentInfo,EmptyMessageParameters>
Message headers for theJobManagerEnvironmentHandler.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJOB_MANAGER_ENV_REST_PATH
-
Constructor Summary
Constructors Constructor Description JobManagerEnvironmentHeaders()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Returns the description for this header.HttpMethodWrappergetHttpMethod()Returns theHttpMethodWrapperto be used for the request.static JobManagerEnvironmentHeadersgetInstance()Class<EmptyRequestBody>getRequestClass()Returns the class of the request message.Class<EnvironmentInfo>getResponseClass()Returns the class of the response message.org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatusgetResponseStatusCode()Returns the http status code for the response.StringgetTargetRestEndpointURL()Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid.EmptyMessageParametersgetUnresolvedMessageParameters()Returns a newMessageParametersobject.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.MessageHeaders
getCustomHeaders, getResponseTypeParameters, operationId
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.RuntimeMessageHeaders
getSupportedAPIVersions
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders
acceptsFileUploads
-
-
-
-
Field Detail
-
JOB_MANAGER_ENV_REST_PATH
public static final String JOB_MANAGER_ENV_REST_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHttpMethod
public HttpMethodWrapper getHttpMethod()
Description copied from interface:RestHandlerSpecificationReturns theHttpMethodWrapperto be used for the request.- Specified by:
getHttpMethodin interfaceRestHandlerSpecification- Returns:
- http method to be used for the request
-
getTargetRestEndpointURL
public String getTargetRestEndpointURL()
Description copied from interface:RestHandlerSpecificationReturns the generalized endpoint url that this request should be sent to, for example/job/:jobid.- Specified by:
getTargetRestEndpointURLin interfaceRestHandlerSpecification- Returns:
- endpoint url that this request should be sent to
-
getResponseClass
public Class<EnvironmentInfo> getResponseClass()
Description copied from interface:MessageHeadersReturns the class of the response message.- Specified by:
getResponseClassin interfaceMessageHeaders<EmptyRequestBody,EnvironmentInfo,EmptyMessageParameters>- Returns:
- class of the response message
-
getResponseStatusCode
public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
Description copied from interface:MessageHeadersReturns the http status code for the response.- Specified by:
getResponseStatusCodein interfaceMessageHeaders<EmptyRequestBody,EnvironmentInfo,EmptyMessageParameters>- Returns:
- http status code of the response
-
getDescription
public String getDescription()
Description copied from interface:MessageHeadersReturns the description for this header.- Specified by:
getDescriptionin interfaceMessageHeaders<EmptyRequestBody,EnvironmentInfo,EmptyMessageParameters>- Returns:
- description for the header
-
getRequestClass
public Class<EmptyRequestBody> getRequestClass()
Description copied from interface:UntypedResponseMessageHeadersReturns the class of the request message.- Specified by:
getRequestClassin interfaceUntypedResponseMessageHeaders<EmptyRequestBody,EmptyMessageParameters>- Returns:
- class of the request message
-
getUnresolvedMessageParameters
public EmptyMessageParameters getUnresolvedMessageParameters()
Description copied from interface:UntypedResponseMessageHeadersReturns a newMessageParametersobject.- Specified by:
getUnresolvedMessageParametersin interfaceUntypedResponseMessageHeaders<EmptyRequestBody,EmptyMessageParameters>- Returns:
- new message parameters object
-
getInstance
public static JobManagerEnvironmentHeaders getInstance()
-
-