public class LinkHeader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LinkHeader.LinkHeaderBuilder<T extends LinkHeader.LinkHeaderBuilder,V extends LinkHeader>
A Link header builder.
|
Modifier | Constructor and Description |
---|---|
|
LinkHeader(HttpHeaderReader reader) |
protected |
LinkHeader(LinkHeader.LinkHeaderBuilder builder) |
|
LinkHeader(java.lang.String header) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOp() |
MultivaluedMap<java.lang.String,java.lang.String> |
getParams() |
java.util.Set<java.lang.String> |
getRel() |
MediaType |
getType() |
java.net.URI |
getUri() |
java.lang.String |
toString() |
static LinkHeader.LinkHeaderBuilder |
uri(java.net.URI uri) |
static LinkHeader |
valueOf(java.lang.String header) |
public LinkHeader(java.lang.String header) throws java.text.ParseException, java.lang.IllegalArgumentException
java.text.ParseException
java.lang.IllegalArgumentException
public LinkHeader(HttpHeaderReader reader) throws java.text.ParseException, java.lang.IllegalArgumentException
java.text.ParseException
java.lang.IllegalArgumentException
protected LinkHeader(LinkHeader.LinkHeaderBuilder builder)
public static LinkHeader valueOf(java.lang.String header) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public java.lang.String toString()
toString
in class java.lang.Object
public MultivaluedMap<java.lang.String,java.lang.String> getParams()
public java.net.URI getUri()
public java.util.Set<java.lang.String> getRel()
public MediaType getType()
public java.lang.String getOp()
public static LinkHeader.LinkHeaderBuilder uri(java.net.URI uri)
Copyright © 2016 Oracle Corporation. All Rights Reserved.