Class OkHttpResponseResource

java.lang.Object
org.springframework.core.io.AbstractResource
io.freefair.spring.okhttp.OkHttpResponseBodyResource
io.freefair.spring.okhttp.OkHttpResponseResource
All Implemented Interfaces:
Closeable, AutoCloseable, org.springframework.core.io.InputStreamSource, org.springframework.core.io.Resource, org.springframework.http.HttpMessage

public class OkHttpResponseResource extends OkHttpResponseBodyResource implements org.springframework.http.HttpMessage
  • Constructor Details

  • Method Details

    • getDescription

      @NonNull public String getDescription()
      Specified by:
      getDescription in interface org.springframework.core.io.Resource
      Overrides:
      getDescription in class OkHttpResponseBodyResource
    • getFilename

      @Nullable public String getFilename()
      Specified by:
      getFilename in interface org.springframework.core.io.Resource
      Overrides:
      getFilename in class org.springframework.core.io.AbstractResource
    • getURL

      @NonNull public URL getURL()
      Specified by:
      getURL in interface org.springframework.core.io.Resource
      Overrides:
      getURL in class org.springframework.core.io.AbstractResource
    • getURI

      @NonNull public URI getURI()
      Specified by:
      getURI in interface org.springframework.core.io.Resource
      Overrides:
      getURI in class org.springframework.core.io.AbstractResource
    • getHeaders

      @NonNull public org.springframework.http.HttpHeaders getHeaders()
      Specified by:
      getHeaders in interface org.springframework.http.HttpMessage