Skip navigation links


com.essbase.eas.framework.defs.command
Class HttpMessage

java.lang.Object
  extended by com.essbase.eas.framework.defs.command.HttpMessage


public class HttpMessage
extends java.lang.Object
Since:
6.2.0
Version:
6.5.4
Author:
Hyperion Solutions, Painted Word

Field Summary
static java.lang.String FILE_SEPARATOR
           
static boolean scripting
           
static java.io.PrintStream stdStream
           
static java.lang.String testScriptName
           

 

Constructor Summary
HttpMessage(java.net.URL servlet)
           

 

Method Summary
 boolean canSecureMessages()
           
static void disbaleSLL()
           
 void dispose()
           
 java.lang.Exception getException()
           
 boolean getSecureAllMessages()
           
protected  java.io.InputStream sendPostMessage(java.util.Properties args, boolean secure)
          Performs a POST request with the parameter from the supplied Properties list.
 java.io.InputStream sendPutMessage(byte[] data, boolean secure)
          Performs a PUT request with the supplied data list.
 java.io.InputStream sendPutMessage(byte[] data, int offset, int len, boolean secure)
          Performs a PUT request with the supplied data list.
 void setSecureAllMessages(boolean isSecure)
           
 void setSecureURL()
           
 void setSecureURLEx(boolean useSSL, int port)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

FILE_SEPARATOR

public static final java.lang.String FILE_SEPARATOR

testScriptName

public static final java.lang.String testScriptName

stdStream

public static java.io.PrintStream stdStream

scripting

public static boolean scripting

Constructor Detail

HttpMessage

public HttpMessage(java.net.URL servlet)
            throws java.io.IOException
Throws:
java.io.IOException

Method Detail

disbaleSLL

public static void disbaleSLL()

setSecureURL

public void setSecureURL()
                  throws java.io.IOException
Throws:
java.io.IOException

setSecureURLEx

public void setSecureURLEx(boolean useSSL,
                           int port)
                    throws java.io.IOException
Throws:
java.io.IOException

getException

public java.lang.Exception getException()

setSecureAllMessages

public void setSecureAllMessages(boolean isSecure)

getSecureAllMessages

public boolean getSecureAllMessages()

canSecureMessages

public boolean canSecureMessages()

sendPostMessage

protected java.io.InputStream sendPostMessage(java.util.Properties args,
                                              boolean secure)
                                       throws java.io.IOException
Performs a POST request with the parameter from the supplied Properties list.
Parameters:
args - Property list of arguments to the command
Returns:
the reply InputStream to the post command
Throws:
java.io.IOException

sendPutMessage

public java.io.InputStream sendPutMessage(byte[] data,
                                          boolean secure)
                                   throws java.io.IOException
Performs a PUT request with the supplied data list.
Parameters:
data - The data to send to the servlet
secure - send data secured
Returns:
the reply InputStream to the post command
Throws:
java.io.IOException

sendPutMessage

public java.io.InputStream sendPutMessage(byte[] data,
                                          int offset,
                                          int len,
                                          boolean secure)
                                   throws java.io.IOException
Performs a PUT request with the supplied data list.
Parameters:
data - The data to send to the servlet
offset - offset in to the buffer
len - length of the data
secure - send data secured
Returns:
the reply InputStream to the post command
Throws:
java.io.IOException

dispose

public void dispose()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.