Package | Description |
---|---|
com.xpn.xwiki.api |
Modifier and Type | Method and Description |
---|---|
Object |
Context.get(String key)
Returns the value associated with the given key in the XWiki context.
|
XWikiContext |
Context.getContext()
Returns the XWiki context.
|
DeletedAttachment |
DeletedAttachment.getDeletedAttachment()
Privileged access to the internal object wrapped by this API.
|
XWikiDeletedDocument |
DeletedDocument.getDeletedDocument() |
XWikiDocument |
Context.getDoc()
Returns the current requested document.
|
PropertyClass |
PropertyClass.getPropertyClass()
Provides access to the wrapped
PropertyClass if Programming Rights are
present. |
String |
XWiki.getURLContent(String surl)
Returns the content of an HTTP/HTTPS URL
|
String |
XWiki.getURLContent(String surl,
int timeout)
Returns the content of an HTTP/HTTPS URL
|
String |
XWiki.getURLContent(String surl,
String username,
String password)
Returns the content of an HTTP/HTTPS URL protected using Basic Authentication
|
String |
XWiki.getURLContent(String surl,
String username,
String password,
int timeout)
Returns the content of an HTTP/HTTPS URL protected using Basic Authentication
|
byte[] |
XWiki.getURLContentAsBytes(String surl)
Returns the content of an HTTP/HTTPS URL as Bytes
|
byte[] |
XWiki.getURLContentAsBytes(String surl,
String username,
String password)
Returns the content of an HTTP/HTTPS URL protected using Basic Authentication as Bytes
|
XWikiUser |
User.getUser()
Expose the wrapped XWikiUser object.
|
XWiki |
Context.getXWiki()
Returns the XWiki object.
|
XWiki |
XWiki.getXWiki()
Privileged API allowing to access the underlying main XWiki Object
|
void |
Context.put(String key,
Object value)
Puts an object on the context using the given key.
|
void |
Context.setDatabase(String database)
Sets the current database.
|
void |
Context.setDoc(XWikiDocument doc)
Sets the current document.
|
Copyright © 2004–2022 XWiki. All rights reserved.