|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.wcps.property.PropertyServiceContext.Builder
public static class PropertyServiceContext.Builder
A builder class to create an instance of IContext.
| Constructor Summary | |
|---|---|
PropertyServiceContext.Builder() |
|
| Method Summary | |
|---|---|
IContext |
build()Returns the initialized PropertyServiceContext instance. |
PropertyServiceContext.Builder |
withAcceptHeader(java.lang.String value)Sets the accept HTTP request header property with the given value. |
PropertyServiceContext.Builder |
withContentTypeHeader(java.lang.String value)Sets the content-type HTTP request header property with the given value. |
PropertyServiceContext.Builder |
withHttpServletRequest(java.lang.Object req)Sets the HttpServletRequest property with the given value req. |
PropertyServiceContext.Builder |
withHttpServletResponse(java.lang.Object res)Sets the HttpServletResponse property with the given value res. |
PropertyServiceContext.Builder |
withPassword(java.lang.String password)Sets the password property with the given password. |
PropertyServiceContext.Builder |
withUri(java.lang.String uri)Sets the property service rest API's base URI as URI property. |
PropertyServiceContext.Builder |
withUserName(java.lang.String userName)Sets the username property with the given userName. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyServiceContext.Builder()
| Method Detail |
|---|
public PropertyServiceContext.Builder withUri(java.lang.String uri)
uri - the property service rest API's base URI.public PropertyServiceContext.Builder withUserName(java.lang.String userName)
userName. This is a required property for remote access of the property service API. This is used for authentication.userName - a valid username to authenticate and access the property service rest API.public PropertyServiceContext.Builder withPassword(java.lang.String password)
password. This is a required property for remote access of property service API. This is used for authentication.password - a valid password for the username property that can be used for authentication.public PropertyServiceContext.Builder withAcceptHeader(java.lang.String value)
value. By default the accept header is set to "application/xml". The other supported value is "application/json".value - the accept request header's value.public PropertyServiceContext.Builder withContentTypeHeader(java.lang.String value)
value. By default the content-type header is set to "application/xml". The other supported value is "application/json".value - the content-type request header's value.public PropertyServiceContext.Builder withHttpServletRequest(java.lang.Object req)
req. This property is used when configured locators need to use it to check the currently authenticated subject and login to backend systems that locators are accessing.req - an http servlet request.public PropertyServiceContext.Builder withHttpServletResponse(java.lang.Object res)
res.res - an http servlet response.public IContext build()
PropertyServiceContext instance.
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||