*** This class provides Binary Compatibility only, not Source Compatibility ***
Package com.sas.iom
Class InputStreamHeader
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.sas.iom.InputStreamHeader
- All Implemented Interfaces:
com.sas.io.InputStreamHeaderInterface,Serializable,Remote
@SASScope("ALL")
@BinaryCompatibilityOnly
public class InputStreamHeader
extends UnicastRemoteObject
implements com.sas.io.InputStreamHeaderInterface
Provides the capability to read header information from an
IOM InputStream.- Since:
- 1.0
- See Also:
-
Field Summary
Fields inherited from class java.rmi.server.RemoteObject
ref -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionStringStringStringlonggetHeaderFieldDate(String name, long Default) intgetHeaderFieldInt(String name, int Default) MapGet response headers by delegating to the InputStream.booleanDetermine whether or not the header is available by delegating to the InputStream.Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObjectMethods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLogMethods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStubMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
InputStreamHeader
- Throws:
RemoteException
-
-
Method Details
-
getCharacterEncoding
public String getCharacterEncoding() throws IOException, RemoteException- Specified by:
getCharacterEncodingin interfacecom.sas.io.InputStreamHeaderInterface- Throws:
IOExceptionRemoteException
-
getContentEncoding
public String getContentEncoding() throws IOException, RemoteException- Specified by:
getContentEncodingin interfacecom.sas.io.InputStreamHeaderInterface- Throws:
IOExceptionRemoteException
-
getContentType
public String getContentType() throws IOException, RemoteException- Specified by:
getContentTypein interfacecom.sas.io.InputStreamHeaderInterface- Throws:
IOExceptionRemoteException
-
getHeaderFieldDate
public long getHeaderFieldDate(String name, long Default) throws IOException, RemoteException - Specified by:
getHeaderFieldDatein interfacecom.sas.io.InputStreamHeaderInterface- Throws:
IOExceptionRemoteException
-
getHeaderFieldInt
public int getHeaderFieldInt(String name, int Default) throws IOException, RemoteException - Specified by:
getHeaderFieldIntin interfacecom.sas.io.InputStreamHeaderInterface- Throws:
IOExceptionRemoteException
-
getHeaders
public Map getHeaders() throws IOException, RemoteExceptionGet response headers by delegating to the InputStream.- Specified by:
getHeadersin interfacecom.sas.io.InputStreamHeaderInterface- Throws:
IOExceptionRemoteException
-
headerAvailable
public boolean headerAvailable() throws RemoteExceptionDetermine whether or not the header is available by delegating to the InputStream.- Specified by:
headerAvailablein interfacecom.sas.io.InputStreamHeaderInterface- Throws:
RemoteException
-