public class JWEBuilder extends Object
Modifier and Type | Class and Description |
---|---|
class |
JWEBuilder.EncryptionBuilder |
Constructor and Description |
---|
JWEBuilder() |
JWEBuilder(javax.ws.rs.ext.Providers providers) |
Modifier and Type | Method and Description |
---|---|
JWEBuilder.EncryptionBuilder |
content(Object content) |
JWEBuilder.EncryptionBuilder |
content(Object content,
javax.ws.rs.core.MediaType marshalTo) |
JWEBuilder.EncryptionBuilder |
contentBytes(byte[] bytes) |
JWEBuilder |
contentType(javax.ws.rs.core.MediaType type) |
JWEBuilder |
contentType(String type) |
protected String |
encodeHeader(Algorithm alg) |
protected byte[] |
marshalContent(Object content,
javax.ws.rs.core.MediaType marshalTo) |
JWEBuilder |
type(String type) |
public JWEBuilder()
public JWEBuilder(javax.ws.rs.ext.Providers providers)
public JWEBuilder type(String type)
public JWEBuilder contentType(String type)
public JWEBuilder contentType(javax.ws.rs.core.MediaType type)
public JWEBuilder.EncryptionBuilder contentBytes(byte[] bytes)
public JWEBuilder.EncryptionBuilder content(Object content)
public JWEBuilder.EncryptionBuilder content(Object content, javax.ws.rs.core.MediaType marshalTo)
protected byte[] marshalContent(Object content, javax.ws.rs.core.MediaType marshalTo)
Copyright © 2015 JBoss by Red Hat. All rights reserved.