Class NettyClientHttpRequestFactory

java.lang.Object
io.micronaut.http.client.netty.NettyClientHttpRequestFactory
All Implemented Interfaces:
io.micronaut.http.HttpRequestFactory

@Internal public class NettyClientHttpRequestFactory extends Object implements io.micronaut.http.HttpRequestFactory
Implementation of the HttpRequestFactory interface for Netty.
Since:
1.0
  • Field Summary

    Fields inherited from interface io.micronaut.http.HttpRequestFactory

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> io.micronaut.http.MutableHttpRequest<T>
    create(io.micronaut.http.HttpMethod httpMethod, String uri)
     
    <T> io.micronaut.http.MutableHttpRequest<T>
    create(io.micronaut.http.HttpMethod httpMethod, String uri, String httpMethodName)
     
    <T> io.micronaut.http.MutableHttpRequest<T>
    delete(String uri, T body)
     
    <T> io.micronaut.http.MutableHttpRequest<T>
    get(String uri)
     
    <T> io.micronaut.http.MutableHttpRequest<T>
    head(String uri)
     
    <T> io.micronaut.http.MutableHttpRequest<T>
     
    <T> io.micronaut.http.MutableHttpRequest<T>
    patch(String uri, T body)
     
    <T> io.micronaut.http.MutableHttpRequest<T>
    post(String uri, T body)
     
    <T> io.micronaut.http.MutableHttpRequest<T>
    put(String uri, T body)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NettyClientHttpRequestFactory

      public NettyClientHttpRequestFactory()
  • Method Details

    • get

      public <T> io.micronaut.http.MutableHttpRequest<T> get(String uri)
      Specified by:
      get in interface io.micronaut.http.HttpRequestFactory
    • post

      public <T> io.micronaut.http.MutableHttpRequest<T> post(String uri, T body)
      Specified by:
      post in interface io.micronaut.http.HttpRequestFactory
    • put

      public <T> io.micronaut.http.MutableHttpRequest<T> put(String uri, T body)
      Specified by:
      put in interface io.micronaut.http.HttpRequestFactory
    • patch

      public <T> io.micronaut.http.MutableHttpRequest<T> patch(String uri, T body)
      Specified by:
      patch in interface io.micronaut.http.HttpRequestFactory
    • head

      public <T> io.micronaut.http.MutableHttpRequest<T> head(String uri)
      Specified by:
      head in interface io.micronaut.http.HttpRequestFactory
    • options

      public <T> io.micronaut.http.MutableHttpRequest<T> options(String uri)
      Specified by:
      options in interface io.micronaut.http.HttpRequestFactory
    • delete

      public <T> io.micronaut.http.MutableHttpRequest<T> delete(String uri, T body)
      Specified by:
      delete in interface io.micronaut.http.HttpRequestFactory
    • create

      public <T> io.micronaut.http.MutableHttpRequest<T> create(io.micronaut.http.HttpMethod httpMethod, String uri)
      Specified by:
      create in interface io.micronaut.http.HttpRequestFactory
    • create

      public <T> io.micronaut.http.MutableHttpRequest<T> create(io.micronaut.http.HttpMethod httpMethod, String uri, String httpMethodName)
      Specified by:
      create in interface io.micronaut.http.HttpRequestFactory