Package | Description |
---|---|
org.apache.marmotta.platform.ldp.webservices |
Modifier and Type | Method and Description |
---|---|
static PreferHeader.PreferBuilder |
PreferHeader.fromPrefer(PreferHeader prefer)
Create a PreferBuilder initialized with the provided PreferHeader.
|
PreferHeader.PreferBuilder |
PreferHeader.PreferBuilder.include(String... ldpPreferUri)
LDP specific: Add a "include" parameter for the given URIs.
|
PreferHeader.PreferBuilder |
PreferHeader.PreferBuilder.omit(String... ldpPreferUri)
LDP specific: Add a "omit" parameter for the given URIs.
|
PreferHeader.PreferBuilder |
PreferHeader.PreferBuilder.parameter(String parameter)
Add a parameter (without value)
|
PreferHeader.PreferBuilder |
PreferHeader.PreferBuilder.parameter(String parameter,
String value)
Add a parameter with the provided value.
|
PreferHeader.PreferBuilder |
PreferHeader.PreferBuilder.parameters(Map<String,String> params)
Add the provided parameters and their values.
|
static PreferHeader.PreferBuilder |
PreferHeader.prefer(String preference)
Create a PreferBuilder for an arbitrary preference
|
static PreferHeader.PreferBuilder |
PreferHeader.preferHandlingLenient()
Create and initialize a PreferBuilder for a
Prefer: handling="lenient" header. |
static PreferHeader.PreferBuilder |
PreferHeader.preferHandlingStrict()
Create and initialize a PreferBuilder for a
Prefer: handling="strict" header. |
static PreferHeader.PreferBuilder |
PreferHeader.preferRespondAsync()
Create and initialize a PreferBuilder for a
Prefer: respond-async header. |
static PreferHeader.PreferBuilder |
PreferHeader.preferReturnMinimal()
Create and initialize a PreferBuilder for a
Prefer: return="minimal" header. |
static PreferHeader.PreferBuilder |
PreferHeader.preferReturnRepresentation()
Create and initialize a PreferBuilder for a
Prefer: return="representation" header. |
static PreferHeader.PreferBuilder |
PreferHeader.preferWait(int seconds)
Create and initialize a PreferBuilder for a
Prefer: wait="X" header. |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.