public class ComponentV32 extends Component
Component by providing implementation for the
getHttpheaders() method. Headers for version 3.2 are retrieved
from the data file.
Objects of this class should not be created directly as they are part of the
internal logic. Use the relevant Dataset method to access these
objects.
For more information see: 51Degrees pattern data model.
dataSet, index| Constructor and Description |
|---|
ComponentV32(Dataset dataSet,
int index,
BinaryReader reader)
Constructs a new instance of Component.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getHttpheaders()
Implements
getHttpheaders() method. |
compareTo, equals, getComponentId, getDefaultProfile, getName, getProfiles, getProperties, init, toStringcompareTo, compareTo, getDataSet, getIndex, getIsNumeric, getNumber, readIntegerArray, readIntegerListpublic ComponentV32(Dataset dataSet, int index, BinaryReader reader)
dataSet - The Dataset being created.index - Index of the component within the list.reader - Reader connected to the source data structure and
positioned to start reading.public String[] getHttpheaders() throws IOException
getHttpheaders() method. For version 321 a list of
HTTP headers is retrieved from the data file.getHttpheaders in class ComponentIOException - if there was a problem accessing data file.Copyright © 2017 51Degrees. All rights reserved.