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:
- 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:
- Serialized Form
InputStreamHeader
public InputStreamHeader(InputStream inputStream)
throws RemoteException
getCharacterEncoding
public String getCharacterEncoding()
throws IOException,
RemoteException
- Specified by:
getCharacterEncoding in interface InputStreamHeaderInterface
getContentEncoding
public String getContentEncoding()
throws IOException,
RemoteException
- Specified by:
getContentEncoding in interface InputStreamHeaderInterface
getContentType
public String getContentType()
throws IOException,
RemoteException
- Specified by:
getContentType in interface InputStreamHeaderInterface
getHeaderFieldDate
public long getHeaderFieldDate(String name,
long Default)
throws IOException,
RemoteException
- Specified by:
getHeaderFieldDate in interface InputStreamHeaderInterface
getHeaderFieldInt
public int getHeaderFieldInt(String name,
int Default)
throws IOException,
RemoteException
- Specified by:
getHeaderFieldInt in interface InputStreamHeaderInterface
getHeaders
public Map getHeaders()
throws IOException,
RemoteException
- Get response headers by delegating to the InputStream.
- Specified by:
getHeaders in interface InputStreamHeaderInterface
headerAvailable
public boolean headerAvailable()
throws RemoteException
- Determine whether or not the header is available by delegating to the InputStream.
- Specified by:
headerAvailable in interface InputStreamHeaderInterface
Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:51