Interface RequestProcessor

All Known Implementing Classes:
JaxRsRequestProcessor

public interface RequestProcessor
Author:
Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
  • Method Details

    • getAnnotation

      <T extends Annotation> T getAnnotation(Class<T> annotationClass)
    • getProcessorSettings

      ProcessorSettings getProcessorSettings()
    • getDeclaredPath

      String getDeclaredPath()
    • isRoleBased

      boolean isRoleBased()
    • matches

      boolean matches(String httpRequestPath)
    • authorizationCheck

      boolean authorizationCheck(io.netty.channel.ChannelHandlerContext channelHandlerCtx, io.netty.handler.codec.http.HttpHeaders httpHeaders, String httpRequestPath, Map<String,List<String>> queryParams, String httpPostRequestBody, ServiceContext context, int badRequestErrorCode) throws Throwable
      Throws:
      Throwable
    • process

      Object process(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpHeaders httpRequestHeaders, String httpRequestPath, Map<String,List<String>> queryParams, String httpPostRequestBody, ServiceContext context) throws Throwable
      Throws:
      Throwable