Class TaskManagerLogsHeaders
java.lang.Object
org.apache.flink.runtime.rest.messages.taskmanager.TaskManagerLogsHeaders
- All Implemented Interfaces:
RestHandlerSpecification,MessageHeaders<EmptyRequestBody,,LogListInfo, TaskManagerMessageParameters> RuntimeMessageHeaders<EmptyRequestBody,,LogListInfo, TaskManagerMessageParameters> UntypedResponseMessageHeaders<EmptyRequestBody,TaskManagerMessageParameters>
public class TaskManagerLogsHeaders
extends Object
implements RuntimeMessageHeaders<EmptyRequestBody,LogListInfo,TaskManagerMessageParameters>
Headers for the
TaskManagerLogListHandler.-
Method Summary
Modifier and TypeMethodDescriptionReturns the description for this header.Returns theHttpMethodWrapperto be used for the request.static TaskManagerLogsHeadersReturns the class of the request message.Returns the class of the response message.org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatusReturns the http status code for the response.Returns the generalized endpoint url that this request should be sent to, for example/job/:jobid.Returns a newMessageParametersobject.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.runtime.rest.messages.MessageHeaders
getCustomHeaders, getResponseTypeParameters, operationIdMethods inherited from interface org.apache.flink.runtime.rest.messages.RuntimeMessageHeaders
getSupportedAPIVersionsMethods inherited from interface org.apache.flink.runtime.rest.messages.UntypedResponseMessageHeaders
acceptsFileUploads
-
Method Details
-
getInstance
-
getResponseClass
Description copied from interface:MessageHeadersReturns the class of the response message.- Specified by:
getResponseClassin interfaceMessageHeaders<EmptyRequestBody,LogListInfo, TaskManagerMessageParameters> - 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,LogListInfo, TaskManagerMessageParameters> - Returns:
- http status code of the response
-
getDescription
Description copied from interface:MessageHeadersReturns the description for this header.- Specified by:
getDescriptionin interfaceMessageHeaders<EmptyRequestBody,LogListInfo, TaskManagerMessageParameters> - Returns:
- description for the header
-
getRequestClass
Description copied from interface:UntypedResponseMessageHeadersReturns the class of the request message.- Specified by:
getRequestClassin interfaceUntypedResponseMessageHeaders<EmptyRequestBody,TaskManagerMessageParameters> - Returns:
- class of the request message
-
getUnresolvedMessageParameters
Description copied from interface:UntypedResponseMessageHeadersReturns a newMessageParametersobject.- Specified by:
getUnresolvedMessageParametersin interfaceUntypedResponseMessageHeaders<EmptyRequestBody,TaskManagerMessageParameters> - Returns:
- new message parameters object
-
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
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
-