Class ServletRequestBinder

java.lang.Object
io.micronaut.servlet.engine.bind.ServletRequestBinder
All Implemented Interfaces:
io.micronaut.core.bind.ArgumentBinder<jakarta.servlet.http.HttpServletRequest,io.micronaut.http.HttpRequest<?>>, io.micronaut.core.bind.TypeArgumentBinder<jakarta.servlet.http.HttpServletRequest,io.micronaut.http.HttpRequest<?>>, io.micronaut.http.bind.binders.RequestArgumentBinder<jakarta.servlet.http.HttpServletRequest>, io.micronaut.http.bind.binders.TypedRequestArgumentBinder<jakarta.servlet.http.HttpServletRequest>

public class ServletRequestBinder extends Object implements io.micronaut.http.bind.binders.TypedRequestArgumentBinder<jakarta.servlet.http.HttpServletRequest>
A binder capable of binding the servlet request.
Since:
1.0.0
Author:
graemerocher
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder

    io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final io.micronaut.core.type.Argument<jakarta.servlet.http.HttpServletRequest>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.core.type.Argument<jakarta.servlet.http.HttpServletRequest>
     
    io.micronaut.core.bind.ArgumentBinder.BindingResult<jakarta.servlet.http.HttpServletRequest>
    bind(io.micronaut.core.convert.ArgumentConversionContext<jakarta.servlet.http.HttpServletRequest> context, io.micronaut.http.HttpRequest<?> source)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.micronaut.http.bind.binders.TypedRequestArgumentBinder

    matches, superTypes
  • Field Details

    • TYPE

      public static final io.micronaut.core.type.Argument<jakarta.servlet.http.HttpServletRequest> TYPE
  • Constructor Details

    • ServletRequestBinder

      public ServletRequestBinder()
  • Method Details

    • argumentType

      public io.micronaut.core.type.Argument<jakarta.servlet.http.HttpServletRequest> argumentType()
      Specified by:
      argumentType in interface io.micronaut.core.bind.TypeArgumentBinder<jakarta.servlet.http.HttpServletRequest,io.micronaut.http.HttpRequest<?>>
    • bind

      public io.micronaut.core.bind.ArgumentBinder.BindingResult<jakarta.servlet.http.HttpServletRequest> bind(io.micronaut.core.convert.ArgumentConversionContext<jakarta.servlet.http.HttpServletRequest> context, io.micronaut.http.HttpRequest<?> source)
      Specified by:
      bind in interface io.micronaut.core.bind.ArgumentBinder<jakarta.servlet.http.HttpServletRequest,io.micronaut.http.HttpRequest<?>>