|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XcapRequest
Represents an XCAP request. Responsibilities include:
Nested Class Summary | |
---|---|
static class |
XcapRequest.Operation The XCAP method to be performed. |
Method Summary | |
---|---|
void |
addHeader(String aHeaderName, List<String> aHeaderValues) Add one header with a list of values. |
void |
addHeader(String aHeaderName, String aHeaderValue) Add one header with only one value. |
void |
addHeaders(Map<String,List<String>> aHeaders) Add a set of headers. |
Map<String,List<String>> |
getHeaders() Returns an unmodifiable Map of headers for this request. |
XcapRequest.Operation |
getOperation() Get operation of this request. |
XcapResource |
getResource() Get XCAP resource of this request. |
void |
removeHeader(String aHeaderName) Remove a header whose name is the given name. |
Method Detail |
---|
XcapResource getResource()
XcapRequest.Operation getOperation()
Map<String,List<String>> getHeaders()
void addHeaders(Map<String,List<String>> aHeaders)
aHeaders
- a map whose key is name of a header and value is a list of values of the header.void addHeader(String aHeaderName, List<String> aHeaderValues)
aHeaderName
- name of the headeraHeaderValues
- a list of values of the headervoid addHeader(String aHeaderName, String aHeaderValue)
aHeaderName
- name of the headeraHeaderValue
- value of the headervoid removeHeader(String aHeaderName)
aHeaderName
- name of the header to be removed
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2012 Oracle Corporation. All Rights Reserved.