public class BinaryWSProcedureExecution extends Object implements ProcedureExecution
| Modifier and Type | Class and Description |
|---|---|
static class |
BinaryWSProcedureExecution.StreamingBlob |
| Constructor and Description |
|---|
BinaryWSProcedureExecution(Call procedure,
RuntimeMetadata metadata,
ExecutionContext context,
WSExecutionFactory executionFactory,
WSConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the execution abnormally.
|
void |
close()
Terminates the execution normally.
|
void |
execute()
Execute the associated command.
|
List<?> |
getOutputParameterValues()
Get the output parameter values.
|
int |
getResponseCode() |
Object |
getResponseHeader(String name) |
Map<String,Object> |
getResponseHeaders() |
List<?> |
next()
Retrieves the next row of the resultset.
|
void |
setCustomHeaders(Map<String,List<String>> customHeaders) |
void |
setUseResponseContext(boolean useResponseContext) |
public BinaryWSProcedureExecution(Call procedure, RuntimeMetadata metadata, ExecutionContext context, WSExecutionFactory executionFactory, WSConnection conn)
env - public void setUseResponseContext(boolean useResponseContext)
public void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecutionnext in interface ResultSetExecutionTranslatorExceptionDataNotAvailableExceptionpublic List<?> getOutputParameterValues() throws TranslatorException
ProcedureExecutiongetOutputParameterValues in interface ProcedureExecutionTranslatorException - If an error occurs while retrieving the output valuepublic void close()
Executionpublic void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionpublic int getResponseCode()
Copyright © 2016 JBoss by Red Hat. All rights reserved.