Class GetServiceEndpoint

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

public class GetServiceEndpoint extends Object implements com.networknt.rpc.HybridHandler
Get service endpoint by hostId, apiId and apiVersion. It is used by the portal-view to render the service endpoint page from the service detail page. The service endpoint page will display the endpoint information and allow the user to view the scopes associated with the endpoint and also check the request access and response filter FGA rules.
Author:
Steve Hu
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static net.lightapi.portal.db.PortalDbProvider
     
    static final String
     

    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
  • Field Details

    • OBJECT_NOT_FOUND

      public static final String OBJECT_NOT_FOUND
      See Also:
    • dbProvider

      public static net.lightapi.portal.db.PortalDbProvider dbProvider
  • Constructor Details

    • GetServiceEndpoint

      public GetServiceEndpoint()
  • Method Details

    • handle

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