com.liferay.faces.bridge.context
Class HeadResponseWriterFactory

java.lang.Object
  extended by com.liferay.faces.bridge.context.HeadResponseWriterFactory
All Implemented Interfaces:
javax.faces.FacesWrapper<HeadResponseWriterFactory>

public abstract class HeadResponseWriterFactory
extends Object
implements javax.faces.FacesWrapper<HeadResponseWriterFactory>

Author:
Neil Griffin

Constructor Summary
HeadResponseWriterFactory()
           
 
Method Summary
abstract  javax.faces.context.ResponseWriter getHeadResponseWriter(javax.faces.context.ResponseWriter responseWriter, javax.portlet.PortletResponse portletResponse)
          Returns a new instance of ResponseWriter.
static javax.faces.context.ResponseWriter getHeadResponseWriterInstance(javax.faces.context.ResponseWriter responseWriter, javax.portlet.PortletContext portletContext, javax.portlet.PortletResponse portletResponse)
          Returns a new instance of ResponseWriter from the HeadResponseWriterFactory found by the BridgeFactoryFinder.
abstract  HeadResponseWriterFactory getWrapped()
          Returns the wrapped factory instance if this factory decorates another.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeadResponseWriterFactory

public HeadResponseWriterFactory()
Method Detail

getHeadResponseWriterInstance

public static javax.faces.context.ResponseWriter getHeadResponseWriterInstance(javax.faces.context.ResponseWriter responseWriter,
                                                                               javax.portlet.PortletContext portletContext,
                                                                               javax.portlet.PortletResponse portletResponse)
Returns a new instance of ResponseWriter from the HeadResponseWriterFactory found by the BridgeFactoryFinder. The returned instance is not guaranteed to be Serializable.


getHeadResponseWriter

public abstract javax.faces.context.ResponseWriter getHeadResponseWriter(javax.faces.context.ResponseWriter responseWriter,
                                                                         javax.portlet.PortletResponse portletResponse)
Returns a new instance of ResponseWriter. The returned instance is not guaranteed to be Serializable.


getWrapped

public abstract HeadResponseWriterFactory getWrapped()
Returns the wrapped factory instance if this factory decorates another. Otherwise, this method returns null.

Specified by:
getWrapped in interface javax.faces.FacesWrapper<HeadResponseWriterFactory>


Copyright © 2017 Liferay, Inc. All Rights Reserved.