Class GetServiceRoleById

java.lang.Object
net.lightapi.portal.service.query.handler.GetServiceRoleById
All Implemented Interfaces:
com.networknt.rpc.HybridHandler

public class GetServiceRoleById extends Object implements com.networknt.rpc.HybridHandler
This is the endpoint that returns a list of roles in a map to populate the UI dropdown by a serviceId. It is similar to the getServiceById but retrieving only the roles from the service object instead of the entire object.
Author:
Steve Hu
  • Field Summary

    Fields inherited from interface com.networknt.rpc.HybridHandler

    ERROR_NOT_DEFINED, REQUEST_SUCCESS, STATUS_VALIDATION_ERROR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    handle(io.undertow.server.HttpServerExchange exchange, Object input)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.networknt.rpc.HybridHandler

    getStatus, getStatus, validate
  • Constructor Details

    • GetServiceRoleById

      public GetServiceRoleById()
  • Method Details

    • handle

      public ByteBuffer handle(io.undertow.server.HttpServerExchange exchange, Object input)
      Specified by:
      handle in interface com.networknt.rpc.HybridHandler