Class MicronautHttpData.Factory

java.lang.Object
io.micronaut.http.server.netty.MicronautHttpData.Factory
All Implemented Interfaces:
io.netty.handler.codec.http.multipart.HttpDataFactory
Enclosing class:
MicronautHttpData<D extends io.netty.handler.codec.http.multipart.HttpData>

@Internal public static final class MicronautHttpData.Factory extends Object implements io.netty.handler.codec.http.multipart.HttpDataFactory
Factory for MicronautHttpData instances. Immutable, only some operations are supported.
  • Constructor Details

  • Method Details

    • setMaxLimit

      public void setMaxLimit(long max)
      Specified by:
      setMaxLimit in interface io.netty.handler.codec.http.multipart.HttpDataFactory
    • createAttribute

      public io.micronaut.http.server.netty.MicronautHttpData.AttributeImpl createAttribute(String name)
    • createAttribute

      public io.netty.handler.codec.http.multipart.Attribute createAttribute(io.netty.handler.codec.http.HttpRequest request, String name)
      Specified by:
      createAttribute in interface io.netty.handler.codec.http.multipart.HttpDataFactory
    • createAttribute

      public io.netty.handler.codec.http.multipart.Attribute createAttribute(io.netty.handler.codec.http.HttpRequest request, String name, long definedSize)
      Specified by:
      createAttribute in interface io.netty.handler.codec.http.multipart.HttpDataFactory
    • createAttribute

      public io.netty.handler.codec.http.multipart.Attribute createAttribute(io.netty.handler.codec.http.HttpRequest request, String name, String value)
      Specified by:
      createAttribute in interface io.netty.handler.codec.http.multipart.HttpDataFactory
    • createFileUpload

      public io.netty.handler.codec.http.multipart.FileUpload createFileUpload(io.netty.handler.codec.http.HttpRequest request, String name, String filename, String contentType, String contentTransferEncoding, Charset charset, long size)
      Specified by:
      createFileUpload in interface io.netty.handler.codec.http.multipart.HttpDataFactory
    • removeHttpDataFromClean

      public void removeHttpDataFromClean(io.netty.handler.codec.http.HttpRequest request, io.netty.handler.codec.http.multipart.InterfaceHttpData data)
      Specified by:
      removeHttpDataFromClean in interface io.netty.handler.codec.http.multipart.HttpDataFactory
    • cleanRequestHttpData

      public void cleanRequestHttpData(io.netty.handler.codec.http.HttpRequest request)
      Specified by:
      cleanRequestHttpData in interface io.netty.handler.codec.http.multipart.HttpDataFactory
    • cleanAllHttpData

      public void cleanAllHttpData()
      Specified by:
      cleanAllHttpData in interface io.netty.handler.codec.http.multipart.HttpDataFactory
    • cleanRequestHttpDatas

      public void cleanRequestHttpDatas(io.netty.handler.codec.http.HttpRequest request)
      Specified by:
      cleanRequestHttpDatas in interface io.netty.handler.codec.http.multipart.HttpDataFactory
    • cleanAllHttpDatas

      public void cleanAllHttpDatas()
      Specified by:
      cleanAllHttpDatas in interface io.netty.handler.codec.http.multipart.HttpDataFactory