Class JobManagerCustomLogHeaders
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.cluster.JobManagerCustomLogHeaders
-
- All Implemented Interfaces:
RestHandlerSpecification,RuntimeUntypedResponseMessageHeaders<EmptyRequestBody,FileMessageParameters>,UntypedResponseMessageHeaders<EmptyRequestBody,FileMessageParameters>
public class JobManagerCustomLogHeaders extends Object implements RuntimeUntypedResponseMessageHeaders<EmptyRequestBody,FileMessageParameters>
Headers for theJobManagerCustomLogHandler.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpMethodWrappergetHttpMethod()Returns theHttpMethodWrapperto be used for the request.static JobManagerCustomLogHeadersgetInstance()Class<EmptyRequestBody>getRequestClass()Returns the class of the request message.StringgetTargetRestEndpointURL()Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid.FileMessageParametersgetUnresolvedMessageParameters()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.RuntimeUntypedResponseMessageHeaders
getSupportedAPIVersions
-
Methods inherited from interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders
acceptsFileUploads
-
-
-
-
Method Detail
-
getInstance
public static JobManagerCustomLogHeaders getInstance()
-
getRequestClass
public Class<EmptyRequestBody> getRequestClass()
Description copied from interface:UntypedResponseMessageHeadersReturns the class of the request message.- Specified by:
getRequestClassin interfaceUntypedResponseMessageHeaders<EmptyRequestBody,FileMessageParameters>- Returns:
- class of the request message
-
getUnresolvedMessageParameters
public FileMessageParameters getUnresolvedMessageParameters()
Description copied from interface:UntypedResponseMessageHeadersReturns a newMessageParametersobject.- Specified by:
getUnresolvedMessageParametersin interfaceUntypedResponseMessageHeaders<EmptyRequestBody,FileMessageParameters>- Returns:
- new message parameters object
-
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
-
-