|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.net.URLConnection
es.caib.signatura.afirma.rfc3161.RFC3161Connection
public class RFC3161Connection
| Field Summary |
|---|
| Fields inherited from class java.net.URLConnection |
|---|
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches |
| Constructor Summary | |
|---|---|
protected |
RFC3161Connection(java.net.URL url)
|
| Method Summary | |
|---|---|
void |
connect()
connecta con el servidor estableciendo el valor del timeout de la conexión. |
java.io.InputStream |
getInputStream()
Returns a RAW input stream that reads from this open connection. |
java.io.OutputStream |
getOutputStream()
Returns a RAW output stream that writes to this connection. |
TsaInputStream |
getTsaInputStream()
Devuelve un Stream de entrada que es capaz de interpretar el mensaje en el formato de la TSA y devolver su contenido. |
TsaOutputStream |
getTsaOutputStream()
|
| Methods inherited from class java.net.URLConnection |
|---|
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected RFC3161Connection(java.net.URL url)
| Method Detail |
|---|
public void connect()
throws java.io.IOException
connect in class java.net.URLConnectionjava.io.IOException
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.URLConnectionjava.io.IOException - if an I/O error occurs while
creating the input stream.
java.net.UnknownServiceException - if the protocol does not support
input.URLConnection.setReadTimeout(int),
URLConnection.getReadTimeout()
public TsaInputStream getTsaInputStream()
throws java.io.IOException
java.io.IOException
public java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in class java.net.URLConnectionjava.io.IOException - if an I/O error occurs while
creating the output stream.
java.net.UnknownServiceException - if the protocol does not support
output.
public TsaOutputStream getTsaOutputStream()
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||