public abstract class AbstractAxisServiceContentGenerator
extends org.pentaho.platform.engine.services.solution.SimpleContentGenerator
callbacks, instanceId, itemName, messages, outputHandler, parameterProviders, urlFactory, userSession
Constructor and Description |
---|
AbstractAxisServiceContentGenerator() |
Modifier and Type | Method and Description |
---|---|
abstract void |
createContent(org.apache.axis2.engine.AxisConfiguration axisConfiguration,
org.apache.axis2.context.ConfigurationContext context,
OutputStream out)
Creates content for this request.
|
void |
createContent(OutputStream out) |
protected void |
handleFault(org.apache.axis2.context.MessageContext msgContext,
OutputStream out,
boolean http,
Throwable e) |
protected void |
processAxisFault(org.apache.axis2.context.MessageContext msgContext,
OutputStream out,
Throwable e)
Handles processing of Axis exceptions.
|
createContent, getMimeType
getCallback, getItemName, getLogger, setCallbacks, setInstanceId, setItemName, setMessagesList, setOutputHandler, setParameterProviders, setSession, setUrlFactory
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn
public void createContent(OutputStream out) throws Exception
createContent
in class org.pentaho.platform.engine.services.solution.SimpleContentGenerator
Exception
public abstract void createContent(org.apache.axis2.engine.AxisConfiguration axisConfiguration, org.apache.axis2.context.ConfigurationContext context, OutputStream out) throws Exception
axisConfiguration
- AxisConfigurationcontext
- ConfigurationContextout
- The output stream to write toException
protected void processAxisFault(org.apache.axis2.context.MessageContext msgContext, OutputStream out, Throwable e)
msgContext
- The message context that experienced an errorout
- The output stream to write toe
- The error that occurredprotected void handleFault(org.apache.axis2.context.MessageContext msgContext, OutputStream out, boolean http, Throwable e) throws IOException
IOException
Copyright © 2019 Hitachi Vantara. All rights reserved.