public class RamlHeader extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RamlHeader.InvalidHeaderException |
static class |
RamlHeader.InvalidHeaderFragmentException |
static class |
RamlHeader.InvalidHeaderVersionException |
static class |
RamlHeader.MissingHeaderException |
| Modifier and Type | Field and Description |
|---|---|
static String |
RAML_HEADER_PREFIX |
| Constructor and Description |
|---|
RamlHeader(RamlVersion version) |
RamlHeader(RamlVersion version,
RamlFragment fragment) |
| Modifier and Type | Method and Description |
|---|---|
RamlFragment |
getFragment() |
RamlVersion |
getVersion() |
static RamlHeader |
parse(String stringContent) |
public static final String RAML_HEADER_PREFIX
public RamlHeader(RamlVersion version, RamlFragment fragment)
public RamlHeader(RamlVersion version)
public static RamlHeader parse(String stringContent) throws RamlHeader.InvalidHeaderException
public RamlVersion getVersion()
public RamlFragment getFragment()
Copyright © 2016. All rights reserved.