Class InputStreamView
-
- All Implemented Interfaces:
-
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.context.ApplicationContextAware,org.springframework.web.context.ServletContextAware,org.springframework.web.servlet.View
public class InputStreamView extends OnlyView<T>
- Since:
2021-03-10
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final StringcontentTypepublic final static StringDEFAULT_CONTENT_TYPEpublic StringrequestContextAttributepublic final Map<String, Object>staticAttributespublic StringbeanNameprotected ServletContextservletContextpublic final static StringRESPONSE_STATUS_ATTRIBUTEpublic final static StringPATH_VARIABLESpublic final static StringSELECTED_CONTENT_TYPEpublic ApplicationContextapplicationContext
-
Constructor Summary
Constructors Constructor Description InputStreamView(String contentType, InputStream data)
-
Method Summary
Modifier and Type Method Description voidresponseData(@NotNull() InputStream data, @NotNull() HttpServletRequest request, @NotNull() HttpServletResponse response)-
Methods inherited from class org.springframework.web.servlet.view.AbstractView
addStaticAttribute, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, isExposePathVariables, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposeContextBeansAsAttributes, setExposePathVariables, setExposedContextBeanNames, setRequestContextAttribute, toString -
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
setServletContext -
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, setApplicationContext -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
InputStreamView
InputStreamView(String contentType, InputStream data)
-
-
Method Detail
-
responseData
void responseData(@NotNull() InputStream data, @NotNull() HttpServletRequest request, @NotNull() HttpServletResponse response)
-
-
-
-