public class ComponentV31 extends Component
Component by providing implementation for the
getHttpheaders() method. Headers for version 3.1 are hard coded
into the Constants.
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 |
|---|
ComponentV31(Dataset dataSet,
int index,
BinaryReader reader)
Constructs a new instance of ComponentV31.
|
| 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 ComponentV31(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 3.1 a list of
HTTP headers is retrieved from DetectionConstants.getHttpheaders in class ComponentIOException - if there was a problem accessing data file.Copyright © 2017 51Degrees. All rights reserved.