@Component public class HttpHeaderInjector extends org.springframework.context.support.ApplicationObjectSupport
| Constructor and Description |
|---|
HttpHeaderInjector() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHttpHeaderToResponseStream(javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
FedoraResource resource)
Add additional Http Headers
|
protected void |
initApplicationContext() |
protected boolean |
isContextRequired() |
public HttpHeaderInjector()
protected void initApplicationContext() throws org.springframework.beans.BeansException
initApplicationContext in class org.springframework.context.support.ApplicationObjectSupportorg.springframework.beans.BeansExceptionprotected boolean isContextRequired()
isContextRequired in class org.springframework.context.support.ApplicationObjectSupportpublic void addHttpHeaderToResponseStream(javax.servlet.http.HttpServletResponse servletResponse, javax.ws.rs.core.UriInfo uriInfo, FedoraResource resource)
servletResponse - the responseuriInfo - the URI contextresource - the resourceCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.