public class ProcessorRestHandler extends RestHandler
RestHandler.NameDescriptionWithId<T extends NameDescription>HTTP_DATE_FORMAT, HTTP_DATE_GMT_TIMEZONE| Constructor and Description |
|---|
ProcessorRestHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
createProcessorForInstance(RestRequest restReq) |
void |
editProcessor(RestRequest req) |
void |
getProcessor(RestRequest req) |
void |
listAlarmsForProcessor(RestRequest req) |
void |
listClientsForProcessor(RestRequest req) |
void |
listProcessors(RestRequest req) |
void |
listProcessorsForInstance(RestRequest req) |
static YamcsManagement.ProcessorInfo |
toProcessorInfo(Processor processor,
RestRequest req,
boolean detail) |
static void |
verifyClientsBelongToUser(String username,
Set<Integer> clientIds)
verifies that clients with ids are all belonging to this username.
|
abortRequest, authorised, checkSystemPrivilege, completeChunkedTransfer, completeOK, completeOK, completeOK, completeWithError, sendMessageResponse, sendRestError, verifyAlarmServer, verifyAlgorithm, verifyAuthorization, verifyAuthorization, verifyAuthorization, verifyClient, verifyCommand, verifyContainer, verifyInstance, verifyLink, verifyNamespace, verifyParameter, verifyParameterId, verifyParameterWithId, verifyProcessor, verifySpaceSystem, verifyStream, verifyTablesetDateAndCacheHeaders, setDateHeaderpublic void listProcessors(RestRequest req) throws HttpException
HttpExceptionpublic void listProcessorsForInstance(RestRequest req) throws HttpException
HttpExceptionpublic void getProcessor(RestRequest req) throws HttpException
HttpExceptionpublic void editProcessor(RestRequest req) throws HttpException
HttpExceptionpublic void listClientsForProcessor(RestRequest req) throws HttpException
HttpExceptionpublic void listAlarmsForProcessor(RestRequest req) throws HttpException
HttpExceptionpublic void createProcessorForInstance(RestRequest restReq) throws HttpException
HttpExceptionpublic static void verifyClientsBelongToUser(String username, Set<Integer> clientIds) throws ForbiddenException
ForbiddenExceptionpublic static YamcsManagement.ProcessorInfo toProcessorInfo(Processor processor, RestRequest req, boolean detail)
Copyright © 2018 Space Applications Services. All rights reserved.