@ResponseHeader("Content-Type") @Override /* Streamable */ public MediaType getMediaType() { return mediaType; }
/** * @return <code>Location</code> header value. */ @ResponseHeader(name="Location", description="Temporary location of resource.") public URI getLocation() { return location; } }
/** * @return <code>Location</code> header value. */ @ResponseHeader(name="Location", description="New location of resource.") public URI getLocation() { return location; } }
/** * Get the HTTP response headers. * * @return * The HTTP response headers. * <br>An unmodifiable map. * <br>Never <jk>null</jk>. */ @ResponseHeader("*") public Map<String,Object> getHeaders() { return headers; }
/** * @return <code>Location</code> header value. */ @ResponseHeader(name="Location", description="New location of resource.") public URI getLocation() { return location; } }
/** * Get the HTTP response headers. * * @return * The HTTP response headers. * <br>An unmodifiable map. * <br>Never <jk>null</jk>. */ @ResponseHeader("*") public Map<String,Object> getHeaders() { return headers; }
@ResponseHeader("Content-Type") @Override /* Writeable */ public MediaType getMediaType() { return mediaType; }
/** * @return <code>Location</code> header value. */ @ResponseHeader(name="Location", description="New location of resource.") public URI getLocation() { return location; } }
/** * Get the HTTP response headers. * * @return * The HTTP response headers. * <br>An unmodifiable map. * <br>Never <jk>null</jk>. */ @ResponseHeader("*") public Map<String,Object> getHeaders() { return headers; }
/** * @return <code>Location</code> header value. */ @ResponseHeader(name="Location", description="New location of resource.") public URI getLocation() { return location; } }
/** * @return <code>Location</code> header value. */ @ResponseHeader(name="Location", description="New location of resource.") public URI getLocation() { return location; } }
/** * @return <code>Location</code> header value. */ @ResponseHeader(name="Location", description="Location of resource.") public URI getLocation() { return location; } }
/** * Get the HTTP response headers. * * @return * The HTTP response headers. * <br>An unmodifiable map. * <br>Never <jk>null</jk>. */ @ResponseHeader("*") public Map<String,Object> getHeaders() { return headers; }
/** * @return <code>Location</code> header value. */ @ResponseHeader(name="Location", description="Other location.") public URI getLocation() { return location; } }
/** * Get the HTTP response headers. * * @return * The HTTP response headers. * <br>An unmodifiable map. * <br>Never <jk>null</jk>. */ @ResponseHeader("*") public Map<String,Object> getHeaders() { return headers; }
/** * @return <code>Location</code> header value. */ @ResponseHeader(name="Location", description="Temporary location of resource.") public URI getLocation() { return location; } }
@ResponseHeader( name="H", api={ "description:'a',", "type:'string'" } ) public static class SA02 {} @RestMethod
@RestMethod public void sb01( @ResponseHeader( name="H", description="a", type="string" ) Value<SB01> h) {}
@RestMethod public void a02(@ResponseHeader(name="Foo") Value<String> h) { h.set("foo"); } @RestMethod
@RestMethod public void a03(@ResponseHeader(name="Bar") Value<A01> h) { h.set(new A01()); } }