Class ClientResponseContextImpl

java.lang.Object
org.jboss.resteasy.client.jaxrs.internal.ClientResponseContextImpl
All Implemented Interfaces:
jakarta.ws.rs.client.ClientResponseContext

public class ClientResponseContextImpl extends Object implements jakarta.ws.rs.client.ClientResponseContext
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

  • Constructor Details

    • ClientResponseContextImpl

      public ClientResponseContextImpl(ClientResponse response)
  • Method Details

    • getStatus

      public int getStatus()
      Specified by:
      getStatus in interface jakarta.ws.rs.client.ClientResponseContext
    • setStatus

      public void setStatus(int code)
      Specified by:
      setStatus in interface jakarta.ws.rs.client.ClientResponseContext
    • getStatusInfo

      public jakarta.ws.rs.core.Response.StatusType getStatusInfo()
      Specified by:
      getStatusInfo in interface jakarta.ws.rs.client.ClientResponseContext
    • setStatusInfo

      public void setStatusInfo(jakarta.ws.rs.core.Response.StatusType statusInfo)
      Specified by:
      setStatusInfo in interface jakarta.ws.rs.client.ClientResponseContext
    • getHeaders

      public jakarta.ws.rs.core.MultivaluedMap<String,String> getHeaders()
      Specified by:
      getHeaders in interface jakarta.ws.rs.client.ClientResponseContext
    • getAllowedMethods

      public Set<String> getAllowedMethods()
      Specified by:
      getAllowedMethods in interface jakarta.ws.rs.client.ClientResponseContext
    • getDate

      public Date getDate()
      Specified by:
      getDate in interface jakarta.ws.rs.client.ClientResponseContext
    • getLanguage

      public Locale getLanguage()
      Specified by:
      getLanguage in interface jakarta.ws.rs.client.ClientResponseContext
    • getLength

      public int getLength()
      Specified by:
      getLength in interface jakarta.ws.rs.client.ClientResponseContext
    • getMediaType

      public jakarta.ws.rs.core.MediaType getMediaType()
      Specified by:
      getMediaType in interface jakarta.ws.rs.client.ClientResponseContext
    • getCookies

      public Map<String,jakarta.ws.rs.core.NewCookie> getCookies()
      Specified by:
      getCookies in interface jakarta.ws.rs.client.ClientResponseContext
    • getEntityTag

      public jakarta.ws.rs.core.EntityTag getEntityTag()
      Specified by:
      getEntityTag in interface jakarta.ws.rs.client.ClientResponseContext
    • getLastModified

      public Date getLastModified()
      Specified by:
      getLastModified in interface jakarta.ws.rs.client.ClientResponseContext
    • getLocation

      public URI getLocation()
      Specified by:
      getLocation in interface jakarta.ws.rs.client.ClientResponseContext
    • getLinks

      public Set<jakarta.ws.rs.core.Link> getLinks()
      Specified by:
      getLinks in interface jakarta.ws.rs.client.ClientResponseContext
    • hasLink

      public boolean hasLink(String relation)
      Specified by:
      hasLink in interface jakarta.ws.rs.client.ClientResponseContext
    • getLink

      public jakarta.ws.rs.core.Link getLink(String relation)
      Specified by:
      getLink in interface jakarta.ws.rs.client.ClientResponseContext
    • getLinkBuilder

      public jakarta.ws.rs.core.Link.Builder getLinkBuilder(String relation)
      Specified by:
      getLinkBuilder in interface jakarta.ws.rs.client.ClientResponseContext
    • hasEntity

      public boolean hasEntity()
      Specified by:
      hasEntity in interface jakarta.ws.rs.client.ClientResponseContext
    • getEntityStream

      public InputStream getEntityStream()
      Specified by:
      getEntityStream in interface jakarta.ws.rs.client.ClientResponseContext
    • setEntityStream

      public void setEntityStream(InputStream entityStream)
      Specified by:
      setEntityStream in interface jakarta.ws.rs.client.ClientResponseContext
    • getHeaderString

      public String getHeaderString(String name)
      Specified by:
      getHeaderString in interface jakarta.ws.rs.client.ClientResponseContext
    • getClientResponse

      public ClientResponse getClientResponse()