public final class HTMLLogin extends Object implements IHTMLLogin
Copyright (c) SAP AG 2001-2004
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
createRequest(UserInfo ui)
Create a http request object suitable for sending the login form data
|
IHierarchicalUri |
getAction()
Get uri of login form action.
|
String |
getEncType()
Get encoding mime type for submitted form data.
|
String |
getID()
Get id of login form iff set.
|
List |
getInputs()
Get list of
HTMLInputs of login form. |
static IHTMLLogin |
getInstance(IHTMLReader reader,
IHierarchicalUri base,
String formID)
Extracts a login form from the HTML reader.
|
String |
getMethod()
Get method of login form submittal.
|
public static IHTMLLogin getInstance(IHTMLReader reader, IHierarchicalUri base, String formID) throws HTMLFormNotFoundException, HTMLException, IOException
reader - to read HTML form frombase - uri of html fileformID - of form to find or null for autodetectionHTMLFormNotFoundException - when form could not be detectedHTMLException - on generic HTML errorsIOException - on errors reading the HTMLpublic IHierarchicalUri getAction()
IHTMLLogingetAction in interface IHTMLLoginpublic String getEncType()
IHTMLLogingetEncType in interface IHTMLLoginpublic String getID()
IHTMLLoginnull.getID in interface IHTMLLoginpublic List getInputs()
IHTMLLoginHTMLInputs of login form.getInputs in interface IHTMLLoginHTMLInputs of login formpublic String getMethod()
IHTMLLogingetMethod in interface IHTMLLoginpublic HttpRequest createRequest(UserInfo ui) throws ResourceException
IHTMLLogincreateRequest in interface IHTMLLoginui - username and password to useResourceException - no description| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice