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
  • 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<?>>