パッケージ pixela.client.http

インタフェース HttpClient

  • すべてのスーパーインタフェース:
    java.lang.AutoCloseable

    public interface HttpClient
    extends java.lang.AutoCloseable
    • メソッドの概要

      すべてのメソッド インスタンス・メソッド abstractメソッド 
      修飾子とタイプ メソッド 説明
      @NotNull java.net.URI baseUri()  
      <T> @NotNull reactor.core.publisher.Mono<T> decodeJson​(@NotNull java.lang.String json, @NotNull java.lang.Class<T> type)  
      <T> @NotNull Response<T> delete​(@NotNull Delete<T> deleteRequest)  
      @NotNull reactor.core.publisher.Mono<java.lang.String> encodeJson​(@NotNull java.lang.Object object)  
      <T> @NotNull Response<T> get​(@NotNull Get<T> getRequest)  
      <T> @NotNull Response<T> post​(@NotNull Post<T> postRequest)  
      <T> @NotNull Response<T> put​(@NotNull Put<T> putRequest)  
      <T> @NotNull reactor.core.publisher.Mono<T> runAsync​(@NotNull java.util.function.Supplier<? extends T> supplier)  
      • インタフェースから継承されたメソッド java.lang.AutoCloseable

        close
    • メソッドの詳細

      • encodeJson

        @NotNull
        @NotNull reactor.core.publisher.Mono<java.lang.String> encodeJson​(@NotNull
                                                                          @NotNull java.lang.Object object)
      • decodeJson

        @NotNull
        <T> @NotNull reactor.core.publisher.Mono<T> decodeJson​(@NotNull
                                                               @NotNull java.lang.String json,
                                                               @NotNull
                                                               @NotNull java.lang.Class<T> type)
      • runAsync

        @NotNull
        <T> @NotNull reactor.core.publisher.Mono<T> runAsync​(@NotNull
                                                             @NotNull java.util.function.Supplier<? extends T> supplier)
      • baseUri

        @NotNull
        @NotNull java.net.URI baseUri()
      • get

        @NotNull
        <T> @NotNull Response<T> get​(@NotNull
                                     @NotNull Get<T> getRequest)
      • post

        @NotNull
        <T> @NotNull Response<T> post​(@NotNull
                                      @NotNull Post<T> postRequest)
      • put

        @NotNull
        <T> @NotNull Response<T> put​(@NotNull
                                     @NotNull Put<T> putRequest)
      • delete

        @NotNull
        <T> @NotNull Response<T> delete​(@NotNull
                                        @NotNull Delete<T> deleteRequest)