F.A.Q
How can I define multiple OpenAPI definitions in one Spring Boot project?
You can define your own groups of API based on the combination of: API paths and packages to scan. Each group should have a unique groupName
.
The OpenAPI description of this group, will be available by default on:
-
http://server:port/context-path/v3/api-docs/groupName
To enable the support of multiple OpenAPI definitions, a bean of type GroupedOpenApi
needs to be defined.
For the following Group definition(based on package path), the OpenAPI description URL will be : /v3/api-docs/stores
@Bean
public GroupedOpenApi storeOpenApi() {
String paths[] = {"/store/**"};
return GroupedOpenApi.builder().group("stores").pathsToMatch(paths)
.build();
}
For the following Group definition (based on package name), the OpenAPI description URL will be: /v3/api-docs/users
@Bean
public GroupedOpenApi userOpenApi() {
String packagesToscan[] = {"test.org.springdoc.api.app68.api.user"};
return GroupedOpenApi.builder().group("users").packagesToScan(packagesToscan)
.build();
}
For the following Group definition(based on path), the OpenAPI description URL will be: /v3/api-docs/pets
@Bean
public GroupedOpenApi petOpenApi() {
String paths[] = {"/pet/**"};
return GroupedOpenApi.builder().group("pets").pathsToMatch(paths)
.build();
}
For the following Group definition (based on package name and path), the OpenAPI description URL will be: /v3/api-docs/groups
@Bean
public GroupedOpenApi groupOpenApi() {
String paths[] = {"/v1/**"};
String packagesToscan[] = {"test.org.springdoc.api.app68.api.user", "test.org.springdoc.api.app68.api.store"};
return GroupedOpenApi.builder().group("groups").pathsToMatch(paths).packagesToScan(packagesToscan)
.build();
}
For more details about the usage, you can have a look at the following sample Test:
How can I configure Swagger UI?
-
The support of the swagger official properties is available on
springdoc-openapi
. See Official documentation. -
You can use the same swagger properties in the documentation as Spring Boot properties.
All these properties should be declared with the following prefix: springdoc.swagger-ui
|
How can I filter the resources documented in the output specification by the provided group?
-
You can use the standard
swagger-ui
property filter.
springdoc.swagger-ui.filter=group-a
How can I disable/enable Swagger UI generation based on env variable?
-
This property helps you disable only the UI.
springdoc.swagger-ui.enabled=false
How can I control the default expansion setting for the operations and tags, in the Swagger UI,
-
You can set this property in your application.yml like so for example:
springdoc.swagger-ui.doc-expansion= none
How can I change the layout of the swagger-ui
?
-
For layout options, you can use swagger-ui configuration options. For example:
springdoc.swagger-ui.layout=BaseLayout
How can I sort endpoints alphabetically?
-
You can use the following
springdoc-openapi
properties:
#For sorting endpoints alphabetically springdoc.swagger-ui.operationsSorter=alpha #For sorting tags alphabetically springdoc.swagger-ui.tagsSorter=alpha
How can I disable the try it out button?
-
You have to set the following property:
springdoc.swagger-ui.supportedSubmitMethods="get", "put", "post", "delete", "options", "head", "patch", "trace"
How can i apply enumAsRef = true
to all enums?
-
Declare the following property:
static { io.swagger.v3.core.jackson.ModelResolver.enumsAsRef = true; }
How can I explicitly set which paths to filter?
-
You can set list of paths to include using the following property:
springdoc.pathsToMatch=/v1, /api/balance/**
How can I explicitly set which packages to scan?
-
You can set list of packages to include using the following property:
springdoc.packagesToScan=package1, package2
How can I set Swagger properties programmatically?
These can be set by creating a swaggerUiConfig
bean as follows:
---
@Bean
@Primary
fun swaggerUiConfig(config: SwaggerUiConfigProperties): SwaggerUiConfigProperties {
config.showCommonExtensions = true
config.queryConfigEnabled = true
return config
}
---
How can I ignore some field of model?
-
You can use the following annotation on the top of the field that you want to hide:
-
@Schema(hidden = true)
How can I ignore @AuthenticationPrincipal
parameter from spring-security?
-
A solution workaround would be to use:
@Parameter(hidden = true)
-
For a project that uses
spring-security
, you should add the following dependency, in combination with thespringdoc-openapi-ui
dependency:
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-security</artifactId>
<version>last.version</version>
</dependency>
Is there a Gradle plugin available?
-
Yes. More details are available, in the gradle plugin section.
Does springdoc-openapi
support Jersey?
-
If you are using JAX-RS and as implementation Jersey (
@Path
for example), we do not support it. -
We only support exposing Rest Endpoints using Spring managed beans (
@RestController
for example). -
You can have a look at swagger-jaxrs2 project:
Can springdoc-openapi
generate API only for @RestController
?
-
@RestController
is equivalent to@Controller
+@RequestMapping
on the type level. -
For some legacy apps, we are constrained to still support both.
-
If you need to hide the
@Controller
on the type level, in this case, you can use:@Hidden
on controller level. -
Please note this annotation can be also used to hide some methods from the generated documentation.
Are the following validation annotations supported : @NotEmpty
@NotBlank
@PositiveOrZero
@NegativeOrZero
?
-
Yes
How can I map Pageable
(spring-data-commons) object to correct URL-Parameter in Swagger UI?
The support for Pageable of spring-data-commons is available out-of-the box since springdoc-openapi v1.6.0
.
For this, you have to combine @ParameterObject
annotation with the Pageable
type.
Before springdoc-openapi v1.6.0
:
-
You can use as well
@ParameterObject
instead of@PageableAsQueryParam
for HTTPGET
methods.
static {
getConfig().replaceParameterObjectWithClass(org.springframework.data.domain.Pageable.class, Pageable.class)
.replaceParameterObjectWithClass(org.springframework.data.domain.PageRequest.class, Pageable.class);
}
-
Another solution, is to configure Pageable manually:
-
you will have to declare the explicit mapping of Pageable fields as Query Params and add the
@Parameter(hidden = true) Pageable pageable
on your pageable parameter. -
You should also, declare the annotation
@PageableAsQueryParam
provided byspringdoc-openapi
on the method level, or declare your own if need to define your custom description, defaultValue, …
-
If you want to disable the support of spring Pageable Type, you can use:
springdoc.model-converters.pageable-converter.enabled=false
The property springdoc.model-converters.pageable-converter.enabled is only available since v1.5.11+
|
How can I generate enums in the generated description?
-
You could add a property
allowableValues
, to@Parameter
. For example:
@GetMapping("/example")
public Object example(@Parameter(name = "json", schema = @Schema(description = "var 1", type = "string", allowableValues = {"1", "2"}))
String json) {
return null;
}
-
or you could override
toString
on your enum:
@Override
@JsonValue
public String toString() {
return String.valueOf(action);
}
How can I deploy springdoc-openapi-ui
behind a reverse proxy?
-
If your application is running behind a proxy, a load-balancer or in the cloud, the request information (like the host, port, scheme…) might change along the way. Your application may be running on
<IP_ADDRESS>:8080
, but HTTP clients should only seeexample.org
. -
RFC7239 "Forwarded Headers" defines the Forwarded HTTP header; proxies can use this header to provide information about the original request. You can configure your application to read those headers and automatically use that information when creating links and sending them to clients in HTTP 302 responses, JSON documents or HTML pages. There are also non-standard headers, like
X-Forwarded-Host
,X-Forwarded-Port
,X-Forwarded-Proto
,X-Forwarded-Ssl
, andX-Forwarded-Prefix
. -
If the proxy adds the commonly used
X-Forwarded-For
andX-Forwarded-Proto headers
, setting server.forward-headers-strategy to NATIVE is enough to support those. With this option, the Web servers themselves natively support this feature; you can check their specific documentation to learn about specific behavior. -
You need to make sure the following header is set in your reverse proxy configuration:
X-Forwarded-Prefix
-
For example, using Apache 2, configuration:
RequestHeader set X-Forwarded-Prefix "/custom-path"
-
Then, in your Spring Boot application make sure your application handles this header:
X-Forwarded-For
. There are two ways to achieve this:
server.use-forward-headers=true
-
If this is not enough, Spring Framework provides a
ForwardedHeaderFilter
. You can register it as a Servlet Filter in your application by setting server.forward-headers-strategy is set to FRAMEWORK. -
Since Spring Boot 2.2, this is the new property to handle reverse proxy headers:
server.forward-headers-strategy=framework
-
And you can add the following bean to your application:
@Bean
ForwardedHeaderFilter forwardedHeaderFilter() {
return new ForwardedHeaderFilter();
}
Adding springdoc-openapi-ui
dependency breaks my public/index.html
welcome page
-
If you already have static content on your root, and you don’t want it to be overridden by
springdoc-openapi-ui
configuration, you can just define a custom configuration of theswagger-ui
, in order not to override the configuration of your files from in your context-root: -
For example use:
springdoc.swagger-ui.path= /swagger-ui/api-docs.html
How can I customise the OpenAPI object?
-
You can write your own implementation of
OpenApiCustomizer
. -
An example is available on:
@Bean
public OpenApiCustomiser consumerTypeHeaderOpenAPICustomiser() {
return openApi -> openApi.getPaths().values().stream().flatMap(pathItem -> pathItem.readOperations().stream())
.forEach(operation -> operation.addParametersItem(new HeaderParameter().$ref("#/components/parameters/myConsumerTypeHeader")));
}
This bean OpenApiCustomizer will be applied to the Default OpenAPI only.
|
If you need the OpenApiCustomizer
to applied to GroupedOpenApi
as well, then use GlobalOpenApiCustomizer
instead.
How can I return an empty content as response?
-
It is be possible to handle as return an empty content as response using, one of the following syntaxes:
-
content = @Content
-
content = @Content(schema = @Schema(hidden = true))
-
For example:
@Operation(summary = "Get thing", responses = {
@ApiResponse(description = "Successful Operation", responseCode = "200", content = @Content(mediaType = "application/json", schema = @Schema(implementation = String.class))),
@ApiResponse(responseCode = "404", description = "Not found", content = @Content),
@ApiResponse(responseCode = "401", description = "Authentication Failure", content = @Content(schema = @Schema(hidden = true))) })
@RequestMapping(path = "/testme", method = RequestMethod.GET)
ResponseEntity<String> testme() {
return ResponseEntity.ok("Hello");
}
How are endpoints with multiple consuming media types supported?
-
An overloaded method on the same class, with the same HTTP Method and path, will have as a result, only one OpenAPI Operation generated.
-
In addition, it’s recommended to have the
@Operation
in the level of one of the overloaded methods. Otherwise it might be overridden if it’s declared many times within the same overloaded method.
How can I get yaml and json (OpenAPI) in compile time?
-
You can use
springdoc-openapi-maven-plugin
for this functionality: -
You can customise the output directory (property outputDir): The default value is: ${project.build.directory}
What are the ignored types in the documentation?
-
Principal
,Locale
,HttpServletRequest
andHttpServletResponse
and other injectable parameters supported by Spring MVC are excluded. -
Full documentation here:
How can i disable ignored types:
If you don’t want to ignore the types Principal
, Locale
, HttpServletRequest
, and others,:
SpringDocUtils.getConfig().removeRequestWrapperToIgnore(HttpServletRequest.class)
How do I add authorization header in requests?
-
You should add the
@SecurityRequirement
tags to your protected APIs. -
For example:
@Operation(security = { @SecurityRequirement(name = "bearer-key") })
-
And the security definition sample:
@Bean
public OpenAPI customOpenAPI() {
return new OpenAPI()
.components(new Components()
.addSecuritySchemes("bearer-key",
new SecurityScheme().type(SecurityScheme.Type.HTTP).scheme("bearer").bearerFormat("JWT")));
}
Differentiation to Springfox project
-
OAS 3 was released in July 2017, and there was no release of
springfox
to support OAS 3.springfox
covers for the moment only swagger 2 integration with Spring Boot. The latest release date is June 2018. So, in terms of maintenance there is a big lack of support lately. -
We decided to move forward and share the library that we already used on our internal projects, with the community.
-
The biggest difference with
springfox
, is that we integrate new features not covered byspringfox
: -
The integration between Spring Boot and OpenAPI 3 standard.
-
We rely on on
swagger-annotations
andswagger-ui
only official libraries. -
We support new features on Spring 5, like
spring-webflux
with annotated and functional style. -
We do our best to answer all the questions and address all issues or enhancement requests
How do I migrate to OpenAPI 3 with springdoc-openapi
-
There is no relation between
springdoc-openapi
andspringfox
.If you want to migrate to OpenAPI 3: -
Remove all the dependencies and the related code to springfox
-
Add
springdoc-openapi-ui
dependency -
If you don’t want to serve the UI from your root path or there is a conflict with an existing configuration, you can just change the following property:
springdoc.swagger-ui.path=/you-path/swagger-ui.html
How can I set a global header?
-
You may have global parameters with Standard OpenAPI description.
-
If you need the definitions to appear globally (within every group), no matter if the group fulfills the conditions specified on the GroupedOpenApi, you can use OpenAPI Bean.
-
You can define common parameters under parameters in the global components section and reference them elsewhere via
$ref
. You can also define global header parameters. -
For this, you can override to OpenAPI Bean, and set the global headers or parameters definition on the components level.
@Bean
public OpenAPI customOpenAPI(@Value("${springdoc.version}") String appVersion) {
return new OpenAPI()
.components(new Components().addSecuritySchemes("basicScheme", new SecurityScheme().type(SecurityScheme.Type.HTTP).scheme("basic"))
.addParameters("myHeader1", new Parameter().in("header").schema(new StringSchema()).name("myHeader1")).addHeaders("myHeader2", new Header().description("myHeader2 header").schema(new StringSchema())))
.info(new Info()
.title("Petstore API")
.version(appVersion)
.description("This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.")
.termsOfService("http://swagger.io/terms/")
.license(new License().name("Apache 2.0").url("http://springdoc.org")));
}
How can I define SecurityScheme?
-
You can use:
@SecurityScheme
annotation. -
Or you can define it programmatically, by overriding OpenAPI Bean:
@Bean
public OpenAPI customOpenAPI(@Value("${springdoc.version}") String appVersion) {
return new OpenAPI()
.components(new Components().addSecuritySchemes("basicScheme",
new SecurityScheme().type(SecurityScheme.Type.HTTP).scheme("basic")))
.info(new Info().title("SpringShop API").version(appVersion)
.license(new License().name("Apache 2.0").url("http://springdoc.org")));
}
How can I hide an operation or a controller from documentation?
-
You can use
@io.swagger.v3.oas.annotations.Hidden
annotation at@RestController
,@RestControllerAdvice
and method level -
The
@Hidden
annotation on exception handler methods, is considered when building generic (error) responses from@ControllerAdvice
exception handlers. -
Or use:
@Operation(hidden = true)
How to configure global security schemes?
-
For global SecurityScheme, you can add it inside your own OpenAPI definition:
@Bean
public OpenAPI customOpenAPI() {
return new OpenAPI().components(new Components()
.addSecuritySchemes("basicScheme", new SecurityScheme()
.type(SecurityScheme.Type.HTTP).scheme("basic"))).info(new Info().title("Custom API")
.version("100")).addTagsItem(new Tag().name("mytag"));
}
Can I use spring property with swagger annotations?
-
The support of spring property resolver for
@Info
:title
*description
*version
*termsOfService
-
The support of spring property resolver for
@Info.license
:name
*url
-
The support of spring property resolver for
@Info.contact
:name
*email
*url
-
The support of spring property resolver for
@Operation
:description
*summary
-
The support of spring property resolver for
@Parameter
:description
*name
-
The support of spring property resolver for
@ApiResponse
:description
-
Its also possible to declare security URLs for
@OAuthFlow
:openIdConnectUrl
*authorizationUrl
*refreshUrl
*tokenUrl
-
The support of spring property resolver for
@Schema
:name
*title
*description
, by settingspringdoc.api-docs.resolve-schema-properties
totrue
How is server URL generated?
-
Generating automatically server URL may be useful, if the documentation is not present.
-
If the server annotations are present, they will be used instead.
How can I disable springdoc-openapi cache?
-
By default, the OpenAPI description is calculated once, and then cached.
-
Sometimes the same swagger-ui is served behind internal and external proxies. some users want the server URL, to be computed on each http request.
-
In order to disable springdoc cache, you will have to set the following property:
springdoc.cache.disabled= true
How can I expose the mvc api-docs endpoints without using the swagger-ui
?
-
You should use the
springdoc-openapi-core
dependency only:
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-webmvc-core</artifactId>
<version>latest.version</version>
</dependency>
How can I disable springdoc-openapi
endpoints?
-
Use the following property:
springdoc.api-docs.enabled=false
How can I hide Schema of the the response?
-
To hide the response element, using
@Schema
annotation, as follows, at operation level:
@Operation(responses = @ApiResponse(responseCode = "200", content = @Content(schema = @Schema(hidden = true))))
-
Or directly at
@ApiResponses
level:
@ApiResponses(value = {@ApiResponse(responseCode = "200", content = @Content(schema = @Schema(hidden = true))) }) OR @ApiResponse(responseCode = "404", description = "Not found", content = @Content)
What is the URL of the swagger-ui
, when I set a different context-path?
-
If you use different context-path:
server.servlet.context-path= /foo
-
The
swagger-ui
will be available on the following URL:-
http://server:port/foo/swagger-ui.html
-
Can I customize OpenAPI object programmatically?
-
You can Define your own OpenAPI Bean: If you need the definitions to appear globally (within every group), no matter if the group fulfills the conditions specified on the GroupedOpenApi, you can use OpenAPI Bean.
@Bean
public OpenAPI customOpenAPI(@Value("${springdoc.version}") String appVersion) {
return new OpenAPI()
.components(new Components().addSecuritySchemes("basicScheme",
new SecurityScheme().type(SecurityScheme.Type.HTTP).scheme("basic")))
.info(new Info().title("SpringShop API").version(appVersion)
.license(new License().name("Apache 2.0").url("http://springdoc.org")));
}
-
If you need the definitions to appear within a specific group, and respect the conditions specified on the GroupedOpenApi, you can add OpenApiCustomiser to your GroupedOpenApi definition.
GroupedOpenApi.builder().group("users").pathsToMatch(paths).packagesToScan(packagedToMatch).addOpenApiCustomiser(customerGlobalHeaderOpenApiCustomiser())
.build()
@Bean
public OpenApiCustomiser customerGlobalHeaderOpenApiCustomiser() {
return openApi -> openApi.path("/foo",
new PathItem().get(new Operation().operationId("foo").responses(new ApiResponses()
.addApiResponse("default", new ApiResponse().description("")
.content(new Content().addMediaType("fatz", new MediaType()))))));
}
Where can I find the source code of the demo applications?
-
The source code of the application is available at the following GitHub repository:
Is file upload supported?
-
The library supports the main file types:
MultipartFile
,@RequestPart
,FilePart
Why my parameter is marked as required?
-
Any
@GetMapping
parameters is marked as required, even if@RequestParam
is missing. -
You can add
@Parameter(required=false)
annotation if you need different behaviour. -
Query parameters with
defaultValue
specified are marked as required.
How are overloaded methods with the same endpoints, but with different parameters
-
springdoc-openapi
renders these methods as a single endpoint. It detects the overloaded endpoints, and generates parameters.schema.oneOf.
What is a proper way to set up Swagger UI to use provided spec.yml?
-
With this property, all the
springdoc-openapi
auto-configuration beans are disabled:
springdoc.api-docs.enabled=false
-
Then enable the minimal Beans configuration, by adding this Bean:
@Bean
SpringDocConfiguration springDocConfiguration(){
return new SpringDocConfiguration();
}
@Bean
SpringDocConfigProperties springDocConfigProperties() {
return new SpringDocConfigProperties();
}
@Bean
ObjectMapperProvider objectMapperProvider(SpringDocConfigProperties springDocConfigProperties){
return new ObjectMapperProvider(springDocConfigProperties);
}
@Bean
SpringDocUIConfiguration SpringDocUIConfiguration(Optional<SwaggerUiConfigProperties> optionalSwaggerUiConfigProperties){
return new SpringDocUIConfiguration(optionalSwaggerUiConfigProperties);
}
-
Then configure, the path of your custom UI yaml file.
springdoc.swagger-ui.url=/api-docs.yaml
Is there a way to send authorization header through the @Parameter tag?
-
The OpenAPI 3 specification does not allow explicitly adding Authorization header.
Note: Header parameters named Accept, Content-Type and Authorization are not allowed. To describe these headers
-
For more information, you can read:
My Rest Controller using @Controller annotation is ignored?
-
This is the default behaviour if your
@Controller
doesn’t have annotation@ResponseBody
-
You can change your controllers to
@RestControllers
. Or add@ResponseBody
+@Controller
. -
If its not possible, you can configure springdoc to scan you additional controller using SpringDocUtils. For example:
static {
SpringDocUtils.getConfig().addRestControllers(HelloController.class);
}
How can I define groups using application.yml?
-
You can load groups dynamically using spring-boot configuration files.
-
Note that, for this usage, you don’t have to declare the GroupedOpenApi Bean.
-
You need to declare the following properties, under the prefix springdoc.group-configs.
-
For example:
springdoc.group-configs[0].group=users springdoc.group-configs[0].paths-to-match=/user/** springdoc.group-configs[0].packages-to-scan=test.org.springdoc.api
-
The list of properties under this prefix, are available here:
How can I extract fields from parameter object?
-
You can use springdoc annotation @ParameterObject.
-
Request parameter annotated with @ParameterObject will help adding each field of the parameter as a separate request parameter.
-
This is compatible with Spring MVC request parameters mapping to POJO object.
-
This annotation does not support nested parameter objects.
-
POJO object must contain getters for fields with mandatory prefix
get
. Otherwise, the swagger documentation will not show the fields of the annotated entity.
How to Integrate Open API 3 with Spring project (not Spring Boot)?
When your application is using spring without (spring-boot), you need to add beans and auto-configuration that are natively provided in spring-boot.
For example, lets assume you want load the swagger-ui in spring-mvc application:
-
You mainly, need to add the springdoc-openapi module
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>last.version</version>
</dependency>
-
If you don’t have the spring-boot and spring-boot-autoconfigure dependencies, you need to add them. And pay attention to the compatibility matrix, between you spring.version and spring-boot.version. For example, in this case (spring.version=5.1.12.RELEASE):
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
<version>2.1.11.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<version>2.1.11.RELEASE</version>
</dependency>
-
Scan for the
springdoc-openapi
'auto-configuration classes that spring-boot automatically loads for you. -
Depending on your module, you can find them on the file:
spring.factories
of eachspringdoc-openapi
module.
@EnableWebMvc
public class AppInitializer implements WebApplicationInitializer {
@Override
public void onStartup(ServletContext servletContext) throws ServletException {
WebApplicationContext context = getContext();
servletContext.addListener(new ContextLoaderListener(context));
ServletRegistration.Dynamic dispatcher = servletContext.addServlet("RestServlet",
new DispatcherServlet(context));
dispatcher.setLoadOnStartup(1);
dispatcher.addMapping("/*");
}
private AnnotationConfigWebApplicationContext getContext() {
AnnotationConfigWebApplicationContext context = new AnnotationConfigWebApplicationContext();
context.scan("rest");
context.register(this.getClass(), org.springdoc.webmvc.ui.SwaggerConfig.class,
org.springdoc.core.SwaggerUiConfigProperties.class, org.springdoc.core.SwaggerUiOAuthProperties.class,
org.springdoc.webmvc.core.SpringDocWebMvcConfiguration.class,
org.springdoc.webmvc.core.MultipleOpenApiSupportConfiguration.class,
org.springdoc.core.SpringDocConfiguration.class, org.springdoc.core.SpringDocConfigProperties.class,
org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration.class);
return context;
}
}
-
Depending on your module, you can find them on the file:
spring.factories
of eachspringdoc-openapi
module. -
For groups usage make sure your
GroupedOpenApi
Beans are scanned. -
If additionally, you are using custom
context path
:/my-servlet-path
. Make sure you declare the following property:
spring.mvc.servlet.path=/my-servlet-path
How can I use the last springdoc-openapi
SNAPSHOT ?
-
For testing purposes only, you can test temporarily using the last
springdoc-openapi
SNAPSHOT -
To achieve that, you can on your pom.xml or your settings.xml the following section:
<repositories>
<repository>
<id>snapshots-repo</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
How can I use enable springdoc-openapi
MonetaryAmount support?
-
If an application wants to enable the
springdoc-openapi
support, it declares:
SpringDocUtils.getConfig().replaceWithClass(MonetaryAmount.class, org.springdoc.core.converters.models.MonetaryAmount.class);
-
Another solution, without using springdoc-openapi MonetaryAmount, would be:
SpringDocUtils.getConfig().replaceWithSchema(MonetaryAmount.class, new ObjectSchema()
.addProperties("amount", new NumberSchema()).example(99.96)
.addProperties("currency", new StringSchema().example("USD")));
How can i aggregate external endpoints (exposing OPENAPI 3 spec) inside one single application?
The properties springdoc.swagger-ui.urls.*
, are suitable to configure external (/v3/api-docs url).
For example, if you want to aggregate all the endpoints of other services, inside one single application.
IMPORTANT: Don’t forget that CORS needs to be enabled as well.
How can use custom json/yml file instead of generated one?
If your file open-api.json, contains the OpenAPI documentation in OpenAPI 3 format. Then simply declare: The file name can be anything you want, from the moment your declaration is consistent yaml or json OpenAPI Spec.
springdoc.swagger-ui.url=/open-api.json
Then the file open-api.json, should be located in: src/main/resources/static No additional configuration is needed.
How can i enable CSRF support?
If you are using standard headers. (For example, using spring-security headers) If the CSRF Token is required, swagger-ui automatically sends the new XSRF-TOKEN during each HTTP REQUEST.
If your XSRF-TOKEN isn’t standards-based, you can use a requestInterceptor to manually capture and attach the latest xsrf token to requests programmatically via spring resource transformer:
Starting from release v1.4.4 of springdoc-openapi, a new property is added to enable CSRF support, while using standard header names:
springdoc.swagger-ui.csrf.enabled=true
How can i disable the default swagger petstore URL?
You can use the following property:
springdoc.swagger-ui.disable-swagger-default-url=true
Is @PageableDefault supported, to enhance the OpenAPI 3 documentation?
Yes, you can use it in conjunction with @ParameterObject
annotation.
Also, the spring-boot spring.data.web.
and spring.data.rest.default.
properties are supported since v1.4.5
How can I make spring security login-endpoint visible?
You can use the following property:
springdoc.show-login-endpoint=true
How can I show schema definitions even if the schema is not referenced?
You can use the following property:
springdoc.remove-broken-reference-definitions=false
How to override @Deprecated?
The whole idea of springdoc-openapi
is to get your documentation the closest to the code, with minimal code changes.
If the code contains @Deprecated
, sprindoc-openapi
will consider its schema as Deprecated as well.
If you want to declare a field on swagger as non deprecated, even with the java code, the field contains @Depreacted
,
You can use the following property that is available since release v1.4.3:
springdoc.model-converters.deprecating-converter.enabled=false
How can i display a method that returns ModelAndView?
You can use the following property:
springdoc.model-and-view-allowed=true
How can i have pretty-printed output of the OpenApi specification?
You can use the following property:
springdoc.writer-with-default-pretty-printer=true
How can i define different schemas for the same class?
Complex objects are always resolved as a reference to a schema defined in components.
For example, let’s consider a Instance
class with an workAddress
and homeAddress
attribute of type Address
:
public class PersonDTO {
@JsonProperty
private String email;
@JsonProperty
private String firstName;
@JsonProperty
private String lastName;
@Schema(ref = "WorkAddressSchema")
@JsonProperty
private Address workAddress;
@Schema(ref = "HomeAddressSchema")
@JsonProperty
private Address homeAddress;
}
public class Address {
@JsonProperty
private String addressName;
}
If you want to define two different schemas for this class, you can set up 2 different schemas as follow:
@Bean
public OpenAPI customOpenAPI() {
return new OpenAPI().components(new Components()
.addSchemas("WorkAddressSchema", getSchemaWithDifferentDescription(Address.class, "work Address"))
.addSchemas("HomeAddressSchema", getSchemaWithDifferentDescription(Address.class, "home Address")));
}
private Schema getSchemaWithDifferentDescription(Class className, String description) {
ResolvedSchema resolvedSchema = ModelConverters.getInstance()
.resolveAsResolvedSchema(
new AnnotatedType(className).resolveAsRef(false));
return resolvedSchema.schema.description(description);
}
How can i define different description for a class attribute depending on usage?
For example, let’s consider a Instance
class with an email
attribute:
public class PersonDTO {
@JsonProperty
private String email;
@JsonProperty
private String firstName;
@JsonProperty
private String lastName;
}
If you want to define two different description for the email
, you can set up 2 different schemas as follow:
@Bean
public OpenAPI customOpenAPI() {
return new OpenAPI().components(new Components()
.addSchemas("PersonDTO1", getFieldSchemaWithDifferentDescription(PersonDTO.class, "work email"))
.addSchemas("PersonDTO2", getFieldSchemaWithDifferentDescription(PersonDTO.class, "home email")));
}
private Schema getFieldSchemaWithDifferentDescription(Class className, String description) {
ResolvedSchema resolvedSchema = ModelConverters.getInstance()
.resolveAsResolvedSchema(
new AnnotatedType(className).resolveAsRef(false));
return resolvedSchema.schema.addProperties("email", new StringSchema().description(description));
}
Customizing swagger static resources
You can customize swagger documentation static resources located in META-INF/resources/webjars/swagger-ui/{swagger.version}/
. The list of resources includes:
-
index.html
-
swagger-ui-bundle.js
-
swagger-ui.css
-
swagger-ui-standalone-preset.js
-
swagger-ui.css.map
-
swagger-ui-bundle.js.map
-
swagger-ui-standalone-preset.js.map
-
favicon-32x32.png
To do this, you need to extend the implementation of SwaggerIndexPageTransformer
public class SwaggerCodeBlockTransformer
extends SwaggerIndexPageTransformer {
// < constructor >
@Override
public Resource transform(HttpServletRequest request,
Resource resource,
ResourceTransformerChain transformer)
throws IOException {
if (resource.toString().contains("swagger-ui.css")) {
final InputStream is = resource.getInputStream();
final InputStreamReader isr = new InputStreamReader(is);
try (BufferedReader br = new BufferedReader(isr)) {
final String css = br.lines().collect(Collectors.joining());
final byte[] transformedContent = css.replace("old", "new").getBytes();
return new TransformedResource(resource, transformedContent);
} // AutoCloseable br > isr > is
}
return super.transform(request, resource, transformer);
}
}
Next, add transformer @Bean
to your @Configuration
@Configuration
public class OpenApiConfig {
@Bean
public SwaggerIndexTransformer swaggerIndexTransformer(
SwaggerUiConfigProperties a,
SwaggerUiOAuthProperties b,
SwaggerUiConfigParameters c,
SwaggerWelcomeCommon d) {
return new SwaggerCodeBlockTransformer(a, b, c, d);
}
}
Illustrative example
What is the compatibility matrix of springdoc-openapi
with spring-boot
?
springdoc-openapi
is compatible with spring-boot 1
and spring-boot 2
.
In general, you should only pick the last stable version as per today 1.7.0.
More precisely, this the exhaustive list of spring-boot versions against which springdoc-openapi
has been built:
| spring-boot Versions | Minimum springdoc-openapi Versions |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Why am i getting an error: Swagger UI unable to render definition
, when overriding the default spring registered HttpMessageConverter
?
When overriding the default spring-boot registered HttpMessageConverter
, you should have ByteArrayHttpMessageConverter
registered as well to have proper springdoc-openapi
support.
converters.add(new ByteArrayHttpMessageConverter());
converters.add(new MappingJackson2HttpMessageConverter(jacksonBuilder.build()));
Order is very important, when registering HttpMessageConverters .
|


Material Design spec advises that touch targets should be at least 48x48px. While the FAB is 48x48px by default, the mini FAB is 40x40px. To meet this requirement, add the `touch` property.
Note that the outer mdc-touch-target-wrapper element is only necessary if you want to avoid potentially overlapping touch targets on adjacent elements (due to collapsing margins).


| I studied studio art at the New York
Student Art League and the Boston Museum School. I earned my degree in
Computer Science and Visual Studies from the Massachusetts
Institute of Technology in the 1983. After graduating, I continued
at MIT as a technical instructor and developed an early color
pre-press design system for the Visible Language Workshop, now part of
the MIT Media Lab. Following
this I was a project lead at Lucas Films on the EditDriod project, an
early nonlinear editing system.
I
have created art using 3D graphics, video disc, and real-time video
processing. Some of my interactive art installations have been
exhibited internationally.
My interest in both art and technology lead me to Macromedia
(formerly MacroMind). From 1987, at Macromedia I developed a number of
products, including: The VideoWorks Accelerator, VideoWorks II,
MediaMaker, Action, and Macromedia Director. I created for a number of
core technologies including the Lingo Scripting engine. Until I left
the company in 2001, I held the position of Chief Scientist, the
highest engineering position at Macromedia. |


I am a senior Computer Engineering student at the University of Bridgeport. In my studies, I got the chance to do more hands on electrical and engineering work, but outside of school I enjoy programming as well as working out, jetskiing, playing sports and video games. I'm comfortable working with Java, Node.js, and HTML/CSS/vanilla Javascript. I'm also always looking for more to learn, so lets get to it!
Name:
Yazan Lpizra
Age:
21
Residence:
New Haven County, Connecticut, USA
University of Bridgeport
Bachelor's in Computer Engineering
GPA: 3.5 /4.0
126 Park Ave,
Bridgeport, CT, 06604
Expected Graduation: May 2016
Arccos Golf
QA Analyst Intern
700 Canal Street, Stamford, CT, 06902
From: May 2015 to August 2015
University of Bridgeport
Teacher's Assistant for CS101: Introduction to Java Programming and CS102: Introduction to Data Structures
126 Park Ave,
Bridgeport, CT, 06604
From: August 2014 to May 2015
United Services Automobile Association (USAA)
Summer IT Intern
9800 Fredericksburg Road
San Antonio, TX 78288
From: June 2014 to August 2014
Different languages, frameworks, and concepts I can apply and use.
Tools I'm comfortable with using.
Some of the more recent projects I've been working on.


public abstract class TaskContext
extends Object
implements java.io.Serializable
org.apache.spark.TaskContext.get()
| Constructor and Description |
|---|
TaskContext() |
| Modifier and Type | Method and Description |
|---|---|
TaskContext |
addTaskCompletionListener(scala.Function1<TaskContext,scala.runtime.BoxedUnit> f)
Adds a listener in the form of a Scala closure to be executed on task completion.
|
abstract TaskContext |
addTaskCompletionListener(TaskCompletionListener listener)
Adds a (Java friendly) listener to be executed on task completion.
|
TaskContext |
addTaskFailureListener(scala.Function2<TaskContext,Throwable,scala.runtime.BoxedUnit> f)
Adds a listener to be executed on task failure.
|
abstract TaskContext |
addTaskFailureListener(TaskFailureListener listener)
Adds a listener to be executed on task failure.
|
abstract int |
attemptNumber()
How many times this task has been attempted.
|
static TaskContext |
get()
Return the currently active TaskContext.
|
abstract String |
getLocalProperty(String key)
Get a local property set upstream in the driver, or null if it is missing.
|
abstract scala.collection.Seq<org.apache.spark.metrics.source.Source> |
getMetricsSources(String sourceName)
::DeveloperApi::
Returns all metrics sources with the given name which are associated with the instance
which runs the task.
|
static int |
getPartitionId()
Returns the partition id of currently active TaskContext.
|
abstract boolean |
isCompleted()
Returns true if the task has completed.
|
abstract boolean |
isInterrupted()
Returns true if the task has been killed.
|
abstract boolean |
isRunningLocally()
Deprecated.
Local execution was removed, so this always returns false. Since 2.0.0.
|
abstract int |
partitionId()
The ID of the RDD partition that is computed by this task.
|
abstract int |
stageAttemptNumber()
How many times the stage that this task belongs to has been attempted.
|
abstract int |
stageId()
The ID of the stage that this task belong to.
|
abstract long |
taskAttemptId()
An ID that is unique to this task attempt (within the same SparkContext, no two task attempts
will share the same attempt ID).
|
abstract org.apache.spark.executor.TaskMetrics |
taskMetrics() |
public static TaskContext get()
public static int getPartitionId()
public abstract boolean isCompleted()
public abstract boolean isInterrupted()
public abstract boolean isRunningLocally()
public abstract TaskContext addTaskCompletionListener(TaskCompletionListener listener)
An example use is for HadoopRDD to register a callback to close the input stream.
Exceptions thrown by the listener will result in failure of the task.
listener
- (undocumented)public TaskContext addTaskCompletionListener(scala.Function1<TaskContext,scala.runtime.BoxedUnit> f)
An example use is for HadoopRDD to register a callback to close the input stream.
Exceptions thrown by the listener will result in failure of the task.
f
- (undocumented)public abstract TaskContext addTaskFailureListener(TaskFailureListener listener)
listener
- (undocumented)public TaskContext addTaskFailureListener(scala.Function2<TaskContext,Throwable,scala.runtime.BoxedUnit> f)
f
- (undocumented)public abstract int stageId()
public abstract int stageAttemptNumber()
public abstract int partitionId()
public abstract int attemptNumber()
public abstract long taskAttemptId()
public abstract String getLocalProperty(String key)
org.apache.spark.SparkContext.setLocalProperty
.key
- (undocumented)public abstract org.apache.spark.executor.TaskMetrics taskMetrics()
public abstract scala.collection.Seq<org.apache.spark.metrics.source.Source> getMetricsSources(String sourceName)
org.apache.spark.metrics.MetricsSystem
.sourceName
- (undocumented)


Create a WAV file given information about it
the raw PCM waveform to be encapsulated by this file
the number of channels in the audio data
the sample rate of the audio data
the audio format of the audio data
the frame width (bits per sample) of the audio data
The raw PCM audio data
The audio format (most of time it is 1, indicating PCM data)
Width of each frame in bites
The number of channels in the audio data
The sample rate (frames per second, not bytes per second)
Appends the given audio data to the currently stored audio data.
the audio data to append
Returns a fully-formated WAV file from the audio data and metadata encapsulated in this object. It includes the 44-byte RIFF header followed by the raw PCM audio.
Decodes the given buffer into a WAV file. The buffer should be an entire WAV file, including the header and raw audio data.
the WAV data to decode
Reads the WAV file from the stream and decodes it into a WAV object. The stream should return an entire WAV file, including the RIFF header and the raw audio data.
the stream to read the WAV file from
Generated using TypeDoc
WAV implements low-level manipulation of raw PCM data. It decodes and encodes WAV files and makes sure that header data stays consistent across data manipulations. It is implemented according to the WAV specification.
0.1.0
Nikhil Kansal


Bot test online
Welcome
Select a Network from the left to see more details, edit and launch information, trainning data, test data, see results and reports.
{{ cbot.name }}
{{ cbot.desc }}
Train cases
{{ cbot.train | json }}
Test cases
{{ cbot.test | json }}


Seems your browser doesn't support Javascript! Websocket relies on Javascript being enabled. Please enable Javascript and reload this page!
Scoring activity


Zoom.us user
Please selcect one of the following:
User Persona
User Story
Interaction Flow and Use Case
ERD Diagram


find your bike
Enter a location:
Enter a color:
black
blue
brown
green
orange
pink
purple
red
teal
white
yellow or gold
Enter a manufacturer:
how many results?
10
15
20
Let's find your bike


"You know, the only one that cares about my tax returns are the reporters, OK? They're the only ones," President Trump said.
"You don't think the American public is concerned about it?" the reporter followed up.
"No, I don't think so. I won. And became president," Trump said. "No, I don't think they care at all. I don't think they care at all. I think you care."
We care about his finances. Let's do more than just say so on social media.
If you want to support Senator Warren's request to audit President Trump's finances for conflicts of interest, the most effective way to ensure your support will be counted is to email two administrators at the U.S. Government Accountability Office, Katherine Siggerud<EMAIL_ADDRESS>and Timothy Minnelli (minellit@gao.gov). There is a third email address through which they're tracking people who are urging support for the audit<EMAIL_ADDRESS>You can also send a single email addressed to all three.
A suggested email is below
Subject: Audit of President Trump's Financial Concerns Dear Ms. Siggerud and Mr. Minnelli, I’m writing in support of Senator Elizabeth Warren's request for an audit of President Trump's finances, to prohibit conflicts of interest that would prevent him from carrying out the responsibilities of the office without corrupt influence. Sincerely,
Or you can click this link to automatically draft the above email for you in your default email client (or click here for Outlook).


Date of Birth: 01/09/1993
Nationality: Irish
Languages: English: Native or bilingual proficiency, Russian: Native or bilingual proficiency, French: Elementary proficiency
Soccer
NFL
Movies
Music
Web Application Security
Mobile Technolgy
*All Moduels and Results are TBA*
Information Management: TBA
Interactive Media Design: TBA
Cloud Architecture: TBA
Social Media Design: TBA
Enterprise Application Architecture: TBA
4th Year Project: TBA
GPA: TBA
Networking 3: B
Advanced Databases: C+
Web Design & Development 2: B
Operating Systems: B-
Innovation & Entrepreneurshp: B
Cloud servs and distrib comp: C
Experiential Learning: PS
Project: B
GPA: 2.78
Software Development 3: C
Software Qual Ass & Testing: B+
Networking 1: B
Database Design & Programmin: C
Discrete Mathematics 2: A
Web Design and Development: B-
Software Development 4: B-
Project: B-
Networking 2: A
Management Science: B+
Oriented Analy & Desi: C
Information Security: C+
GPA: 2.90
Operating Syst Fundamentals: C+
Database Fundamentals: B
Statistics: A
Social Media Communications: A
Object Oriented System Analy: B
Software Development 2: B-
Learning to Learn at 3rd Lvl: B+
Discrete Mathematics 1: B+
Business & Information Sys: B
Fundament of Interface & Web: B+
Computer Architecture: B
Software Development: 1: B
GPA: 3.23
Results
English OL: B3
Mathematics OL: B3
History HL: D1
Geography HL: C2
French OL: C3
Construction Studies HL: C2
Russian HL: B1


Below you will find my more recent project.
This project is currently suspended as I discovered that my skills and knowledge is not up to the level I would like to get this to a level I am happy with. I am currently working on getting those skills developed to come back to this project. I have called it Darknight. It uses Box2D for the in-world physics, as well as Fmod for the sound and SDL for rendering. Around every sprite is a box that handles the collision between the objects. This is in the world of Box2D, which also controls the gravity and the movement of the sprites. The player sprite moves by using ApplyLinearImpulse(). The enemies (the guys in red) have no AI and the collision between the player and the enemies do not register an event. Currently, there is no player sprite moving right for an attack, movement and jumping. The attack animation currently spawns a box2d body as a sensor right in front of the player. This then collides with everything around it but only registers if the box happens to collide with enemies.
Before I began the project I had never used the box2D framework before. so there was a large learning curve to get this to work when I started with drawing sprite in the game the sprites would draw at their pixel coordinates there (x,y) on the screen. as box2D used meters in the world we had to convert from pixels to meters. I developed this code below to convert my box2d code to work with pixel coordinates. this code takes the positions of the b2vec2 (x,y) it then uses those coordinates to get the other coordinates for the sides of the box and multiplies them by 30 (PTM) to get the location of the Body in the pixel coordinates.
Another feature that I wanted to employ was only being able to jump when touching certain items. For example, you cannot jump off the enemies as you should be taking damage from them. later in the game, I would like to apply double height jumps from some platforms to allow you to get to the next. below you will see my first attempt at deploying this. at first, I made a sensor that fixed to the bottom of the players Box2d Box that would count how many things it was touching and if that was greater than 2 you could jump. so, if you were touching a platform it allowed you to jump. this worked well as I was able to jump when touching the platform and not when I was in the jump animation. this also came with an unexpected benefit. with this code, I was able to move quite freely across the platform and even though there where mini jumps that were happening when the player moved (this happens because of friction) as the sensor was still touching the platform I could still jump.
When using this code, it worked well until I realised that I could jump off the enemies as they would count as a fixture that the sensor this would also not allow me to reuse the code for future use or allow me to use the code to check if the object I was standing on could be a different fixture. I modified the code to use entity’s as the platforms the characters and the enemies are all entity’s this allows me to use the code for checking the platform for special platforms it will also be useful for future projects.


Fraser Forster's Celtic future up in the air as Neil Lennon weighs up permanent deal
The goalkeeper is on loan from Southampton and played a starring role in yesterday's Betfred Cup win.
by Gabriel McKayCeltic manager Neil Lennon has admitted he has no idea if Fraser Forster will be with the club beyond the end of this season.
The goalkeeper re-joined the Hoops in the summer, signing a season-long deal as he returned from Southampton.
After a man-of-the-match display against Rangers in the Betfred Cup Final fans are desperate for a permanent deal, but it seems things are a long way from being decided.
Lennon said: "He's one of the best goalkeepers around.
"But he's not our player and then there's affordability. We need to sit down with him and see what he wants to do. His performance came as no surprise to me because I've seen him do it many times before.
"You can see how happy he is to be here and I think he's gone on record saying he loves it here so we'll see."
Lennon had never previously won the League Cup as a manager, losing to Rangers in 2011 and Kilmarnock the following year.
"Psychologically, it's a massive win for us, massive," he said.
 It's been annoying me and eating away at me for a while. I've got all the trophies now as a manager and as a player. It was a very proud moment."


Spring Boot file upload example
Spring Boot File Upload with jQuery Ajax
Description:
File to upload (1):
File to upload (2):
File to upload (3):
File to upload (4):
File to upload (5):
上传进度：
0 bytes
Upload Results:


| Ivy Park Venue |
this is a nice place to go out for lunch. It has a beautiful view and good food.Located at one of the quieter places, just outside of the city, it makes it an ideal place for a party. |
| HKG Caterers |
this is a nice place to go out for lunch. It has a beautiful view and good food.Located at one of the quieter places, just outside of the city, it makes it an ideal place for a party. |
| HKG Caterers |
this is a nice place to go out for lunch. It has a beautiful view and good food.Located at one of the quieter places, just outside of the city, it makes it an ideal place for a party. |


iPhone 6 Plus
You don't need to be confused or try to remember all these seemingly random numbers. Just come back here, and we'll have all the numbers you need at your finger tips.
In order for your app to use native resolution on the iPhone 6, you'll need to include a 750 x 1334 resolution launch image in your app images.
The iOS 8 Simulator that comes with Xcode 6 is ready to test apps in this resolution. You can tell if you're running native by looking for a 1px black bar.
Everyone is talking adaptive layout design. We believe you can still love every pixel. Hopefully these numbers help you as you mock up you app.


{% include 'taxbrain/includes/params/inputs/param.html' with param=params.btax_other_hair %}
{% include 'taxbrain/includes/params/inputs/param.html' with param=params.btax_other_corpeq %}
{% include 'taxbrain/includes/params/inputs/param.html' with param=params.btax_other_proptx%}
{% include 'taxbrain/includes/params/inputs/param.html' with param=params.btax_other_invest%}
{% endblock %}
{% block next_section_shortname %}macro-econ{% endblock %}


class Solution: def maxAverageRatio(self, classes: List[List[int]], extraStudents: int) -> float: minHeap = [] for a, b in classes: heapq.heappush(minHeap, (-(b - a) / (b * (b + 1)), a, b)) for _ in range(extraStudents): x, a, b = heapq.heappop(minHeap) a += 1 b += 1 heapq.heappush(minHeap, (-(b - a) / (b * (b + 1)), a, b)) return sum([a / b for _, a, b in minHeap]) / len(minHeap)


|
| Value |
Description |
Notes |
|
| 00 |
Unknown / unspecified |
Position unknown or unspecified |
| 01 |
Cover 4 |
The back cover of a book |
| 02 |
Cover 3 |
The inside back cover of a book |
| 03 |
Cover 2 |
The inside front cover of a book |
| 04 |
Cover 1 |
The front cover of a book |
| 05 |
On spine |
The spine of a book |
| 06 |
On box |
Used only for boxed products |
| 07 |
On tag |
Used only for products fitted with hanging tags |
| 08 |
On bottom |
Not be used for books unless they are contained within outer packaging |
| 09 |
On back |
Not be used for books unless they are contained within outer packaging |
| 10 |
On outer sleeve / back |
Used only for products packaged in outer sleeves |
| 11 |
On removable wrapping |
Used only for products packaged in shrink-wrap or other removable wrapping |
|


{# display full article title; expects Article object as `article` #} {% with article.descMetadata.content.title_info as t %}


WITNESS LIST Elections Committee (Subcommittee on Voting Registration) March 17, 1997-2:00P HB 1253 On: Ann McGeehan (Secy of State) HB 1645 On: Ann McGeehan (Secy of State) Jesse Romero (MALDEF) HB 1852 For: John Willingham (EA Williamson Cty) On: Ann McGeehan (Secy of State) Barbara Brinkmeyer (Cty Tax Assess-coll) Melinda Nickless (Secy of State)


Hall of Records
records
about
This is the fitness gram pacer test. You will hear a number of bees.
by calvin smith
↪
This is the fitness gram pacer test. You will hear a number of bees.
by calvin smith
↪
This is the fitness gram pacer test. You will hear a number of bees.
by calvin smith
↪


Register
First Name:
Last Name:
Male:
Female:
Other:
Email:
Password:
Birthday:
month
jan
feb
mar
apr
may
jun
jul
aug
sep
oct
nov
dec
day
1
2
3
4
5
6
7
8
9
10
11
12
year
1999
2000
2001
I agree to the terms and conditions


DMO set to auction N150 billion in FGN Bonds to investors
by Titobioluwa OkunadeThe Federal government (FG) on Wednesday, 20, November 2019, through the Debt Management Office (DMO), would offer fresh Federal Government Bonds (FGN Bonds) valued at N150 billion for subscription.
According to the offer circular released to the public, the DMO disclosed that the bonds to be offered would include a 5-year N50 billion FGN APR 2023 bond at 12.75%, a 10-year N50 billion FGN APR 2029 bond at 14.55% and a 30-year N50 billion FGN APR 2049 bond at 14.80%. The settlement date for the subscription is scheduled for Friday, November 22, 2019.
The DMO disclosed that the FGN bonds, which qualify as securities, which trustees can invest under the Trustee Investment Act, also qualify as liquid assets for liquidity ratio calculation for banks. The bonds are to be listed on the Nigerian Stock Exchange and FMDQ OTC Securities Exchange.
Investments in FGN Bonds as stated in the circular by DMO qualify for tax exemption to pension funds and other investors.
“Government securities within the meaning of Company Income Tax Act (“CITA”) and Personal Income Tax Act (“PITA”) for Tax Exemption for Pension Funds, amongst other investors,” DMO offer Circular stated.
The bonds are to be offered at N1,000 per unit, subject to a minimum subscription of N50,001,000, and in multiples of N1,000, thereafter. The bonds’ interests are to be semi-annually, and bullet repayments made on the maturity date. The DMO reserves the right to alter the amount allotted in response to market conditions
Interested in buying? The DMO advised interested investors to contact the following stockbroking firms which are its appointed distribution agents.
(READ MORE: FGN Bonds record first undersubscription in 2 years)
- Access Bank Plc;
- First Bank of Nigeria Limited;
- Standard Chartered Bank Nigeria Limited;
- Citi Bank Nigeria Limited;
- First City Monument Bank Plc;
- United Bank for Africa Plc;
- Coronation Merchant Bank Limited;
- FSDH Merchant Bank Limited;
- Zenith Bank Plc;
- Ecobank Nigeria Limited;
- Guaranty Trust Bank Plc;
- FBNQuest Merchant Bank Limited; and
- Stanbic IBTC Bank Plc.
However, the DMO will also make allotments on a non-competitive basis for the additional sum of N25 Billion 12.75% FGN APR 2023, N20 Billion 14.55% FGN APR 2029 and N5 Billion 14.80% FGN APR 2049.
Understanding Bonds: A bond is a fixed income instrument that represents a loan made by an investor to a borrower (typically corporate or governmental). A bond could be thought of as an I.O.U. between the lender and the borrower that includes the details of the loan and its payments. A bond has an end date when the principal of the loan is due to be paid to the bond owner and usually includes the terms for variable or fixed interest payments that will be made by the borrower.


PROVISIONS ARE SELF-EXECUTING
Section 16. The provisions of this constitution shall be self-executing to the fullest extent that their respective natures permit. [Ren Const Con 1968 and election Nov5, 1968; ren and am Const Con 1978 and election Nov7, 1978]
Law Journals and Reviews
Ala Loop and the Private Right of Action Under Hawaii Constitution Article XI, Section 9: Charting a Path Toward a Cohesive Enforcement Scheme. 33 UH L. Rev. 367 (2010).
A Self-Executing Article XI, Section 9--The Door For a Bivens Action for Environmental Rights? 34 UH L. Rev. 187 (2012).
Case Notes
This provision does not constitute waiver of sovereign immunity for money damages for constitutional deprivations. 61 H. 369, 604 P.2d 1198.
Test for determining whether a constitutional provision is self-executing. 63 H. 412, 629 P.2d 1111.


ÁVision Build Log
Project:
C:\Keil\Labware\Lab14_MeasurementOfDistance\Lab14.uvproj Project File Date: 02/09/2020Output:
Rebuild target 'Lab14' assembling startup.s... compiling MeasurementOfDistance.c... compiling Nokia5110.c... compiling ADC.c... linking... Program Size: Code=7204 RO-data=7568 RW-data=124 ZI-data=1764 ".\Lab14.axf" - 0 Error(s), 0 Warning(s). Load "C:\\Keil\\Labware\\Lab14_MeasurementOfDistance\\Lab14.axf" Connecting: Mode=JTAG, Speed=1000000Hz Erase Done. Programming Done. Verify OK. ash Download failed - Target DLL has been cancelled


- K1Div2Luminance - Static variable in class javax.imageio.plugins.jpeg.JPEGQTable
-
The sample luminance quantization table given in the JPEG
specification, table K.1, with all elements divided by 2.
- K1Luminance - Static variable in class javax.imageio.plugins.jpeg.JPEGQTable
-
The sample luminance quantization table given in the JPEG
specification, table K.1.
- K2Chrominance - Static variable in class javax.imageio.plugins.jpeg.JPEGQTable
-
The sample chrominance quantization table given in the JPEG
specification, table K.2.
- K2Div2Chrominance - Static variable in class javax.imageio.plugins.jpeg.JPEGQTable
-
The sample chrominance quantization table given in the JPEG
specification, table K.1, with all elements divided by 2.
- KAITHI - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Kaithi" Unicode character block.
- KAKU_0 - Static variable in class javax.print.attribute.standard.MediaSize.JIS
-
Specifies the JIS Kaku ("square") #0 envelope size, 287 mm by 382 mm.
- KAKU_1 - Static variable in class javax.print.attribute.standard.MediaSize.JIS
-
Specifies the JIS Kaku ("square") #1 envelope size, 270 mm by 382 mm.
- KAKU_2 - Static variable in class javax.print.attribute.standard.MediaSize.JIS
-
Specifies the JIS Kaku ("square") #2 envelope size, 240 mm by 332 mm.
- KAKU_20 - Static variable in class javax.print.attribute.standard.MediaSize.JIS
-
Specifies the JIS Kaku ("square") #20 envelope size, 229 mm by 324 mm.
- KAKU_3 - Static variable in class javax.print.attribute.standard.MediaSize.JIS
-
Specifies the JIS Kaku ("square") #3 envelope size, 216 mm by 277 mm.
- KAKU_4 - Static variable in class javax.print.attribute.standard.MediaSize.JIS
-
Specifies the JIS Kaku ("square") #4 envelope size, 197 mm by 267 mm.
- KAKU_5 - Static variable in class javax.print.attribute.standard.MediaSize.JIS
-
Specifies the JIS Kaku ("square") #5 envelope size, 190 mm by 240 mm.
- KAKU_6 - Static variable in class javax.print.attribute.standard.MediaSize.JIS
-
Specifies the JIS Kaku ("square") #6 envelope size, 162 mm by 229 mm.
- KAKU_7 - Static variable in class javax.print.attribute.standard.MediaSize.JIS
-
Specifies the JIS Kaku ("square") #7 envelope size, 142 mm by 205 mm.
- KAKU_8 - Static variable in class javax.print.attribute.standard.MediaSize.JIS
-
Specifies the JIS Kaku ("square") #8 envelope size, 119 mm by 197 mm.
- KAKU_A4 - Static variable in class javax.print.attribute.standard.MediaSize.JIS
-
Specifies the JIS Kaku ("square") A4 envelope size, 228 mm by 312 mm.
- KANA_SUPPLEMENT - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Kana Supplement" Unicode character block.
- KANBUN - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Kanbun" Unicode character block.
- KANGXI_RADICALS - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Kangxi Radicals" Unicode character block.
- KANJI - Static variable in class java.awt.im.InputSubset
-
Constant for all Han characters used in writing Japanese, including a
subset of the CJK unified ideographs as well as Japanese Han characters
that may be defined as surrogate characters.
- KANNADA - Static variable in class java.awt.font.NumericShaper
-
Identifies the KANNADA range and decimal base.
- KANNADA - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Kannada" Unicode character block.
- KATAKANA - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Katakana" Unicode character block.
- KATAKANA_PHONETIC_EXTENSIONS - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Katakana Phonetic Extensions" Unicode character
block.
- KAYAH_LI - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Kayah Li" Unicode character block.
- KBD - Static variable in class javax.swing.text.html.HTML.Tag
-
- KEEP - Static variable in interface java.util.jar.Pack200.Packer
-
The string "keep", a possible value for certain properties.
- KEEP - Static variable in interface java.util.jar.Pack200.Unpacker
-
The string "keep", a possible value for certain properties.
- KEEP_CURRENT_RESULT - Static variable in interface java.sql.Statement
-
The constant indicating that the current ResultSet
object
should not be closed when calling getMoreResults
.
- KEEP_FILE_ORDER - Static variable in interface java.util.jar.Pack200.Packer
-
If this property is set to
Pack200.Packer.TRUE
, the packer will transmit
all elements in their original order within the source archive.
- KerberosKey - Class in javax.security.auth.kerberos
-
This class encapsulates a long term secret key for a Kerberos
principal.
- KerberosKey(KerberosPrincipal, byte[], int, int) - Constructor for class javax.security.auth.kerberos.KerberosKey
-
Constructs a KerberosKey from the given bytes when the key type and
key version number are known.
- KerberosKey(KerberosPrincipal, char[], String) - Constructor for class javax.security.auth.kerberos.KerberosKey
-
Constructs a KerberosKey from a principal's password.
- KerberosPrincipal - Class in javax.security.auth.kerberos
-
This class encapsulates a Kerberos principal.
- KerberosPrincipal(String) - Constructor for class javax.security.auth.kerberos.KerberosPrincipal
-
Constructs a KerberosPrincipal from the provided string input.
- KerberosPrincipal(String, int) - Constructor for class javax.security.auth.kerberos.KerberosPrincipal
-
Constructs a KerberosPrincipal from the provided string and
name type input.
- KerberosTicket - Class in javax.security.auth.kerberos
-
This class encapsulates a Kerberos ticket and associated
information as viewed from the client's point of view.
- KerberosTicket(byte[], KerberosPrincipal, KerberosPrincipal, byte[], int, boolean[], Date, Date, Date, Date, InetAddress[]) - Constructor for class javax.security.auth.kerberos.KerberosTicket
-
Constructs a KerberosTicket using credentials information that a
client either receives from a KDC or reads from a cache.
- Kernel - Class in java.awt.image
-
The Kernel
class defines a matrix that describes how a
specified pixel and its surrounding pixels affect the value
computed for the pixel's position in the output image of a filtering
operation.
- Kernel(int, int, float[]) - Constructor for class java.awt.image.Kernel
-
Constructs a Kernel
object from an array of floats.
- KERNING - Static variable in class java.awt.font.TextAttribute
-
Attribute key to request kerning.
- KERNING_ON - Static variable in class java.awt.font.TextAttribute
-
Request standard kerning.
- key - Variable in class java.awt.Event
-
The key code of the key that was pressed in a keyboard event.
- Key - Interface in java.security
-
The Key interface is the top-level interface for all keys.
- key - Variable in class javax.accessibility.AccessibleBundle
-
The locale independent name of the state.
- key - Variable in class javax.swing.text.JTextComponent.KeyBinding
-
The key.
- KEY_ACTION - Static variable in class java.awt.Event
-
The user has pressed a non-ASCII action key.
- KEY_ACTION_RELEASE - Static variable in class java.awt.Event
-
The user has released a non-ASCII action key.
- KEY_ALPHA_INTERPOLATION - Static variable in class java.awt.RenderingHints
-
Alpha interpolation hint key.
- KEY_ANTIALIASING - Static variable in class java.awt.RenderingHints
-
Antialiasing hint key.
- KEY_COLOR_RENDERING - Static variable in class java.awt.RenderingHints
-
Color rendering hint key.
- KEY_DITHERING - Static variable in class java.awt.RenderingHints
-
Dithering hint key.
- KEY_EVENT_MASK - Static variable in class java.awt.AWTEvent
-
The event mask for selecting key events.
- KEY_FIRST - Static variable in class java.awt.event.KeyEvent
-
The first number in the range of ids used for key events.
- KEY_FRACTIONALMETRICS - Static variable in class java.awt.RenderingHints
-
Font fractional metrics hint key.
- KEY_INTERPOLATION - Static variable in class java.awt.RenderingHints
-
Interpolation hint key.
- KEY_LAST - Static variable in class java.awt.event.KeyEvent
-
The last number in the range of ids used for key events.
- KEY_LOCATION_LEFT - Static variable in class java.awt.event.KeyEvent
-
A constant indicating that the key pressed or released is in
the left key location (there is more than one possible location
for this key).
- KEY_LOCATION_NUMPAD - Static variable in class java.awt.event.KeyEvent
-
A constant indicating that the key event originated on the
numeric keypad or with a virtual key corresponding to the
numeric keypad.
- KEY_LOCATION_RIGHT - Static variable in class java.awt.event.KeyEvent
-
A constant indicating that the key pressed or released is in
the right key location (there is more than one possible location
for this key).
- KEY_LOCATION_STANDARD - Static variable in class java.awt.event.KeyEvent
-
A constant indicating that the key pressed or released
is not distinguished as the left or right version of a key,
and did not originate on the numeric keypad (or did not
originate with a virtual key corresponding to the numeric
keypad).
- KEY_LOCATION_UNKNOWN - Static variable in class java.awt.event.KeyEvent
-
A constant indicating that the keyLocation is indeterminate
or not relevant.
- KEY_PRESS - Static variable in class java.awt.Event
-
The user has pressed a normal key.
- KEY_PRESSED - Static variable in class java.awt.event.KeyEvent
-
The "key pressed" event.
- KEY_RELEASE - Static variable in class java.awt.Event
-
The user has released a normal key.
- KEY_RELEASED - Static variable in class java.awt.event.KeyEvent
-
The "key released" event.
- KEY_RENDERING - Static variable in class java.awt.RenderingHints
-
Rendering hint key.
- KEY_STROKE_CONTROL - Static variable in class java.awt.RenderingHints
-
Stroke normalization control hint key.
- KEY_TEXT_ANTIALIASING - Static variable in class java.awt.RenderingHints
-
Text antialiasing hint key.
- KEY_TEXT_LCD_CONTRAST - Static variable in class java.awt.RenderingHints
-
LCD text contrast rendering hint key.
- KEY_TYPED - Static variable in class java.awt.event.KeyEvent
-
The "key typed" event.
- KeyAdapter - Class in java.awt.event
-
An abstract adapter class for receiving keyboard events.
- KeyAdapter() - Constructor for class java.awt.event.KeyAdapter
-
- KeyAgreement - Class in javax.crypto
-
This class provides the functionality of a key agreement (or key
exchange) protocol.
- KeyAgreement(KeyAgreementSpi, Provider, String) - Constructor for class javax.crypto.KeyAgreement
-
Creates a KeyAgreement object.
- KeyAgreementSpi - Class in javax.crypto
-
This class defines the Service Provider Interface (SPI)
for the KeyAgreement
class.
- KeyAgreementSpi() - Constructor for class javax.crypto.KeyAgreementSpi
-
- KeyAlreadyExistsException - Exception in javax.management.openmbean
-
This runtime exception is thrown to indicate that the index of a row to be added to a tabular data instance
is already used to refer to another row in this tabular data instance.
- KeyAlreadyExistsException() - Constructor for exception javax.management.openmbean.KeyAlreadyExistsException
-
A KeyAlreadyExistsException with no detail message.
- KeyAlreadyExistsException(String) - Constructor for exception javax.management.openmbean.KeyAlreadyExistsException
-
A KeyAlreadyExistsException with a detail message.
- KEYBOARD_DIVIDER_MOVE_OFFSET - Static variable in class javax.swing.plaf.basic.BasicSplitPaneUI
-
How far (relative) the divider does move when it is moved around by
the cursor keys on the keyboard.
- keyboardDownRightListener - Variable in class javax.swing.plaf.basic.BasicSplitPaneUI
-
Deprecated.
As of Java 2 platform v1.3.
- keyboardEndListener - Variable in class javax.swing.plaf.basic.BasicSplitPaneUI
-
Deprecated.
As of Java 2 platform v1.3.
- KeyboardFocusManager - Class in java.awt
-
The KeyboardFocusManager is responsible for managing the active and focused
Windows, and the current focus owner.
- KeyboardFocusManager() - Constructor for class java.awt.KeyboardFocusManager
-
Initializes a KeyboardFocusManager.
- keyboardHomeListener - Variable in class javax.swing.plaf.basic.BasicSplitPaneUI
-
Deprecated.
As of Java 2 platform v1.3.
- keyboardResizeToggleListener - Variable in class javax.swing.plaf.basic.BasicSplitPaneUI
-
Deprecated.
As of Java 2 platform v1.3.
- keyboardUpLeftListener - Variable in class javax.swing.plaf.basic.BasicSplitPaneUI
-
Deprecated.
As of Java 2 platform v1.3.
- keyDown(Event, int) - Method in class java.awt.Component
-
Deprecated.
As of JDK version 1.1,
replaced by processKeyEvent(KeyEvent).
- keyEqualsCharSet() - Method in exception javax.swing.text.ChangedCharSetException
-
- KeyEvent - Class in java.awt.event
-
An event which indicates that a keystroke occurred in a component.
- KeyEvent(Component, int, long, int, int, char, int) - Constructor for class java.awt.event.KeyEvent
-
Constructs a KeyEvent
object.
- KeyEvent(Component, int, long, int, int, char) - Constructor for class java.awt.event.KeyEvent
-
Constructs a KeyEvent
object.
- KeyEvent(Component, int, long, int, int) - Constructor for class java.awt.event.KeyEvent
-
- KeyEventDispatcher - Interface in java.awt
-
A KeyEventDispatcher cooperates with the current KeyboardFocusManager in the
targeting and dispatching of all KeyEvents.
- KeyEventPostProcessor - Interface in java.awt
-
A KeyEventPostProcessor cooperates with the current KeyboardFocusManager
in the final resolution of all unconsumed KeyEvents.
- KeyException - Exception in java.security
-
This is the basic key exception.
- KeyException() - Constructor for exception java.security.KeyException
-
Constructs a KeyException with no detail message.
- KeyException(String) - Constructor for exception java.security.KeyException
-
Constructs a KeyException with the specified detail message.
- KeyException(String, Throwable) - Constructor for exception java.security.KeyException
-
Creates a KeyException
with the specified
detail message and cause.
- KeyException(Throwable) - Constructor for exception java.security.KeyException
-
Creates a KeyException
with the specified cause
and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- KeyFactory - Class in java.security
-
Key factories are used to convert keys (opaque
cryptographic keys of type Key
) into key specifications
(transparent representations of the underlying key material), and vice
versa.
- KeyFactory(KeyFactorySpi, Provider, String) - Constructor for class java.security.KeyFactory
-
Creates a KeyFactory object.
- KeyFactorySpi - Class in java.security
-
This class defines the Service Provider Interface (SPI)
for the KeyFactory
class.
- KeyFactorySpi() - Constructor for class java.security.KeyFactorySpi
-
- keyFor(Selector) - Method in class java.nio.channels.SelectableChannel
-
Retrieves the key representing the channel's registration with the given
selector.
- keyFor(Selector) - Method in class java.nio.channels.spi.AbstractSelectableChannel
-
- KeyGenerator - Class in javax.crypto
-
This class provides the functionality of a secret (symmetric) key generator.
- KeyGenerator(KeyGeneratorSpi, Provider, String) - Constructor for class javax.crypto.KeyGenerator
-
Creates a KeyGenerator object.
- KeyGeneratorSpi - Class in javax.crypto
-
This class defines the Service Provider Interface (SPI)
for the KeyGenerator
class.
- KeyGeneratorSpi() - Constructor for class javax.crypto.KeyGeneratorSpi
-
- KeyInfo - Interface in javax.xml.crypto.dsig.keyinfo
-
- KeyInfoFactory - Class in javax.xml.crypto.dsig.keyinfo
-
A factory for creating
KeyInfo
objects from scratch or for
unmarshalling a
KeyInfo
object from a corresponding XML
representation.
- KeyInfoFactory() - Constructor for class javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
Default constructor, for invocation by subclasses.
- KeyListener - Interface in java.awt.event
-
The listener interface for receiving keyboard events (keystrokes).
- keyListener - Variable in class javax.swing.plaf.basic.BasicComboBoxUI
-
This protected field is implementation specific.
- keyListener - Variable in class javax.swing.plaf.basic.BasicComboPopup
-
This protected field is implementation specific.
- keyListener - Variable in class javax.swing.plaf.basic.BasicTableUI
-
- KeyManagementException - Exception in java.security
-
This is the general key management exception for all operations
dealing with key management.
- KeyManagementException() - Constructor for exception java.security.KeyManagementException
-
Constructs a KeyManagementException with no detail message.
- KeyManagementException(String) - Constructor for exception java.security.KeyManagementException
-
Constructs a KeyManagementException with the specified detail
message.
- KeyManagementException(String, Throwable) - Constructor for exception java.security.KeyManagementException
-
Creates a KeyManagementException
with the specified
detail message and cause.
- KeyManagementException(Throwable) - Constructor for exception java.security.KeyManagementException
-
Creates a KeyManagementException
with the specified cause
and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- KeyManager - Interface in javax.net.ssl
-
This is the base interface for JSSE key managers.
- KeyManagerFactory - Class in javax.net.ssl
-
This class acts as a factory for key managers based on a
source of key material.
- KeyManagerFactory(KeyManagerFactorySpi, Provider, String) - Constructor for class javax.net.ssl.KeyManagerFactory
-
Creates a KeyManagerFactory object.
- KeyManagerFactorySpi - Class in javax.net.ssl
-
This class defines the Service Provider Interface (SPI)
for the KeyManagerFactory
class.
- KeyManagerFactorySpi() - Constructor for class javax.net.ssl.KeyManagerFactorySpi
-
- Keymap - Interface in javax.swing.text
-
A collection of bindings of KeyStrokes to actions.
- KeyName - Interface in javax.xml.crypto.dsig.keyinfo
-
- KeyPair - Class in java.security
-
This class is a simple holder for a key pair (a public key and a
private key).
- KeyPair(PublicKey, PrivateKey) - Constructor for class java.security.KeyPair
-
Constructs a key pair from the given public key and private key.
- KeyPairGenerator - Class in java.security
-
The KeyPairGenerator class is used to generate pairs of
public and private keys.
- KeyPairGenerator(String) - Constructor for class java.security.KeyPairGenerator
-
Creates a KeyPairGenerator object for the specified algorithm.
- KeyPairGeneratorSpi - Class in java.security
-
This class defines the Service Provider Interface (SPI)
for the KeyPairGenerator
class, which is used to generate
pairs of public and private keys.
- KeyPairGeneratorSpi() - Constructor for class java.security.KeyPairGeneratorSpi
-
- keyPress(int) - Method in class java.awt.Robot
-
Presses a given key.
- keyPressed(KeyEvent) - Method in class java.awt.AWTEventMulticaster
-
Handles the keyPressed event by invoking the
keyPressed methods on listener-a and listener-b.
- keyPressed(KeyEvent) - Method in class java.awt.event.KeyAdapter
-
Invoked when a key has been pressed.
- keyPressed(KeyEvent) - Method in interface java.awt.event.KeyListener
-
Invoked when a key has been pressed.
- keyPressed(KeyEvent) - Method in class javax.swing.plaf.basic.BasicComboBoxUI.KeyHandler
-
- keyPressed(KeyEvent) - Method in class javax.swing.plaf.basic.BasicTableUI.KeyHandler
-
- keyPressed(KeyEvent) - Method in class javax.swing.plaf.basic.BasicTreeUI.KeyHandler
-
- keyRelease(int) - Method in class java.awt.Robot
-
Releases a given key.
- keyReleased(KeyEvent) - Method in class java.awt.AWTEventMulticaster
-
Handles the keyReleased event by invoking the
keyReleased methods on listener-a and listener-b.
- keyReleased(KeyEvent) - Method in class java.awt.event.KeyAdapter
-
Invoked when a key has been released.
- keyReleased(KeyEvent) - Method in interface java.awt.event.KeyListener
-
Invoked when a key has been released.
- keyReleased(KeyEvent) - Method in class javax.swing.plaf.basic.BasicComboPopup.InvocationKeyHandler
-
- keyReleased(KeyEvent) - Method in class javax.swing.plaf.basic.BasicTableUI.KeyHandler
-
- keyReleased(KeyEvent) - Method in class javax.swing.plaf.basic.BasicTreeUI.KeyHandler
-
- KeyRep - Class in java.security
-
Standardized representation for serialized Key objects.
- KeyRep(KeyRep.Type, String, String, byte[]) - Constructor for class java.security.KeyRep
-
Construct the alternate Key class.
- KeyRep.Type - Enum in java.security
-
Key type.
- keys() - Method in class java.nio.channels.Selector
-
Returns this selector's key set.
- keys() - Method in class java.security.Provider
-
- keys() - Method in class java.util.concurrent.ConcurrentHashMap
-
Returns an enumeration of the keys in this table.
- keys() - Method in class java.util.Dictionary
-
Returns an enumeration of the keys in this dictionary.
- keys() - Method in class java.util.Hashtable
-
Returns an enumeration of the keys in this hashtable.
- keys() - Method in class java.util.prefs.AbstractPreferences
-
- keys() - Method in class java.util.prefs.Preferences
-
Returns all of the keys that have an associated value in this
preference node.
- keys() - Method in class javax.swing.ActionMap
-
Returns the Action
names that are bound in this ActionMap
.
- keys() - Method in class javax.swing.InputMap
-
Returns the KeyStroke
s that are bound in this InputMap
.
- keySelectionManager - Variable in class javax.swing.JComboBox
-
This protected field is implementation specific.
- KeySelector - Class in javax.xml.crypto
-
A selector that finds and returns a key using the data contained in a
KeyInfo
object.
- KeySelector() - Constructor for class javax.xml.crypto.KeySelector
-
Default no-args constructor; intended for invocation by subclasses only.
- KeySelector.Purpose - Class in javax.xml.crypto
-
The purpose of the key that is to be selected.
- KeySelectorException - Exception in javax.xml.crypto
-
Indicates an exceptional condition thrown by a
KeySelector
.
- KeySelectorException() - Constructor for exception javax.xml.crypto.KeySelectorException
-
Constructs a new KeySelectorException
with
null
as its detail message.
- KeySelectorException(String) - Constructor for exception javax.xml.crypto.KeySelectorException
-
Constructs a new KeySelectorException
with the specified
detail message.
- KeySelectorException(String, Throwable) - Constructor for exception javax.xml.crypto.KeySelectorException
-
Constructs a new KeySelectorException
with the
specified detail message and cause.
- KeySelectorException(Throwable) - Constructor for exception javax.xml.crypto.KeySelectorException
-
Constructs a new KeySelectorException
with the specified
cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause
).
- KeySelectorResult - Interface in javax.xml.crypto
-
- keySet() - Method in class java.awt.RenderingHints
-
Returns a Set
view of the Keys contained in this
RenderingHints
.
- keySet() - Method in class java.security.Provider
-
Returns an unmodifiable Set view of the property keys contained in
this provider.
- keySet() - Method in class java.util.AbstractMap
-
Returns a
Set
view of the keys contained in this map.
- keySet() - Method in class java.util.concurrent.ConcurrentHashMap
-
Returns a
Set
view of the keys contained in this map.
- keySet() - Method in interface java.util.concurrent.ConcurrentNavigableMap
-
Returns a
NavigableSet
view of the keys contained in this map.
- keySet() - Method in class java.util.concurrent.ConcurrentSkipListMap
-
Returns a
NavigableSet
view of the keys contained in this map.
- keySet() - Method in class java.util.EnumMap
-
Returns a
Set
view of the keys contained in this map.
- keySet() - Method in class java.util.HashMap
-
Returns a
Set
view of the keys contained in this map.
- keySet() - Method in class java.util.Hashtable
-
Returns a
Set
view of the keys contained in this map.
- keySet() - Method in class java.util.IdentityHashMap
-
Returns an identity-based set view of the keys contained in this map.
- keySet() - Method in class java.util.jar.Attributes
-
Returns a Set view of the attribute names (keys) contained in this Map.
- keySet() - Method in interface java.util.Map
-
Returns a
Set
view of the keys contained in this map.
- keySet() - Method in class java.util.ResourceBundle
-
Returns a Set
of all keys contained in this
ResourceBundle
and its parent bundles.
- keySet() - Method in interface java.util.SortedMap
-
Returns a
Set
view of the keys contained in this map.
- keySet() - Method in class java.util.TreeMap
-
Returns a
Set
view of the keys contained in this map.
- keySet() - Method in class java.util.WeakHashMap
-
Returns a
Set
view of the keys contained in this map.
- keySet() - Method in class javax.management.openmbean.CompositeType
-
Returns an unmodifiable Set view of all the item names defined by this CompositeType
instance.
- keySet() - Method in interface javax.management.openmbean.TabularData
-
Returns a set view of the keys (ie the index values) of the
CompositeData
values (ie the rows) contained in this
TabularData
instance.
- keySet() - Method in class javax.management.openmbean.TabularDataSupport
-
Returns a set view of the keys contained in the underlying map of this
TabularDataSupport
instance used to index the rows.
- keySet() - Method in class javax.script.SimpleBindings
-
Returns a
Set
view of the keys contained in this map.
- KeySpec - Interface in java.security.spec
-
A (transparent) specification of the key material
that constitutes a cryptographic key.
- keysSpi() - Method in class java.util.prefs.AbstractPreferences
-
Returns all of the keys that have an associated value in this
preference node.
- KeyStore - Class in java.security
-
This class represents a storage facility for cryptographic
keys and certificates.
- KeyStore(KeyStoreSpi, Provider, String) - Constructor for class java.security.KeyStore
-
Creates a KeyStore object of the given type, and encapsulates the given
provider implementation (SPI object) in it.
- KeyStore.Builder - Class in java.security
-
A description of a to-be-instantiated KeyStore object.
- KeyStore.Builder() - Constructor for class java.security.KeyStore.Builder
-
Construct a new Builder.
- KeyStore.CallbackHandlerProtection - Class in java.security
-
A ProtectionParameter encapsulating a CallbackHandler.
- KeyStore.CallbackHandlerProtection(CallbackHandler) - Constructor for class java.security.KeyStore.CallbackHandlerProtection
-
Constructs a new CallbackHandlerProtection from a
CallbackHandler.
- KeyStore.Entry - Interface in java.security
-
A marker interface for KeyStore
entry types.
- KeyStore.LoadStoreParameter - Interface in java.security
-
A marker interface for
KeyStore
load
and
store
parameters.
- KeyStore.PasswordProtection - Class in java.security
-
A password-based implementation of ProtectionParameter
.
- KeyStore.PasswordProtection(char[]) - Constructor for class java.security.KeyStore.PasswordProtection
-
Creates a password parameter.
- KeyStore.PrivateKeyEntry - Class in java.security
-
A KeyStore
entry that holds a PrivateKey
and corresponding certificate chain.
- KeyStore.PrivateKeyEntry(PrivateKey, Certificate[]) - Constructor for class java.security.KeyStore.PrivateKeyEntry
-
Constructs a PrivateKeyEntry
with a
PrivateKey
and corresponding certificate chain.
- KeyStore.ProtectionParameter - Interface in java.security
-
A marker interface for keystore protection parameters.
- KeyStore.SecretKeyEntry - Class in java.security
-
A KeyStore
entry that holds a SecretKey
.
- KeyStore.SecretKeyEntry(SecretKey) - Constructor for class java.security.KeyStore.SecretKeyEntry
-
Constructs a SecretKeyEntry
with a
SecretKey
.
- KeyStore.TrustedCertificateEntry - Class in java.security
-
A KeyStore
entry that holds a trusted
Certificate
.
- KeyStore.TrustedCertificateEntry(Certificate) - Constructor for class java.security.KeyStore.TrustedCertificateEntry
-
Constructs a TrustedCertificateEntry
with a
trusted Certificate
.
- KeyStoreBuilderParameters - Class in javax.net.ssl
-
A parameters object for X509KeyManagers that encapsulates a List
of KeyStore.Builders.
- KeyStoreBuilderParameters(KeyStore.Builder) - Constructor for class javax.net.ssl.KeyStoreBuilderParameters
-
- KeyStoreBuilderParameters(List<KeyStore.Builder>) - Constructor for class javax.net.ssl.KeyStoreBuilderParameters
-
- KeyStoreException - Exception in java.security
-
This is the generic KeyStore exception.
- KeyStoreException() - Constructor for exception java.security.KeyStoreException
-
Constructs a KeyStoreException with no detail message.
- KeyStoreException(String) - Constructor for exception java.security.KeyStoreException
-
Constructs a KeyStoreException with the specified detail
message.
- KeyStoreException(String, Throwable) - Constructor for exception java.security.KeyStoreException
-
Creates a KeyStoreException
with the specified
detail message and cause.
- KeyStoreException(Throwable) - Constructor for exception java.security.KeyStoreException
-
Creates a KeyStoreException
with the specified cause
and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- KeyStoreSpi - Class in java.security
-
This class defines the Service Provider Interface (SPI)
for the KeyStore
class.
- KeyStoreSpi() - Constructor for class java.security.KeyStoreSpi
-
- KeyStroke - Class in javax.swing
-
A KeyStroke represents a key action on the keyboard, or equivalent input
device.
- KeyTab - Class in javax.security.auth.kerberos
-
This class encapsulates a keytab file.
- keyTyped(KeyEvent) - Method in class java.awt.AWTEventMulticaster
-
Handles the keyTyped event by invoking the
keyTyped methods on listener-a and listener-b.
- keyTyped(KeyEvent) - Method in class java.awt.event.KeyAdapter
-
Invoked when a key has been typed.
- keyTyped(KeyEvent) - Method in interface java.awt.event.KeyListener
-
Invoked when a key has been typed.
- keyTyped(KeyEvent) - Method in class javax.swing.plaf.basic.BasicTableUI.KeyHandler
-
- keyTyped(KeyEvent) - Method in class javax.swing.plaf.basic.BasicTreeUI.KeyHandler
-
Invoked when a key has been typed.
- keyUp(Event, int) - Method in class java.awt.Component
-
Deprecated.
As of JDK version 1.1,
replaced by processKeyEvent(KeyEvent).
- KeyValue - Interface in javax.xml.crypto.dsig.keyinfo
-
- KHAROSHTHI - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Kharoshthi" Unicode character block.
- KHMER - Static variable in class java.awt.font.NumericShaper
-
Identifies the KHMER range and decimal base.
- KHMER - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Khmer" Unicode character block.
- KHMER_SYMBOLS - Static variable in class java.lang.Character.UnicodeBlock
-
Constant for the "Khmer Symbols" Unicode character block.
- kind() - Method in interface java.nio.file.WatchEvent
-
Returns the event kind.
- kind - Variable in class javax.tools.SimpleJavaFileObject
-
The kind of this file object.
- kind() - Method in class org.omg.CORBA.TypeCode
-
Retrieves the kind of this TypeCode
object.
- kind - Variable in class org.omg.CosNaming.NameComponent
-
- KOREA - Static variable in class java.util.Locale
-
Useful constant for country.
- KOREAN - Static variable in class java.util.Locale
-
Useful constant for language.
- KRB_NT_PRINCIPAL - Static variable in class javax.security.auth.kerberos.KerberosPrincipal
-
user principal name type.
- KRB_NT_SRV_HST - Static variable in class javax.security.auth.kerberos.KerberosPrincipal
-
service with host name as instance (telnet, rcommands) name type.
- KRB_NT_SRV_INST - Static variable in class javax.security.auth.kerberos.KerberosPrincipal
-
service and other unique instance (krbtgt) name type.
- KRB_NT_SRV_XHST - Static variable in class javax.security.auth.kerberos.KerberosPrincipal
-
service with host as remaining components name type.
- KRB_NT_UID - Static variable in class javax.security.auth.kerberos.KerberosPrincipal
-
unique ID name type.
- KRB_NT_UNKNOWN - Static variable in class javax.security.auth.kerberos.KerberosPrincipal
-
unknown name type.


Joker Tops The Dark Knight at the Box Office
by Evangelia GalanisComic book movies dominated the box office this season, with four superhero related films crossing the $1 billion dollar mark. Recently, Warner Bros.' Joker added its name to the billion dollar club listing, making it the fourth DC/Warner Bros. movie to ever cross that threshold.
According to Forbes, as of now, Joker's domestic cume is $318.44 million. As such, the domestic gross for the film is now higher than The Fellowship of the Ring ($313 million), Thor: Ragnarok ($315 million), Harry Potter and the Sorcerer's Stone ($317 million) and Iron Man ($318 million). Its overall haul is now just over $1.004 billion -- the total gross of The Dark Knight.
Click the button below to start this article in quick view.
Joker's success impressively comes without the help of the Chinese market, making it the only R-rated film to gross $1 billion dollars without being released in China. The subject matter of the film made it unlikely to release in China's strict movie environment.
Other DC/Warner Bros. films to cross the billion dollar threshold are The Dark Knight (2008), The Dark Knight Rises (2012) and Aquaman (2018). Joker has currently topped The Dark Knight's record, but the real challenge will be whether or not it can surpass The Dark Knight Rises' $1.081 billion cume.
Directed by Todd Phillips, Joker stars Joaquin Phoenix, Robert De Niro, Zazie Beetz, Bill Camp, Frances Conroy, Brett Cullen, Glenn Fleshler, Douglas Hodge, Marc Maron, Josh Pais and Shea Whigham. Joker is now in theaters.
https://schema.orgBreadcrumbListListItem1Homehttps://www.cbr.com/ListItem2Movieshttps://www.cbr.com/category/movies/ListItem3Movie Newshttps://www.cbr.com/category/movies/news-movies/ListItem4Joker Tops The Dark Knight at the Box Officehttps://www.cbr.com/joker-beats-the-dark-knight-box-office/


--- layout: default title: Typography permalink: /typography/ ---
The examples below demonstrate Odin's default styling of various HTML elements. It is not recommended that you change styling in the odin.css
file itself. Rather, it is recommended you do so in a stylesheet that loads after odin.css
. This way, you can upgrade to future releases of Odin without worrying about losing custom styling.
Oden uses a base font size of 18px
and a sans-serif
font stack. The default text color is almost black (#111
). This applies to paragraphs, list items, table data, and pretty much everything else other than headings.
All 6 heading levels are available. Here is an example of the default styling for each.
Heading 1 |
Very dark gray, semibold, 4.0rem (72px) |
Heading 2 |
Very dark gray, semibold, 2.666rem (48px) |
Heading 3 |
Very dark gray, semibold, 2.0rem (36px) |
Heading 4 |
Very dark gray, semibold, 1.5rem (28px) |
Heading 5 |
Very dark gray, semibold, 1.333rem (24px) |
Heading 6 |
Very dark gray, semibold, 1.0rem (20px) |

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5

Heading 6

Blockquotes are indented and given a very light gray border on the left side. The font size is also slightly larger than the base font size.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum...

Citations can be added to blockquotes by wrapping citations in the
tag after the quotation.
Don't believe everything you read on the Internet.
Abraham Lincoln

Don't believe everything you read on the Internet.

Abraham Lincoln

The only styling applied to lists are minor adjustments to margins and padding to keep consistent spacing with other Odin elements.

List item

List item

List item

List item

List item

List item

Four classes are provided for quick alignment of text: text-left
, text-right
, text-center
, and text-justify
.
This text is left-aligned.
This text is centered.
This text is right-aligned.
This text is justified. It's going to take a few sentences to really illustrate what's going on with justified text. Now I'm just rambling.

This text is left-aligned.

This text is right-aligned.

This text is centered.

This text is justified.

Make text stand out by marking it as important, or deemphasize text by making it light. Generally, you'll want to wrap important and light text in span
tags.
Make text stand out by marking it as important,
or deemphasize text by making it light.
You may also want to draw attention to text by highlighting it with the
element.
You may also want to draw attention to text by highlighting it.


?Ludwigia
octovalvis
(Jacq.)
Raven
THE
NEW
YORK
BOTANICAL
GARDEN
Plants
collected
in
the
Republic
of
Hayti
by
George
v.
Nash,
NEWYORKBOTANICAL
GARDEN
PILATE,
AUG.
Philip
A.
Munz
01447398
Legend -
Level of confidence that token is an accurately-transcribed word
extremely low
very low
low
undetermined
medium
high
very high