Class SessionValueArgumentBinder

java.lang.Object
io.micronaut.session.binder.SessionValueArgumentBinder
All Implemented Interfaces:
io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<SessionValue,Object,io.micronaut.http.HttpRequest<?>>, io.micronaut.core.bind.ArgumentBinder<Object,io.micronaut.http.HttpRequest<?>>, io.micronaut.http.bind.binders.AnnotatedRequestArgumentBinder<SessionValue,Object>, io.micronaut.http.bind.binders.RequestArgumentBinder<Object>

@Singleton @Requires(classes=io.micronaut.http.server.HttpServerConfiguration.class) public class SessionValueArgumentBinder extends Object implements io.micronaut.http.bind.binders.AnnotatedRequestArgumentBinder<SessionValue,Object>
Handles binding of the SessionValue annotation.
Since:
1.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>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.core.bind.ArgumentBinder.BindingResult<Object>
    bind(io.micronaut.core.convert.ArgumentConversionContext<Object> 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.RequestArgumentBinder

    createSpecific
  • Constructor Details

    • SessionValueArgumentBinder

      public SessionValueArgumentBinder()
  • Method Details

    • getAnnotationType

      public Class<SessionValue> getAnnotationType()
      Specified by:
      getAnnotationType in interface io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<SessionValue,Object,io.micronaut.http.HttpRequest<?>>
    • bind

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