Skip navigation links

Oracle® WebLogic Server Web Clipping Transport API Reference
11g Release 1 (11.1.1)

E14346-01


oracle.portal.wcs.transport.http
Interface HttpTransportLiaison

All Known Implementing Classes:
HttpClientProviderTransportLiaison, HttpClientStudioTransportLiaison, HttpClientTransportLiaison

public interface HttpTransportLiaison

This interface abstracts the API to handle HTTP connection. The possible implementations in mind are HTTPClient and JDK


Method Summary
 void close()
           
 HttpAuthorizationInfo getAuthorizationInfo()
          Throw exception if the scheme is not of Basic or Digest
 java.lang.String getContentType()
          Return the content type
 java.lang.String getEffectiveUri()
          get the redirect URI from the server
 java.util.Hashtable getHeaders()
          get the headers from outside web site
 java.io.InputStream getInputStream()
           
 javax.servlet.http.Cookie[] getResponseCookies()
          Get the cookies after the http call
 int getStatus()
           
 int getTimeConsumed()
          Returns the number of milliseconds used for this http request
 void open()
           

 

Method Detail

getContentType

java.lang.String getContentType()
                                throws TransportException
Return the content type
Throws:
TransportException

open

void open()
          throws TransportException
Throws:
TransportException

close

void close()
           throws TransportException
Throws:
TransportException

getInputStream

java.io.InputStream getInputStream()
                                   throws TransportException
Throws:
TransportException

getEffectiveUri

java.lang.String getEffectiveUri()
                                 throws TransportException
get the redirect URI from the server
Throws:
TransportException

getHeaders

java.util.Hashtable getHeaders()
                               throws TransportException
get the headers from outside web site
Throws:
TransportException

getStatus

int getStatus()
              throws TransportException
Throws:
TransportException

getResponseCookies

javax.servlet.http.Cookie[] getResponseCookies()
Get the cookies after the http call

getTimeConsumed

int getTimeConsumed()
Returns the number of milliseconds used for this http request

getAuthorizationInfo

HttpAuthorizationInfo getAuthorizationInfo()
                                           throws HttpTransportException
Throw exception if the scheme is not of Basic or Digest
Throws:
HttpTransportException

Skip navigation links

Oracle® WebLogic Server Web Clipping Transport API Reference
11g Release 1 (11.1.1)

E14346-01


Copyright © 2003, 2009, Oracle Corporation. All Rights Reserved