Class HttpRequestMessageHandler

java.lang.Object
io.micronaut.servlet.http.ServletHttpHandler<com.microsoft.azure.functions.HttpRequestMessage<Optional<String>>,com.microsoft.azure.functions.HttpResponseMessage>
io.micronaut.azure.function.http.HttpRequestMessageHandler
All Implemented Interfaces:
io.micronaut.context.ApplicationContextProvider, io.micronaut.context.LifeCycle<io.micronaut.servlet.http.ServletHttpHandler<com.microsoft.azure.functions.HttpRequestMessage<Optional<String>>,com.microsoft.azure.functions.HttpResponseMessage>>, Closeable, AutoCloseable

@Internal @Singleton public class HttpRequestMessageHandler extends io.micronaut.servlet.http.ServletHttpHandler<com.microsoft.azure.functions.HttpRequestMessage<Optional<String>>,com.microsoft.azure.functions.HttpResponseMessage> implements io.micronaut.context.ApplicationContextProvider
An HTTP handler to can deal with Azure Servlet Request HttpRequestMessage and response HttpResponseMessage.
Since:
5.0.0
Author:
Tim Yates
  • Field Summary

    Fields inherited from class io.micronaut.servlet.http.ServletHttpHandler

    applicationContext, LOG
  • Constructor Summary

    Constructors
    Constructor
    Description
    HttpRequestMessageHandler(io.micronaut.context.ApplicationContext applicationContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected io.micronaut.servlet.http.ServletExchange<com.microsoft.azure.functions.HttpRequestMessage<Optional<String>>,com.microsoft.azure.functions.HttpResponseMessage>
    createExchange(com.microsoft.azure.functions.HttpRequestMessage<Optional<String>> request, com.microsoft.azure.functions.HttpResponseMessage response)
     

    Methods inherited from class io.micronaut.servlet.http.ServletHttpHandler

    close, exchange, exchange, getApplicationContext, getMediaTypeCodecRegistry, isRunning, service, service, start, stop

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.micronaut.context.ApplicationContextProvider

    getApplicationContext

    Methods inherited from interface io.micronaut.context.LifeCycle

    refresh
  • Constructor Details

    • HttpRequestMessageHandler

      public HttpRequestMessageHandler(io.micronaut.context.ApplicationContext applicationContext)
  • Method Details

    • createExchange

      protected io.micronaut.servlet.http.ServletExchange<com.microsoft.azure.functions.HttpRequestMessage<Optional<String>>,com.microsoft.azure.functions.HttpResponseMessage> createExchange(com.microsoft.azure.functions.HttpRequestMessage<Optional<String>> request, com.microsoft.azure.functions.HttpResponseMessage response)
      Specified by:
      createExchange in class io.micronaut.servlet.http.ServletHttpHandler<com.microsoft.azure.functions.HttpRequestMessage<Optional<String>>,com.microsoft.azure.functions.HttpResponseMessage>