@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.ApplicationObjectSupport
org.springframework.beans.BeansException
protected boolean isContextRequired()
isContextRequired
in class org.springframework.context.support.ApplicationObjectSupport
public void addHttpHeaderToResponseStream(javax.servlet.http.HttpServletResponse servletResponse, javax.ws.rs.core.UriInfo uriInfo, FedoraResource resource)
servletResponse
- the responseuriInfo
- the URI contextresource
- the resourceCopyright © 2013–2018 DuraSpace, Inc.. All rights reserved.